-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create a new
papers
page (#971)
* feat: create a new `papers` page * fix: remove old papers route * feat: add /papers as the resolution to the Technical Papers header nav * chore: upload pdf files --------- Co-authored-by: Charles Garrett <charleslavong@gmail.com>
- Loading branch information
1 parent
10ba1ea
commit 3109a00
Showing
7 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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,28 @@ | ||
import { ComponentWrapperPage } from '@/components/near-org/ComponentWrapperPage'; | ||
import { useBosComponents } from '@/hooks/useBosComponents'; | ||
import { useDefaultLayout } from '@/hooks/useLayout'; | ||
import type { NextPageWithLayout } from '@/utils/types'; | ||
|
||
const PapersPage: NextPageWithLayout = () => { | ||
const components = useBosComponents(); | ||
return ( | ||
<ComponentWrapperPage | ||
src={components.nearOrg.papersPage} | ||
meta={{ | ||
title: 'NEAR | Papers', | ||
description: 'Join us as we dive deep into our technology.', | ||
}} | ||
componentProps={{ | ||
docs: { | ||
doomslug: '/files/doomslug.pdf', | ||
nightshade: '/files/nightshade.pdf', | ||
whitePaperNearProtocol: '/files/white-paper-near-protocol.pdf', | ||
}, | ||
}} | ||
/> | ||
); | ||
}; | ||
|
||
PapersPage.getLayout = useDefaultLayout; | ||
|
||
export default PapersPage; |