From 88bfc27e3855ee6f1bea0e23200b940bf4162e9b Mon Sep 17 00:00:00 2001 From: ErikaKK <491649804@qq.com> Date: Sat, 18 Jan 2025 11:22:23 +0800 Subject: [PATCH 1/3] initial commit --- client/package-lock.json | 68 +++++++++++++++++++++++++++++++------- client/src/pages/index.tsx | 25 +++++++++++++- 2 files changed, 80 insertions(+), 13 deletions(-) diff --git a/client/package-lock.json b/client/package-lock.json index 73785928..1e313686 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -3622,9 +3622,9 @@ } }, "node_modules/debug": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", - "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", "license": "MIT", "dependencies": { "ms": "^2.1.3" @@ -3795,6 +3795,21 @@ "url": "https://github.com/fb55/domutils?sponsor=1" } }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", @@ -5226,14 +5241,11 @@ } }, "node_modules/gopd": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.1.0.tgz", - "integrity": "sha512-FQoVQnqcdk4hVM4JN1eromaun4iuS34oStkdlLENLdpULsuQcTyXj8w7ayhuUfPwEYZ1ZOooOTT6fdA9Vmx/RA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", "dev": true, "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, "engines": { "node": ">= 0.4" }, @@ -6595,6 +6607,16 @@ "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc" } }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/mathjax": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/mathjax/-/mathjax-3.2.2.tgz", @@ -8744,6 +8766,15 @@ "tailwindcss": ">=3.0.0 || insiders" } }, + "node_modules/tailwindcss/node_modules/lilconfig": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", + "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, "node_modules/tapable": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", @@ -9167,6 +9198,19 @@ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", "license": "MIT" }, + "node_modules/vaul": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vaul/-/vaul-1.1.2.tgz", + "integrity": "sha512-ZFkClGpWyI2WUQjdLJ/BaGuV6AVQiJ3uELGk3OYtP+B6yCO7Cmn9vPFXVJkRaGkOJu3m8bQMgtyzNHixULceQA==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-dialog": "^1.1.1" + }, + "peerDependencies": { + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc" + } + }, "node_modules/w3c-xmlserializer": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz", @@ -9480,9 +9524,9 @@ "license": "MIT" }, "node_modules/yaml": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.1.tgz", - "integrity": "sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.6.1.tgz", + "integrity": "sha512-7r0XPzioN/Q9kXBro/XPnA6kznR73DHq+GXh5ON7ZozRO6aMjbmiBuKste2wslTFkC5d1dw0GooOCepZXJ2SAg==", "license": "ISC", "bin": { "yaml": "bin.mjs" diff --git a/client/src/pages/index.tsx b/client/src/pages/index.tsx index 546a61de..70e02fc9 100644 --- a/client/src/pages/index.tsx +++ b/client/src/pages/index.tsx @@ -13,7 +13,30 @@ const Home = () => { }); return ( -
+
+
+

WAJO Olympiads will be back next year!

+ +
+
+

What is WAJO and what are the Olympiads?

+
+ Western Australian Junior mathematics Olympiad is an annual + competition held within WA to help identity and celebrate the + brightest mathematical minds amongst our youth. The competition is + open to high school students in years 7, 8 and 9 (Occasionally, a + younger exceptional student may arise, who you may wish to + participate; find out more here). The Olympiad consists of 2 parts: 1) + The individual paper which will be held on this website and 2) a team + paper, held in person. +
+

Test title

Test title

Test title

From b039dbcfe7ead8be9b8b2212713584c5a4b09627 Mon Sep 17 00:00:00 2001 From: ErikaKK <491649804@qq.com> Date: Tue, 21 Jan 2025 09:49:33 +0800 Subject: [PATCH 2/3] edit landing page and font style --- client/src/pages/index.tsx | 56 ++++++++++++++++++++++++++++++++++- client/src/styles/globals.css | 12 ++++++++ client/tailwind.config.ts | 2 ++ 3 files changed, 69 insertions(+), 1 deletion(-) diff --git a/client/src/pages/index.tsx b/client/src/pages/index.tsx index 70e02fc9..89e91c2d 100644 --- a/client/src/pages/index.tsx +++ b/client/src/pages/index.tsx @@ -22,7 +22,9 @@ const Home = () => { }} >

WAJO Olympiads will be back next year!

- +

What is WAJO and what are the Olympiads?

@@ -37,12 +39,64 @@ const Home = () => { paper, held in person.
+ +
+

Updates

+
+ WAJO is over for 2024, but we'll be back again in 2025, with similar + dates to below! 2024 format: combination of online and paper-based + formats. Confirmed Dates: Individual paper: Tuesday, 15 October, 2024 + for 100 minutes starting between 2:30pm and 4pm, online at your school + Team paper: Saturday, 19 October, 2024 for 50 minutes. Registration at + 9:00am. Prize Ceremony finishes 12:30pm. At two venues: Perth: UWA, in + Arts Building centred around Alexander Lecture Theatre (Search for: + Alex). Bunbury: Building 6, Edith Cowan University – Bunbury Campus + (Grid Reference: E4), 585 Robertson Drive, Bunbury WA 6230. You need: + Pens, pencils, and if you wish, ruler and compass. Special conditions: + No calculators. Brains only. Prize Ceremony (Perth): Date: Saturday, + 19 October 2024 Time: 11:30am – 12:30pm Venue: Social Sciences Lecture + Theatre, near Hackett Entrance No. 1 (see campus map - in SEARCH + enter: Social Sciences Lecture T One selection will come up. Click on + it, and a balloon will highlight its location below Car park 3, a good + place to park.) Future news to come, In the meantime, feel free to + look at past papers and try a practice test here! +
+ +
+
+

Major Prizes

+
    +
  • UWA Mathematics & Statistics Prize – Best Year 9 student
  • +
  • MAWA "Jack Bana Award" – Best Year 9 team
  • +
  • Curtin Mathematics & Statistics Prize – Best Year 8 student
  • +
  • ECU "David McDougall Award" – Best Year 8 team
  • +
  • + Department of Education Gifted & Talented Awards – Top public school + individual & team +
  • +
  • + Awards of Excellence – Sponsored by New Edition Bookshop, Data + Analysis Australia, Murdoch University, Dept. of Education, and + Optiver +
  • +
+
+
+ Prizes also include second and third place awards in the first four + categories, plus numerous merit prizes. See our awards section for + details and past winners. +

Test title

Test title

Test title

Test title

Test title
Test title
+

body-1

+

body-2

+ diff --git a/client/src/styles/globals.css b/client/src/styles/globals.css index 058fb96d..ca476bfc 100644 --- a/client/src/styles/globals.css +++ b/client/src/styles/globals.css @@ -150,6 +150,18 @@ .font-roboto { font-family: var(--font-roboto); } + .body-1 { + @apply font-urbanist; + font-size: 18px; + font-weight: 600; + line-height: 28px; + } + .body-1-bold { + @apply font-urbanist; + font-size: 18px; + font-weight: 600; + line-height: 28px; + } .body-2 { @apply font-urbanist; font-size: 14px; diff --git a/client/tailwind.config.ts b/client/tailwind.config.ts index 6d5c5570..5fda3e66 100644 --- a/client/tailwind.config.ts +++ b/client/tailwind.config.ts @@ -39,6 +39,8 @@ const config = { border: "hsl(var(--border))", input: "hsl(var(--input))", ring: "hsl(var(--ring))", + background1: "#FFE8A3", + background2: "#FFD659", background: "#ffffff", foreground: "hsl(var(--foreground))", primary: "#f8b400", From f10441e008368298ccda5cf2cabaab1e932bff79 Mon Sep 17 00:00:00 2001 From: ErikaKK <491649804@qq.com> Date: Thu, 23 Jan 2025 23:24:15 +0800 Subject: [PATCH 3/3] Add components and landing page --- client/public/sponsor-logos/Casio.svg | 9 + client/public/sponsor-logos/DoE.svg | 9 + client/public/sponsor-logos/ECU.svg | 9 + client/public/sponsor-logos/MAWA.svg | 9 + client/public/sponsor-logos/Murdoch.svg | 3 + client/public/sponsor-logos/New-Edition.svg | 20 +++ client/public/sponsor-logos/UWA.svg | 9 + client/src/components/layout.tsx | 3 + client/src/components/ui/button.tsx | 2 + client/src/components/ui/footer.tsx | 23 +++ client/src/components/ui/sponsor.tsx | 39 ++++ client/src/pages/index.tsx | 187 ++++++++++++++------ client/src/styles/globals.css | 4 +- client/tailwind.config.ts | 9 + 14 files changed, 279 insertions(+), 56 deletions(-) create mode 100644 client/public/sponsor-logos/Casio.svg create mode 100644 client/public/sponsor-logos/DoE.svg create mode 100644 client/public/sponsor-logos/ECU.svg create mode 100644 client/public/sponsor-logos/MAWA.svg create mode 100644 client/public/sponsor-logos/Murdoch.svg create mode 100644 client/public/sponsor-logos/New-Edition.svg create mode 100644 client/public/sponsor-logos/UWA.svg create mode 100644 client/src/components/ui/footer.tsx create mode 100644 client/src/components/ui/sponsor.tsx diff --git a/client/public/sponsor-logos/Casio.svg b/client/public/sponsor-logos/Casio.svg new file mode 100644 index 00000000..e48576cc --- /dev/null +++ b/client/public/sponsor-logos/Casio.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/client/public/sponsor-logos/DoE.svg b/client/public/sponsor-logos/DoE.svg new file mode 100644 index 00000000..948398e1 --- /dev/null +++ b/client/public/sponsor-logos/DoE.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/client/public/sponsor-logos/ECU.svg b/client/public/sponsor-logos/ECU.svg new file mode 100644 index 00000000..1b435492 --- /dev/null +++ b/client/public/sponsor-logos/ECU.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/client/public/sponsor-logos/MAWA.svg b/client/public/sponsor-logos/MAWA.svg new file mode 100644 index 00000000..2430e51b --- /dev/null +++ b/client/public/sponsor-logos/MAWA.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/client/public/sponsor-logos/Murdoch.svg b/client/public/sponsor-logos/Murdoch.svg new file mode 100644 index 00000000..eae021c3 --- /dev/null +++ b/client/public/sponsor-logos/Murdoch.svg @@ -0,0 +1,3 @@ + + + diff --git a/client/public/sponsor-logos/New-Edition.svg b/client/public/sponsor-logos/New-Edition.svg new file mode 100644 index 00000000..0baf3369 --- /dev/null +++ b/client/public/sponsor-logos/New-Edition.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/client/public/sponsor-logos/UWA.svg b/client/public/sponsor-logos/UWA.svg new file mode 100644 index 00000000..5cf915fb --- /dev/null +++ b/client/public/sponsor-logos/UWA.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/client/src/components/layout.tsx b/client/src/components/layout.tsx index 5d2bc57e..5c829c9f 100644 --- a/client/src/components/layout.tsx +++ b/client/src/components/layout.tsx @@ -2,6 +2,8 @@ import React from "react"; import Navbar from "@/components/navbar"; +import Footer from "./ui/footer"; + interface LayoutProps { children: React.ReactNode; } @@ -11,6 +13,7 @@ export default function Layout({ children }: LayoutProps) {
{children}
+
); } diff --git a/client/src/components/ui/button.tsx b/client/src/components/ui/button.tsx index 5a50b6cf..a27e4773 100644 --- a/client/src/components/ui/button.tsx +++ b/client/src/components/ui/button.tsx @@ -21,6 +21,8 @@ const buttonVariants = cva( "tab-active": "bg-gray-200 text-black rounded-bl-none rounded-br-none", // to use in `MathInput` component "tab-inactive": "bg-gray-500 hover:bg-primary text-black rounded-bl-none rounded-br-none", // to use in `MathInput` component + inactive: + "bg-background text-grey border border-grey hover:bg-grey hover:text-black", }, size: { default: "h-10 px-4 py-2", diff --git a/client/src/components/ui/footer.tsx b/client/src/components/ui/footer.tsx new file mode 100644 index 00000000..c200d9c3 --- /dev/null +++ b/client/src/components/ui/footer.tsx @@ -0,0 +1,23 @@ +import Link from "next/link"; + +export default function Footer() { + return ( +
+
Western Australian Junior mathematics Olympiad
+
+ + News + + + Awards + + + Resources + + + Contact us + +
+
+ ); +} diff --git a/client/src/components/ui/sponsor.tsx b/client/src/components/ui/sponsor.tsx new file mode 100644 index 00000000..67754cc6 --- /dev/null +++ b/client/src/components/ui/sponsor.tsx @@ -0,0 +1,39 @@ +import Image from "next/image"; + +import Casio from "../../../public/sponsor-logos/Casio.svg"; +import DoE from "../../../public/sponsor-logos/DoE.svg"; +import ECU from "../../../public/sponsor-logos/ECU.svg"; +import MAWA from "../../../public/sponsor-logos/MAWA.svg"; +import Murdoch from "../../../public/sponsor-logos/Murdoch.svg"; +import NewEdition from "../../../public/sponsor-logos/New-Edition.svg"; +import UWA from "../../../public/sponsor-logos/UWA.svg"; + +const images = [ + { src: DoE, href: "https://www.education.wa.edu.au/", name: "DoE" }, + { src: UWA, href: "https://www.uwa.edu.au/", name: "UWA" }, + { src: MAWA, href: "https://mawainc.org.au/", name: "MAWA" }, + { src: ECU, href: "https://www.ecu.edu.au/", name: "ECU" }, + { src: NewEdition, href: "https://newedition.com.au", name: "NewEdition" }, + { src: Murdoch, href: "https://www.murdoch.edu.au/", name: "Murdoch" }, + { src: Casio, href: "https://casioeducation.com.au/", name: "Casio" }, +]; + +export default function Sponsor() { + return ( +
+
+ {[...images, ...images].map((item, index) => ( + + {`Logo + + ))} +
+
+ ); +} diff --git a/client/src/pages/index.tsx b/client/src/pages/index.tsx index 89e91c2d..81547e29 100644 --- a/client/src/pages/index.tsx +++ b/client/src/pages/index.tsx @@ -1,5 +1,9 @@ -import { useState } from "react"; +import { Ghost } from "lucide-react"; +import Image from "next/image"; +import { useRouter } from "next/router"; +import { useEffect, useState } from "react"; +import Sponsor from "@/components/ui/sponsor"; import { LoginModal } from "@/components/ui/user/login-modal"; import { usePings } from "@/hooks/pings"; @@ -7,67 +11,151 @@ import Layout from "../components/layout"; import { Button } from "../components/ui/button"; const Home = () => { + const [Loading, setLoading] = useState(true); const [clicked, setClicked] = useState(false); const { data, isLoading } = usePings({ enabled: clicked, }); + const router = useRouter(); + + useEffect(() => { + // Simulate a delay (e.g., data fetching or other asynchronous operation) + const timer = setTimeout(() => { + setLoading(false); // Set loading to false after the delay + }, 2000); // Replace with your actual loading logic + + return () => clearTimeout(timer); // Cleanup the timer + }, []); + + if (Loading) { + return ( +
+ +

+ Response from server: {data as string} +

+
+ ); + } return ( -
+
-

WAJO Olympiads will be back next year!

-
-
+

What is WAJO and what are the Olympiads?

- Western Australian Junior mathematics Olympiad is an annual - competition held within WA to help identity and celebrate the - brightest mathematical minds amongst our youth. The competition is - open to high school students in years 7, 8 and 9 (Occasionally, a - younger exceptional student may arise, who you may wish to - participate; find out more here). The Olympiad consists of 2 parts: 1) - The individual paper which will be held on this website and 2) a team - paper, held in person. + The Western Australian Junior Mathematics Olympiad is an annual + competition celebrating top young mathematicians. Open to students in + Years 7-9 (exceptional younger students may apply), it consists of two + parts: an online individual paper and an in-person team paper.
-
+

Updates

-
- WAJO is over for 2024, but we'll be back again in 2025, with similar - dates to below! 2024 format: combination of online and paper-based - formats. Confirmed Dates: Individual paper: Tuesday, 15 October, 2024 - for 100 minutes starting between 2:30pm and 4pm, online at your school - Team paper: Saturday, 19 October, 2024 for 50 minutes. Registration at - 9:00am. Prize Ceremony finishes 12:30pm. At two venues: Perth: UWA, in - Arts Building centred around Alexander Lecture Theatre (Search for: - Alex). Bunbury: Building 6, Edith Cowan University – Bunbury Campus - (Grid Reference: E4), 585 Robertson Drive, Bunbury WA 6230. You need: - Pens, pencils, and if you wish, ruler and compass. Special conditions: - No calculators. Brains only. Prize Ceremony (Perth): Date: Saturday, - 19 October 2024 Time: 11:30am – 12:30pm Venue: Social Sciences Lecture - Theatre, near Hackett Entrance No. 1 (see campus map - in SEARCH - enter: Social Sciences Lecture T One selection will come up. Click on - it, and a balloon will highlight its location below Car park 3, a good - place to park.) Future news to come, In the meantime, feel free to - look at past papers and try a practice test here! +
+
+ WAJO is over for 2024, but we'll be back again in 2025, with similar + dates to below!{" "} +
+
+

2024 format:

combination + of online and paper-based formats.{" "} +

Confirmed Dates:

+
    + {" "} +
  • + Individual paper:{" "} +

    + Tuesday, 15 October, 2024 for 100 minutes starting between + 2:30pm and 4pm, online at your school +

    +
  • {" "} +
  • + Team paper:{" "} +

    + Saturday, 19 October, 2024 for 50 minutes. Registration at + 9:00am. Prize Ceremony finishes 12:30pm. +

    +
  • +
+
+
+

At two venues:

+
    + {" "} +
  • +

    Perth:

    UWA, in Arts + Building centred around Alexander Lecture Theatre (Search for: + Alex). +
  • +
  • + {" "} +

    Bunbury:

    Building 6, + Edith Cowan University – Bunbury Campus (Grid Reference: E4), + 585 Robertson Drive, Bunbury WA 6230. +
  • +
+

You need:

Pens, pencils, + and if you wish, ruler and compass. Special +

+ conditions: +

No calculators. Brains only. +
+
+ {" "} +

Prize Ceremony (Perth):

+
    +
  • + Date:{" "} +

    + Saturday, 19 October 2024 +

    +
  • +
  • + {" "} + Time:{" "} +

    11:30am – 12:30pm

    +
  • +
  • + {" "} + Venue:{" "} +

    + Social Sciences Lecture Theatre, near Hackett Entrance No. 1{" "} +

    + (see campus map - in SEARCH enter: Social Sciences Lecture T One + selection will come up. Click on it, and a balloon will + highlight its location below Car park 3, a good place to park.) +
  • +
+
+
+ Future news to come, In the meantime, feel free to look at past + papers and try a practice test here! +
-
-
-

Major Prizes

-
    +
    +

    🏅 Major Prizes 🏆

    +
    • UWA Mathematics & Statistics Prize – Best Year 9 student
    • MAWA "Jack Bana Award" – Best Year 9 team
    • Curtin Mathematics & Statistics Prize – Best Year 8 student
    • @@ -83,26 +171,17 @@ const Home = () => {
    -
    +
    Prizes also include second and third place awards in the first four categories, plus numerous merit prizes. See our awards section for details and past winners.
    -

    Test title

    -

    Test title

    -

    Test title

    -

    Test title

    -
    Test title
    -
    Test title
    -

    body-1

    -

    body-2

    - - -

    - Response from server: {data as string} -

    +
    +

    Our sponsors

    +
    + +
    +
); }; diff --git a/client/src/styles/globals.css b/client/src/styles/globals.css index ca476bfc..be2e5b60 100644 --- a/client/src/styles/globals.css +++ b/client/src/styles/globals.css @@ -153,7 +153,7 @@ .body-1 { @apply font-urbanist; font-size: 18px; - font-weight: 600; + font-weight: 500; line-height: 28px; } .body-1-bold { @@ -165,7 +165,7 @@ .body-2 { @apply font-urbanist; font-size: 14px; - font-weight: 600; + font-weight: 500; line-height: 24px; } .body-2-bold { diff --git a/client/tailwind.config.ts b/client/tailwind.config.ts index 5fda3e66..c36e1fb7 100644 --- a/client/tailwind.config.ts +++ b/client/tailwind.config.ts @@ -104,10 +104,19 @@ const config = { height: "0", }, }, + slide: { + from: { + transform: `translateX(0)`, + }, + to: { + transform: `translateX(-100%)`, + }, + }, }, animation: { "accordion-down": "accordion-down 0.2s ease-out", "accordion-up": "accordion-up 0.2s ease-out", + slide: "slide 20s linear infinite", }, }, },