From 10b9d47bcfe8823e5ec0257588f8a8085c922cb1 Mon Sep 17 00:00:00 2001 From: Martin Eckardt Date: Mon, 30 Sep 2024 22:40:02 +0200 Subject: [PATCH 01/17] Add Bounties --- app/(home)/page.tsx | 23 ------- app/bounties/layout.tsx | 15 +++++ app/bounties/page.tsx | 61 +++++++++++++++++++ .../interchain-token-transfer/index.mdx | 2 + .../01-custom-blockchains.mdx | 10 +-- 5 files changed, 83 insertions(+), 28 deletions(-) create mode 100644 app/bounties/layout.tsx create mode 100644 app/bounties/page.tsx diff --git a/app/(home)/page.tsx b/app/(home)/page.tsx index a535b71c..b16ca8c4 100644 --- a/app/(home)/page.tsx +++ b/app/(home)/page.tsx @@ -1,29 +1,6 @@ -import { AcademicCapIcon, ChatBubbleLeftRightIcon, CloudArrowUpIcon, GiftIcon, LockClosedIcon, ServerIcon } from '@heroicons/react/20/solid' - import COURSES from '@/content/courses'; import Link from 'next/link'; - -const features = [ - { - name: 'Earn an Avalanche Academy Certificate.', - description: 'Showcase your Avalanche Academy accomplishments on your CV and platforms like LinkedIn, X, and more.', - icon: AcademicCapIcon, - }, - { - name: 'Join the Avalanche Community.', - description: - 'Get connected with other Avalanche builders and like-minded individuals passionate about Avalanche.', - icon: ChatBubbleLeftRightIcon, - }, - { - name: 'Get Rewards.', - description: 'Top performing students can earn benefits, such as exclusive Avalanche Merchandise, complimentary event tickets, and additional privileges.', - icon: GiftIcon, - }, -] - - export default function HomePage(): React.ReactElement { return ( <> diff --git a/app/bounties/layout.tsx b/app/bounties/layout.tsx new file mode 100644 index 00000000..a15489ac --- /dev/null +++ b/app/bounties/layout.tsx @@ -0,0 +1,15 @@ +import { Layout } from 'fumadocs-ui/layout'; +import type { ReactNode } from 'react'; +import { Footer } from '@/components/footer'; +import { baseOptions } from '@/app/layout.config'; + +export default function HomeLayout({ + children, +}: { + children: ReactNode; +}): React.ReactElement { + return + {children} +