From 2ce69b085ae67eef9ef58900bc652591a8658620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Mon, 20 May 2024 14:16:13 -0500 Subject: [PATCH] feat: new home screen --- src/app/page.tsx | 140 +++++++++++++++----------------- src/components/Footer/index.tsx | 96 ++++++++++++---------- src/components/PageWrapper.tsx | 2 +- 3 files changed, 118 insertions(+), 120 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 980e794ed..27a76797a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,91 +1,83 @@ 'use client'; -import { CaretRightIcon } from '@radix-ui/react-icons'; -import { Button, Flex, Link as LinkRadix } from '@radix-ui/themes'; -import Link from 'next/link'; +import { MagnifyingGlassIcon } from '@radix-ui/react-icons'; +import { Flex, Heading, Text, TextField } from '@radix-ui/themes'; +import { NAVBAR_HEIGHT } from '../components/Navbar'; import PageWrapper from '../components/PageWrapper'; -import { TOOLS } from '../constants/tools'; -import { PatreonIcon } from '../icons/Patreon'; import { theme } from '../stitches.config'; -import * as styles from './page.css'; export default function Page() { return ( - + <> - - - - - - {TOOLS.map((tool) => ( - { - if (tool.disabled) event.preventDefault(); - }} - > - - {tool.title} - - - - {tool.disabled ? 'Coming soon!' : tool.description} - - - ))} + + + + - + + + hello there! ignore my existence pretty please :) + + +
+ ); } diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx index fc51ddae6..0851aa1ec 100644 --- a/src/components/Footer/index.tsx +++ b/src/components/Footer/index.tsx @@ -1,4 +1,4 @@ -import { Card, Code, Flex, Link, Spinner, Text, Theme } from '@radix-ui/themes'; +import { Code, Flex, Link, Spinner, Text, Theme } from '@radix-ui/themes'; import { Suspense } from 'react'; import packageJSON from '../../../package.json'; import { useWideFormat } from '../../hooks/useWideFormat'; @@ -9,62 +9,68 @@ export function Footer() { return ( - - + + + + + BlitzKit + + + + {packageJSON.version} + + + + for WoTB + + + }> + + + + - - - BlitzKit - + + Made by TrèsAbhi + - - {packageJSON.version} - + • - - for WoTB - - - }> - - - - - - - Made by TrèsAbhi - - - • - - - Full credits - - + Full credits + - + ); } diff --git a/src/components/PageWrapper.tsx b/src/components/PageWrapper.tsx index db3489ed5..9c391cf38 100644 --- a/src/components/PageWrapper.tsx +++ b/src/components/PageWrapper.tsx @@ -26,7 +26,6 @@ export default function PageWrapper({ }: PageWrapperProps) { return (