Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/migrate new landing #431

Merged
merged 23 commits into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
52339df
migrate index.html to app.vue and index.scss into index.css
DemogorGod Sep 29, 2023
614b53c
Migrate and convert all scss styles to index.css
DemogorGod Sep 29, 2023
a1214c8
Add new styling and new landing page, import into vue router
DemogorGod Sep 29, 2023
f9a56eb
Add blog page to pages and router
DemogorGod Sep 29, 2023
040addb
Get changelog to work and update the page
DemogorGod Oct 2, 2023
08de9e9
Add blogs folder
DemogorGod Oct 2, 2023
b8f358d
last changed at Oct 2, 2023 3:34 PM, pushed by Nathan Miller
Oct 2, 2023
f8158ab
Add blog.md to /blog router path as child under /blog/announcements
DemogorGod Oct 2, 2023
1c71f85
Fix typo 'announcements'
ccali11 Oct 2, 2023
48a1e1c
Style the markdown page as much as possible
DemogorGod Oct 2, 2023
f17c95a
last changed at Oct 2, 2023 3:34 PM, pushed by Nathan Miller
Oct 2, 2023
1c3c0b6
Create a directory and fetch all consensusnetworks blogs from team ha…
DemogorGod Oct 4, 2023
f41867e
Add error handling to express server functions
DemogorGod Oct 4, 2023
b3968a9
Add filtering to hackmd express server
DemogorGod Oct 4, 2023
a48f9bb
resolve changes requested
DemogorGod Oct 5, 2023
97ec5d3
resolve changes requested
DemogorGod Oct 5, 2023
cfab2ac
Move blog logic to a composable
DemogorGod Oct 5, 2023
4454179
Seperate blogs from blog and add it to router
DemogorGod Oct 5, 2023
17c8b54
Add spacing between bugs
DemogorGod Oct 5, 2023
5927741
Style blog page a little bit
DemogorGod Oct 5, 2023
b9ef112
Make faqs collapsable
DemogorGod Oct 10, 2023
978af9f
Move sass and snarkdown to web and landing packagejson
DemogorGod Oct 10, 2023
70c4791
Remove snarkdown from web package.json
ccali11 Oct 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion apps/landing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@

<!-- Font -->
<link rel="stylesheet" media="screen" href="https://fontlibrary.org//face/open-sauce-one" type="text/css"/>


<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@200;300;400;500&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;1,100;1,200;1,300&family=IBM+Plex+Sans:wght@200;300;400;500&display=swap"
rel="stylesheet"
/>
<!-- Icon Library -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/lucaburgio/iconoir@main/css/iconoir.css">

Expand All @@ -16,5 +26,6 @@
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<script src="https://cdn.usefathom.com/script.js" data-site="FZREKLVM" defer></script>
</body>
</html>
2 changes: 2 additions & 0 deletions apps/landing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"dependencies": {
"@heroicons/vue": "^1.0.6",
"iconoir": "^5.3.2",
"sass": "^1.69.1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! 👍

"snarkdown": "^2.0.0",
"vue": "^3.2.25",
"vue-router": "^4.0.15"
},
Expand Down
Binary file added apps/landing/public/action.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions apps/landing/public/arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/landing/public/credit-card.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
504 changes: 0 additions & 504 deletions apps/landing/public/decentralized_nodes.svg

This file was deleted.

1 change: 1 addition & 0 deletions apps/landing/public/disc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion apps/landing/public/discord.svg

This file was deleted.

3 changes: 3 additions & 0 deletions apps/landing/public/flash.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
88 changes: 0 additions & 88 deletions apps/landing/public/future_casimir.svg

This file was deleted.

374 changes: 374 additions & 0 deletions apps/landing/public/gg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/landing/public/hero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/landing/public/key.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/landing/public/lock.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/landing/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions apps/landing/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 0 additions & 9 deletions apps/landing/public/metamask.svg

This file was deleted.

10 changes: 0 additions & 10 deletions apps/landing/public/minimal_trust.svg

This file was deleted.

Binary file added apps/landing/public/stake.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/landing/public/staking.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/landing/public/twitter_x_logo.png
Binary file not shown.
Binary file added apps/landing/public/tx.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/landing/public/txx.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/landing/public/txx2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/landing/public/users.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 0 additions & 13 deletions apps/landing/public/walletIcon.svg

This file was deleted.

35 changes: 10 additions & 25 deletions apps/landing/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,34 +1,19 @@
<script lang="ts" setup>
import NavBar from '@/components/NavBar.vue'
import Footer from '@/components/Footer.vue'
// Initalize blogs here for least amount of fetch calls
import useBlogs from '@/composables/blogs.ts'

const {
activeBlog,
allBlogs,
loadingBlogs,
} = useBlogs()
</script>

<template>
<div class="w-full h-screen overflow-y-auto min-w-[360px]">
<div
class="absolute top-0 left-0 w-full"
style="z-index: 2;"
>
<NavBar
class="sticky top-0 left-0 w-full px-[60px] 800s:px-[5%] z-[999]"
/>
<RouterView
class="w-full px-[60px] 800s:px-[5%]"
/>
<Footer
class="px-[60px] 800s:px-[5%] "
/>
</div>


<div
class="absolute w-full h-[700px] bg-black top-0 left-0"
style="z-index: 0;"
/>
<div>
<router-view />
</div>
</template>


<style scoped>
</style>
<style scoped></style>
11 changes: 11 additions & 0 deletions apps/landing/src/blogs/blog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Casimir is Live on Goerli!

10/2/2023

We're proud to announce that our distributed, self custody ETH staking platform, Casimir, is live on the ETH Goerli Testnet. Casimir is powered by distributed key generation and distributed validator technology. The Casimir SelfStake manager offers an approach where stakers can directly deposit any amount of ETH to high-performing Ethereum operators. This approach minimizes counterparty risk for users and enhances the decentralization of Ethereum staking:
* Validators duties are performed by openly registered (and collateralized) operators running distributed validator technology (DVT)
* Keys are trustlessly managed using zero-coordination distributed key generation (DKG)
* Automated actions (like compounding stake or handling a slash) are carried out by a decentralized oracle network (DON)
* The staking user experience is improved by wrapping staking contract actions using account abstraction.

By creating a smart contract primitive that trustlessly connects stakers and node operators, we create a customizable staking process that allows users to access new staking features, such as restaking. Over the next few weeks we'll be introducing some of these additional features, such as restaking, to our platform.
38 changes: 0 additions & 38 deletions apps/landing/src/components/Footer.vue

This file was deleted.

Loading