-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
178 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ esm | |
lib | ||
tmp | ||
/out-tsc | ||
site/vocs.config.tsx.timestamp* | ||
|
||
# dependencies | ||
node_modules | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,21 @@ | ||
# Get started | ||
# Getting Started | ||
|
||
Hello world! | ||
Add OnchainKit to your project, install the required packages. | ||
|
||
## Installation | ||
|
||
```sh | ||
# Use Yarn | ||
yarn add @coinbase/onchainkit | ||
|
||
# Use NPM | ||
npm install @coinbase/onchainkit | ||
|
||
# Use PNPM | ||
pnpm add @coinbase/onchainkit | ||
``` | ||
|
||
OnchainKit is divided into various theme utilities and components that are available for your use: | ||
|
||
- [Frame Kit](/framekit/introduction) 🖼️ | ||
- [Identity Kit](/identitykit/introduction) 👨🚀 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
--- | ||
title: OnchainKit · A collection of tools to build world-class onchain apps with CSS, React, and typescript. | ||
content: | ||
width: 100% | ||
layout: landing | ||
logo: false | ||
--- | ||
|
||
import { HomePage } from 'vocs/components' | ||
<div className="absolute max-w-[1120px] mx-auto w-full top-20 bottom-0 bg-[url('/colosseum-light.svg')] dark:bg-[url('/colosseum.svg')] bg-no-repeat max-sm:w-[200%] max-sm:-left-[200px] max-sm:hidden" /> | ||
|
||
<HomePage.Root> | ||
<HomePage.Logo /> | ||
<HomePage.Tagline>My Awesome Docs</HomePage.Tagline> | ||
<HomePage.InstallPackage name="vocs" type="init" /> | ||
<HomePage.Description>This is a description of my documentation website.</HomePage.Description> | ||
<HomePage.Buttons> | ||
<HomePage.Button href="/getting-started" variant="accent">Get started</HomePage.Button> | ||
<HomePage.Button href="https://github.com/wevm/vocs">GitHub</HomePage.Button> | ||
</HomePage.Buttons> | ||
</HomePage.Root> | ||
<div className="max-w-[1120px] mx-auto vp-doc relative px-[24px] mb-[96px] mt-[32px] md:px-0 md:mb-[64px]"> | ||
<div className="pt-[48px] max-sm:pt-0"> | ||
</div> | ||
</div> |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@layer vocs_preflight { @tailwind base; } | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
#home-install .vocs_CodeGroup { | ||
display: flex; | ||
height: 100%; | ||
flex-direction: column; | ||
} | ||
|
||
#home-install .vocs_Tabs_content { | ||
flex: 1; | ||
} | ||
|
||
#home-install .vocs_Code { | ||
font-size: 18px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
import type { Sidebar } from 'vocs'; | ||
|
||
export const sidebar = { | ||
'/docs/': [ | ||
{ | ||
text: 'Introduction', | ||
items: [ | ||
{ text: 'Why Onchainkit', link: '/docs/introduction' }, | ||
{ text: 'Getting Started', link: '/docs/getting-started' }, | ||
], | ||
}, | ||
{ | ||
text: 'Frame Kit', | ||
items: [ | ||
{ text: 'Introduction', link: '/docs/framekit/intro' }, | ||
{ | ||
text: 'Components', | ||
items: [ | ||
{ | ||
text: 'FrameMetadata', | ||
link: '/docs/framekit/components/framemetadata', | ||
} | ||
], | ||
}, | ||
], | ||
} | ||
] | ||
} as const satisfies Sidebar; | ||
export const sidebar = [ | ||
{ | ||
text: 'Introduction', | ||
items: [ | ||
{ text: 'Getting Started', link: '/getting-started' }, | ||
], | ||
}, | ||
{ | ||
text: 'Farcaster Kit', | ||
items: [ | ||
{ text: 'Introduction', link: '/farcasterkit/introduction' }, | ||
], | ||
}, | ||
{ | ||
text: 'Frame Kit', | ||
items: [ | ||
{ text: 'Introduction', link: '/framekit/introduction' }, | ||
], | ||
}, | ||
{ | ||
text: 'Identity Kit', | ||
items: [ | ||
{ text: 'Introduction', link: '/identitykit/introduction' }, | ||
], | ||
}, | ||
] as const satisfies Sidebar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: ['./docs/**/*.{js,ts,jsx,tsx,md,mdx}'], | ||
darkMode: 'class', | ||
important: true, | ||
theme: { | ||
extend: { | ||
screens: { | ||
md: '848px', | ||
}, | ||
}, | ||
}, | ||
plugins: [], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"rewrites": [ | ||
{ | ||
"source": "/:match*.html", | ||
"destination": "/:match" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.