From a1e0c7ca9fffd86f5bd7c3e7d8a60c0842f787e6 Mon Sep 17 00:00:00 2001 From: BrightTheBackpack <100brightli@gmail.com> Date: Mon, 16 Dec 2024 18:51:22 -0800 Subject: [PATCH] Switch to tailwind Co-authored-by: BRUHisbackbois Co-authored-by: Ryan --- app/components/FAQcard.tsx | 12 +- app/components/footer.tsx | 29 +--- app/components/top.tsx | 92 +++---------- app/globals.css | 6 +- app/layout.tsx | 2 +- app/page.tsx | 262 +++++++++++-------------------------- package-lock.json | 255 ++++++++++++++++++++++++++++++------ package.json | 6 +- postcss.config.mjs | 1 + tailwind.config.js | 22 ++++ yarn.lock | 166 +++++++++++++++-------- 11 files changed, 459 insertions(+), 394 deletions(-) create mode 100644 tailwind.config.js diff --git a/app/components/FAQcard.tsx b/app/components/FAQcard.tsx index 02a4ec7..dec1742 100644 --- a/app/components/FAQcard.tsx +++ b/app/components/FAQcard.tsx @@ -10,10 +10,10 @@ interface CardProps { // Create the component const FAQcard: React.FC = ({ question, answer }) => { return ( - -

{question}

+
+

{question}

{answer}

- +
); }; @@ -31,11 +31,7 @@ const styles = { overflow: 'hidden', }, question: { - fontSize: 'calc(1.2vw + 1.2vh)', - fontWeight: 790, - color: '#FFFFFF', - textShadow: '0px 4px 4px rgba(0, 0, 0, 0.25)', - paddingLeft: '2%', + "insert tailwind" }, answer: { fontSize: 'calc(0.6vw + 0.6vh)', diff --git a/app/components/footer.tsx b/app/components/footer.tsx index 41419b8..0190d20 100644 --- a/app/components/footer.tsx +++ b/app/components/footer.tsx @@ -1,30 +1,7 @@ -import { - Box, - Button, - Image, - Grid, - Heading, - Text, - } from 'theme-ui'; - - const footer = ()=> { +const footer = ()=> { return ( -