diff --git a/public/files/doomslug.pdf b/public/files/doomslug.pdf new file mode 100644 index 000000000..741742ffd Binary files /dev/null and b/public/files/doomslug.pdf differ diff --git a/public/files/nightshade.pdf b/public/files/nightshade.pdf new file mode 100644 index 000000000..06f00a120 Binary files /dev/null and b/public/files/nightshade.pdf differ diff --git a/public/files/white-paper-near-protocol.pdf b/public/files/white-paper-near-protocol.pdf new file mode 100644 index 000000000..39ab4666b Binary files /dev/null and b/public/files/white-paper-near-protocol.pdf differ diff --git a/src/components/navigation/navigation-categories.ts b/src/components/navigation/navigation-categories.ts index 2e735f8f8..fc40b8701 100644 --- a/src/components/navigation/navigation-categories.ts +++ b/src/components/navigation/navigation-categories.ts @@ -89,7 +89,7 @@ export const navigationCategories = [ }, { title: 'Technical Papers', - url: 'https://docs.near.org/concepts/advanced/papers', + url: '/papers', }, ], }, diff --git a/src/data/bos-components.ts b/src/data/bos-components.ts index a88505270..541ae84bc 100644 --- a/src/data/bos-components.ts +++ b/src/data/bos-components.ts @@ -36,6 +36,7 @@ type NetworkComponents = { dataAvailabilityPage: string; termsPage: string; privacyPage: string; + papersPage: string; }; relayerDemo: string; notificationButton: string; @@ -100,6 +101,7 @@ export const componentsByNetworkId = ((): Record = { about: 'https://pages.near.org/about', blog: 'https://pages.near.org/blog', - papers: 'https://pages.near.org/papers', }; // routes which are extendable but may have some paths diff --git a/src/pages/papers/index.tsx b/src/pages/papers/index.tsx new file mode 100644 index 000000000..96e463a5d --- /dev/null +++ b/src/pages/papers/index.tsx @@ -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 ( + + ); +}; + +PapersPage.getLayout = useDefaultLayout; + +export default PapersPage;