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

[DO NOT MERGE] Landing page update proposal #1039

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
222 changes: 222 additions & 0 deletions site/docs/pages/introduction.mdx

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions site/docs/public/assets/cattown-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions site/docs/public/assets/frame-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions site/docs/public/assets/identity-icon.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: 9 additions & 0 deletions site/docs/public/assets/mochi-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions site/docs/public/assets/onchainkit-logomark.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 site/docs/public/assets/onchainkit-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions site/docs/public/assets/party-logo.svg
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 site/docs/public/assets/swap-icon.svg
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 site/docs/public/assets/token-icon.svg
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 site/docs/public/assets/transaction-icon.svg
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 site/docs/public/assets/wallet-icon.svg
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 site/docs/public/assets/wallet.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 4 additions & 29 deletions site/docs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@

#home-install .vocs_Code {
font-size: 14px;
background-color: #1F2937 !important;
border-color: #1F2937 !important;
}

@media (max-width: 768px) {
Expand All @@ -82,33 +84,6 @@
}
}

.css-blurry-gradient {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, 0%);
width: 500px;
height: 500px;
border-radius: 50% 22% 40% 80%;
filter: blur(70px);
background: radial-gradient(circle at 50% 50%, #818CF8, #818CF8);
opacity: 0.6;
}

@media (max-width: 468px) {
.css-blurry-gradient {
display: none;
}
.css-blurry-gradient-mobile {
display: block;
}
}

.dark .css-blurry-gradient {
background: radial-gradient(circle at 50% 50%, #6f79c5, #6f79c5);
opacity: 0.2;
}

.pane {
background: white;
}
Expand Down Expand Up @@ -142,15 +117,15 @@

.dark {
.css-main-container {
background-color: #0e121d;
background-color: #030712;
}
}

.css-alternate-container {
background-color: white;
}
.dark .css-alternate-container {
background-color: #030713;
background-color: #030712;
}

.landing-page-hero .vocs_Paragraph {
Expand Down
43 changes: 41 additions & 2 deletions site/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@ import type { Sidebar } from 'vocs';

export const sidebar = [
{
text: 'Introduction',
items: [{ text: 'Getting Started', link: '/getting-started' }],
text: 'OnchainKit',
items: [
{ text: 'Introduction',
link: '/introduction',
},
{ text: 'Getting Started',
link: '/getting-started',
},
],
},
{
text: 'Guides',
Expand All @@ -26,6 +33,23 @@ export const sidebar = [
},
],
},
{
text: 'Templates',
items: [
{
text: 'Quick start app',
link: 'https://github.com/coinbase/onchain-app-template',
},
{
text: 'Community one-page',
link: 'https://github.com/fakepixels/token-machine',
},
{
text: 'Frame',
link: 'https://github.com/Zizzamia/a-frame-in-100-lines',
},
],
},
{
text: 'Components',
items: [
Expand Down Expand Up @@ -217,4 +241,19 @@ export const sidebar = [
},
]
},
{
text: 'Design Resources',
collapsed: true,
items: [
{ text: 'Figma UI Kit',
link: 'https://www.figma.com/community/file/1370194397345450683/onchainkit',
},
],
},
{ text: 'Terms of Service',
link: 'https://www.coinbase.com/legal/cloud/terms-of-service',
},
{ text: 'MIT License',
link: 'https://github.com/coinbase/onchainkit/blob/main/LICENSE.mdc',
},
] as const satisfies Sidebar;
Loading