diff --git a/bun.lockb b/bun.lockb index 0bfd701..580ac50 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/src/components/qp/Step.astro b/src/components/qp/Step.astro index 38bb6c9..b02486f 100644 --- a/src/components/qp/Step.astro +++ b/src/components/qp/Step.astro @@ -1,10 +1,14 @@ --- -const {text, number, col, position} = Astro.props; +const { text, number, col, position, width } = Astro.props; --- -
-

+

+

{number}

{text} -
\ No newline at end of file +
diff --git a/src/components/qp/Steps.astro b/src/components/qp/Steps.astro index 25e9dea..685584e 100644 --- a/src/components/qp/Steps.astro +++ b/src/components/qp/Steps.astro @@ -1,18 +1,41 @@ --- -import Step from "./Step.astro" -import steps from "../../data/steps.json" -import Subtitle from "../core/Subtitle.astro" +import Step from "./Step.astro"; +import steps from "../../data/steps.json"; +import Subtitle from "../core/Subtitle.astro"; --- +
-
- {steps.map((step)=>( - - ))} +
+
+ { + steps + .slice(0, 3) + .map((step) => ( + + )) + } +
+
+ { + steps + .slice(3, 5) + .map((step) => ( + + )) + } +
-
\ No newline at end of file +
diff --git a/src/data/steps.json b/src/data/steps.json index b4eed5f..b1868dc 100644 --- a/src/data/steps.json +++ b/src/data/steps.json @@ -1,32 +1,34 @@ [ - { - "text": "Prospective participants who are interested in joining Quaterly Project will fill out QP interest form, which can be founded on the bottom of this page.", - "number": "01", - "col": "2", - "position": "bottom-0 right-[2%] " - }, - { - "text": "Participants will be put into teams of 5 based on their experience and interests", - "number": "02", - "col": "2", - "position": " top-0 left-[2%] " - }, - { - "text": "Each team will be assigned a mentor.", - "number": "03", - "col": "1", - "position": "bottom-0" - }, - { - "text": "At the end of the quarter, teams will showcase their project to judges including professors, industry experts, IEEE officers, and fellow participants", - "number": "04", - "col": "3", - "position": "bottom-0 right-[2%] " - }, - { - "text": "Winning teams will walk away with prizes!", - "number": "05", - "col": "2", - "position": "top-0 right-[5%]" - } + { + "text": "Prospective participants who are interested in joining Quaterly Project will fill out QP interest form, which can be founded on the bottom of this page.", + "number": "01", + "col": "2", + "position": "bottom-0 right-[2%] " + }, + { + "text": "Participants will be put into teams of 5 based on their experience and interests", + "number": "02", + "col": "1", + "position": " top-0 left-[2%] ", + "width": "col-span-1" + }, + { + "text": "Each team will be assigned a mentor.", + "number": "03", + "col": "1", + "position": "bottom-0" + }, + { + "text": "At the end of the quarter, teams will showcase their project to judges including professors, industry experts, IEEE officers, and fellow participants", + "number": "04", + "col": "2", + "position": "bottom-0 right-[2%] " + }, + { + "text": "Winning teams will walk away with prizes!", + "number": "05", + "col": "1", + "position": "top-0 right-[5%]", + "width": "col-span-1" + } ] diff --git a/tailwind.config.mjs b/tailwind.config.mjs index 91b76e7..924bb36 100644 --- a/tailwind.config.mjs +++ b/tailwind.config.mjs @@ -1,10 +1,11 @@ /** @type {import('tailwindcss').Config} */ export default { content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"], + safelist: ["col-span-1", "col-span-2", "col-span-3", "col-span-4"], theme: { extend: { boxShadow: { - 'glow': '0 0 0.5vw 0.1vw rgba(255, 255, 255, 0.3), 0 0 1vw 0.5vw rgba(255, 255, 255, 0.1)', + glow: "0 0 0.5vw 0.1vw rgba(255, 255, 255, 0.3), 0 0 1vw 0.5vw rgba(255, 255, 255, 0.1)", }, colors: { ieee: { @@ -13,7 +14,7 @@ export default { "blue-100": "#88BFEC", "blue-300": "#233363", }, - + // Project Page Card colors project_card_bg: "#0d1324", },