From 5dbde9e678030b4968c761943ef623d1e8ef5f5c Mon Sep 17 00:00:00 2001 From: LimesKey Date: Tue, 17 Dec 2024 11:39:21 -0500 Subject: [PATCH] minor changes --- app/components/3box.tsx | 6 +++--- app/components/FAQcard.tsx | 16 +++++++--------- app/components/top.tsx | 7 +++---- app/globals.css | 12 +----------- app/layout.tsx | 10 ---------- app/page.tsx | 22 ++++++++++++++++------ 6 files changed, 30 insertions(+), 43 deletions(-) diff --git a/app/components/3box.tsx b/app/components/3box.tsx index 575faed..10d67c4 100644 --- a/app/components/3box.tsx +++ b/app/components/3box.tsx @@ -44,7 +44,7 @@ const Threebox = () => { } }>Design a PCB { } }>Design Art @@ -95,7 +95,7 @@ const Threebox = () => { } }>Create Firmware = ({ question, answer }) => { return ( -
-

{question}

-

{answer}

+
+

+ {question} +

+

+ {answer} +

); }; -const styles = { - card: "rounded-[20px] p-[16px] my-[16px] bg-[rgba(201,227,255,0.73)] shadow-[0_2px_4px_rgba(0,0,0,0.1)] w-[90vw] sm:w-auto md:w-auto lg:w-[26vw] sm:h-[auto] lg:h-[26vh] border-[5px] border-[rgba(39,114,193,0.42)] overflow-hidden", - question: "text-[1.2rem] md:text-[calc(1.2vw+1.2vh)] font-[790] text-white pl-[2%] [text-shadow:_0_4px_4px_rgb(0_0_0_/_25%)] text-left", - answer: "text-[1rem] md:text-[calc(0.6vw+0.6vh)] text-[#003180] mt-[15px] font-[700] pl-[2%] text-left" -}; - export default FAQcard; \ No newline at end of file diff --git a/app/components/top.tsx b/app/components/top.tsx index 88859d5..a760baf 100644 --- a/app/components/top.tsx +++ b/app/components/top.tsx @@ -23,15 +23,14 @@ const ModelViewer = dynamic(() => import('../ModelViewer'), { ssr: false }); }} /> */}
-

+

Hacky Holidays!

-

+

Design a PCB holiday decoration this winter, get one shipped!

- diff --git a/app/globals.css b/app/globals.css index 74a8be3..62c5d78 100644 --- a/app/globals.css +++ b/app/globals.css @@ -6,14 +6,4 @@ font-family: 'Inter'; src: url('./fonts/Inter-VariableFont_opsz,wght.ttf') format('ttf'); font-optical-sizing: auto; - - -} -/* body { - color: #FFFFFF; - background: linear-gradient(180deg, rgba(0,153,255,1) 0%, rgba(130,205,255,1) 100%); - font-family: Arial, Helvetica, sans-serif; - height: 100%; - margin: 0; - min-width: none; -} */ +} \ No newline at end of file diff --git a/app/layout.tsx b/app/layout.tsx index 051875d..872bccd 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -2,16 +2,6 @@ import type { Metadata } from "next"; import localFont from "next/font/local"; import "./globals.css"; -import { - Box, - Button, - Container, - Image, - Grid, - Heading, - Text, -} from 'theme-ui'; -import Footer from './components/footer'; const geistSans = localFont({ src: "./fonts/GeistVF.woff", diff --git a/app/page.tsx b/app/page.tsx index 9e4afa0..99180dc 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -17,7 +17,6 @@ export default function Home() { } }, []); - return (
{/* Snowfall effect */} @@ -26,7 +25,7 @@ export default function Home() { radius={[2.0, 4.0]} snowflakeCount={100} wind={[-0.1, 0.1]} - style={{ position: "fixed", top: 0, left: 0, width: "100%", height: "100%", zIndex: 1}} + style={{ position: "fixed", top: 0, left: 0, width: "100%", height: "100%", zIndex: 1 }} /> {/* Main Content */} @@ -48,14 +47,13 @@ export default function Home() { {/* Main Section */} -
+

- Want a cool christmas decoration? A cool gift for someone you know? Design a unique PCB decoration from scratch and submit it via PR to OnBoard before the 30th! Once your PR gets approved, you will get your PCB decoration just in time for the holidays!🎄 + Want a cool Christmas decoration? A cool gift for someone you know? Design a unique PCB decoration from scratch and submit it via PR to OnBoard before the 30th! Whether it's for Christmas, Hanukkah, New Year's, or any other holiday, once your PR gets approved, you will get your PCB decoration just in time for the celebrations!

- At the end, submissions will be peer-reviewed and voted for the top 3. The top 3 will - be re-made and can be given out as gifts! + At the end, submissions will be peer-reviewed and voted for the top 3. The top 3 designs will be re-made and can be given out as gifts! Winners will also receive special recognition and a feature on our website. Don't miss this chance to showcase your creativity and spread holiday cheer with your unique PCB decorations!

{/* FAQ Section */} @@ -72,6 +70,18 @@ export default function Home() { question="What about the OnBoard Grant?" answer="You can still apply for the OnBoard grant, but you cannot receive two grants for the same PCB design." /> + + +