-
Notifications
You must be signed in to change notification settings - Fork 5
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
1 parent
53659bd
commit 7972e2c
Showing
15 changed files
with
104 additions
and
31 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,12 @@ | ||
import nookFaviconUrl from '../assets/images/nook.svg'; | ||
|
||
export const Head = () => { | ||
return ( | ||
<> | ||
<meta charSet="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<link rel="icon" href={nookFaviconUrl} /> | ||
<title>Documentation — Fondue</title> | ||
</> | ||
); | ||
}; |
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
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,34 @@ | ||
/* (c) Copyright Frontify Ltd., all rights reserved. */ | ||
|
||
import { type ReactNode } from 'react'; | ||
|
||
import { allComponents } from '#contentlayer/generated'; | ||
|
||
import { Layout as RootLayout } from '../+Layout'; | ||
|
||
export const Layout = ({ children }: { children: ReactNode }) => { | ||
return ( | ||
<RootLayout> | ||
<div className="tw-h-full tw-flex tw-w-full"> | ||
<nav className="tw-p-8 lg:tw-flex tw-hidden tw-flex-col tw-w-72 tw-shrink-0"> | ||
<span className="tw-text-lg tw-font-bold">Components</span> | ||
<ul className="tw-mt-4"> | ||
{allComponents.map((component) => ( | ||
<li key={component._id}> | ||
<a href={`/components/${component.route}`}>{component.title}</a> | ||
</li> | ||
))} | ||
</ul> | ||
</nav> | ||
|
||
<div className="tw-p-8 tw-w-full tw-flex tw-justify-center"> | ||
<div className="tw-max-w-[856px] tw-w-full">{children}</div> | ||
</div> | ||
|
||
<aside className="tw-p-8 2xl:tw-flex tw-hidden tw-flex-col tw-w-72 tw-shrink-0"> | ||
<span className="tw-text-lg tw-font-bold">Table of content</span> | ||
</aside> | ||
</div> | ||
</RootLayout> | ||
); | ||
}; |
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
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
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,9 @@ | ||
/* (c) Copyright Frontify Ltd., all rights reserved. */ | ||
|
||
export const Page = () => { | ||
return ( | ||
<div className="tw-p-8"> | ||
<h1 className="tw-text-3xl tw-font-bold">Getting Started</h1> | ||
</div> | ||
); | ||
}; |
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,9 @@ | ||
/* (c) Copyright Frontify Ltd., all rights reserved. */ | ||
|
||
export const Page = () => { | ||
return ( | ||
<div className="tw-p-8"> | ||
<h1 className="tw-text-3xl tw-font-bold">Icons</h1> | ||
</div> | ||
); | ||
}; |
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,5 +1,9 @@ | ||
/* (c) Copyright Frontify Ltd., all rights reserved. */ | ||
|
||
export const Page = () => { | ||
return <h1 className="tw-font-bold">Welcome to Fondue</h1>; | ||
return ( | ||
<div className="tw-p-8"> | ||
<h1 className="tw-text-3xl tw-font-bold">Welcome to Fondue</h1> | ||
</div> | ||
); | ||
}; |
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,9 @@ | ||
/* (c) Copyright Frontify Ltd., all rights reserved. */ | ||
|
||
export const Page = () => { | ||
return ( | ||
<div className="tw-p-8"> | ||
<h1 className="tw-text-3xl tw-font-bold">Tokens</h1> | ||
</div> | ||
); | ||
}; |