diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index eee18fab..a424a6b4 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -24,6 +24,20 @@ jobs: - name: Use ACM Linting uses: acm-ucr/linting@v2 + images: + name: images + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Running Image Conversion + uses: acm-ucr/images@v2 + with: + branch: ${{ github.head_ref }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + build: name: build runs-on: ubuntu-latest diff --git a/public/UCRLOGO.png b/public/UCRLOGO.png deleted file mode 100644 index 1976ff63..00000000 Binary files a/public/UCRLOGO.png and /dev/null differ diff --git a/public/UCRLOGO.webp b/public/UCRLOGO.webp new file mode 100644 index 00000000..71d87e6c Binary files /dev/null and b/public/UCRLOGO.webp differ diff --git a/public/board/AlexZhang.webp b/public/board/AlexZhang.webp new file mode 100644 index 00000000..0ed99b6e Binary files /dev/null and b/public/board/AlexZhang.webp differ diff --git a/public/board/AmandaLy.webp b/public/board/AmandaLy.webp new file mode 100644 index 00000000..219946f6 Binary files /dev/null and b/public/board/AmandaLy.webp differ diff --git a/public/board/ApySen.webp b/public/board/ApySen.webp new file mode 100644 index 00000000..59c278c6 Binary files /dev/null and b/public/board/ApySen.webp differ diff --git a/public/board/AustinYang.webp b/public/board/AustinYang.webp new file mode 100644 index 00000000..676e7641 Binary files /dev/null and b/public/board/AustinYang.webp differ diff --git a/public/board/ChristianMacaluso.webp b/public/board/ChristianMacaluso.webp new file mode 100644 index 00000000..94138da9 Binary files /dev/null and b/public/board/ChristianMacaluso.webp differ diff --git a/public/board/DivyankShah.webp b/public/board/DivyankShah.webp new file mode 100644 index 00000000..c7516a6e Binary files /dev/null and b/public/board/DivyankShah.webp differ diff --git a/public/board/EviAguirre.webp b/public/board/EviAguirre.webp new file mode 100644 index 00000000..d3b7f9ed Binary files /dev/null and b/public/board/EviAguirre.webp differ diff --git a/public/board/GaganMannur.webp b/public/board/GaganMannur.webp new file mode 100644 index 00000000..f017e710 Binary files /dev/null and b/public/board/GaganMannur.webp differ diff --git a/public/board/MenthyWu.webp b/public/board/MenthyWu.webp new file mode 100644 index 00000000..64a1b00d Binary files /dev/null and b/public/board/MenthyWu.webp differ diff --git a/public/board/PranoyGiri.webp b/public/board/PranoyGiri.webp new file mode 100644 index 00000000..4289e1ce Binary files /dev/null and b/public/board/PranoyGiri.webp differ diff --git a/public/board/RaidahFairooz.webp b/public/board/RaidahFairooz.webp new file mode 100644 index 00000000..89cac9fb Binary files /dev/null and b/public/board/RaidahFairooz.webp differ diff --git a/public/board/RamaChunduri.webp b/public/board/RamaChunduri.webp new file mode 100644 index 00000000..d6bef4ec Binary files /dev/null and b/public/board/RamaChunduri.webp differ diff --git a/public/board/SachinChopra.webp b/public/board/SachinChopra.webp new file mode 100644 index 00000000..a7ed4cc2 Binary files /dev/null and b/public/board/SachinChopra.webp differ diff --git a/public/board/ThomasLi.webp b/public/board/ThomasLi.webp new file mode 100644 index 00000000..4e593dee Binary files /dev/null and b/public/board/ThomasLi.webp differ diff --git a/public/board/YogithaShastri.webp b/public/board/YogithaShastri.webp new file mode 100644 index 00000000..89267ae2 Binary files /dev/null and b/public/board/YogithaShastri.webp differ diff --git a/public/flyLeft.svg b/public/flyLeft.svg new file mode 100644 index 00000000..044002ab --- /dev/null +++ b/public/flyLeft.svg @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/flyRight.svg b/public/flyRight.svg new file mode 100644 index 00000000..04ad2204 --- /dev/null +++ b/public/flyRight.svg @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/swirlTop.svg b/public/swirlTop.svg new file mode 100644 index 00000000..c187561c --- /dev/null +++ b/public/swirlTop.svg @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/app/layout.js b/src/app/layout.js index 2333b4d9..041e3e1f 100644 --- a/src/app/layout.js +++ b/src/app/layout.js @@ -26,7 +26,7 @@ export default function RootLayout({ children, session }) { return (
diff --git a/src/components/static/AboutUs.jsx b/src/components/static/AboutUs.jsx index 82c8dbd3..6d944c1e 100644 --- a/src/components/static/AboutUs.jsx +++ b/src/components/static/AboutUs.jsx @@ -5,47 +5,51 @@ import Image from "next/image"; const AboutUs = () => { return (
-
+
{"frame"}
{"frame"}
-
-

+

+

About Us

-
-

- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do - eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad - minim veniam, quis nostrud exercitation ullamco laboris nisi ut - aliquip ex ea commodo consequat. Duis aute irure dolor in - reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla - pariatur. Excepteur sint occaecat cupidatat non proident, sunt in - culpa qui officia deserunt mollit anim id est laborum. +

+

+ Welcome to Bearhack, a medical-technology-focused, in-person, + weekend-long event brought to you by BMES (Biomedical Engineering + Society). Bearhack invites curious minds to embark on a journey of + learning and innovation. This event provides a unique opportunity for + participants to choose a project of their liking and dedicate the + weekend to exploring and building something new. Whether you're + passionate about a specific medical technology or have been meaning to + delve into a particular topic, Bearhack is the perfect platform for + you. Form a team of up to 4 people to collaborate and create. The + event not only fosters individual growth but also offers the chance to + forge new friendships with fellow enthusiasts.

-
+
{"frame"}
{"frame"}
diff --git a/src/components/static/Countdown.jsx b/src/components/static/Countdown.jsx index 2774dda9..1ec3fb0d 100644 --- a/src/components/static/Countdown.jsx +++ b/src/components/static/Countdown.jsx @@ -4,7 +4,7 @@ import { CONFIG } from "@/data/Config"; const Digits = ({ value, unit }) => { return ( -
+
{value .toString() @@ -12,7 +12,7 @@ const Digits = ({ value, unit }) => { .split("") .map((digit, index) => (
{digit} @@ -50,7 +50,7 @@ const Countdown = () => { }, []); return ( -
+
{Object.entries(time).map(([unit, value], index) => ( ))} diff --git a/src/components/static/FAQ.jsx b/src/components/static/FAQ.jsx index f7c87166..6fb49774 100644 --- a/src/components/static/FAQ.jsx +++ b/src/components/static/FAQ.jsx @@ -5,7 +5,7 @@ import ToggleSelection from "./ToggleSelection"; const FAQ = () => { return (
-
+
FAQ
diff --git a/src/components/static/Footer.jsx b/src/components/static/Footer.jsx index cc1c0851..fd373c63 100644 --- a/src/components/static/Footer.jsx +++ b/src/components/static/Footer.jsx @@ -12,11 +12,11 @@ const Footer = () => {
Logo
BEARHACK 2024
-
+
Made with by the Bear Hack team at - UCR + University of California, Riverside
-
+
{CONTACTS.map((contact, index) => ( { return (
-
-
- {"butterfly"} -
-

Get Involved

+
+ butterfly +

+ Get Involved +

+ butterfly
@@ -25,16 +26,17 @@ const GetInvolved = () => {

- In cursus turpis massa tincidunt dui ut ornare lectus sit. Viverra - vitae congue eu consequat ac felis. + Not interested in hacking, but still interested in the + behind-the-scenes of BearHack? Great, we'd love to have you on + our team. Apply to be a volunteer today!

-
+
-
+
@@ -44,10 +46,10 @@ const GetInvolved = () => {

- In cursus turpis massa tincidunt dui ut ornare lectus sit. Viverra - vitae congue eu consequat ac felis. + Are you confident in your coding skills? Apply to become a mentor + and help future innovators make a difference!

-
+
diff --git a/src/components/static/TeamMember.jsx b/src/components/static/Member.jsx similarity index 90% rename from src/components/static/TeamMember.jsx rename to src/components/static/Member.jsx index 8045613e..1ecd168e 100644 --- a/src/components/static/TeamMember.jsx +++ b/src/components/static/Member.jsx @@ -4,7 +4,7 @@ const TeamMember = ({ name, position, image }) => { return (
-
+
diff --git a/src/components/static/Team.jsx b/src/components/static/Team.jsx index 931d2229..b92638c6 100644 --- a/src/components/static/Team.jsx +++ b/src/components/static/Team.jsx @@ -1,18 +1,20 @@ -import teamMembers from "@/data/static/TeamMembers"; -import TeamMember from "@/components/static/TeamMember"; +import { members, directors } from "@/data/static/TeamMembers"; +import Member from "@/components/static/Member"; const Team = () => { return ( -
-
Meet the Team
-
- {teamMembers.map(({ name, position, image }, index) => ( - +
+
Meet the Team
+
Directors
+
+ {directors.map(({ name, position, image }, index) => ( + + ))} +
+
Leads
+
+ {members.map(({ name, position, image }, index) => ( + ))}
diff --git a/src/components/static/Title.jsx b/src/components/static/Title.jsx index 11c801cd..b6be2b81 100644 --- a/src/components/static/Title.jsx +++ b/src/components/static/Title.jsx @@ -4,10 +4,27 @@ import Image from "next/image"; import HorizontalLine from "./HorizontalLine.jsx"; import Countdown from "./Countdown.jsx"; import { CONFIG } from "@/data/Config.js"; +import flyLeft from "@/public/flyLeft.svg"; +import flyRight from "@/public/flyRight.svg"; +import swirlTop from "@/public/swirlTop.svg"; +import { useMemo } from "react"; + +const createStars = (starsToCreate) => { + const array = Array(starsToCreate); + for (let i = 0; i < starsToCreate; i++) { + array[i] = { + top: `${Math.floor(Math.random() * 150 - 20).toString()}%`, + left: `${Math.floor(Math.random() * 100).toString()}%`, + }; + } + return array; +}; const Title = () => { + const smallStars = useMemo(() => createStars(50), []); + return ( -
+
{ className="object-cover h-full" />
-
+ +
+
+ +
+
+ +
+
+
+
+ +
+ + <> + {smallStars.map((star, index) => ( + + ))} + +
-
+
BEARHACK 2024
@@ -35,12 +75,12 @@ const Title = () => { - {/* */} +
-
+
diff --git a/src/components/static/ToggleSelection.jsx b/src/components/static/ToggleSelection.jsx index c547d18e..d9c0c955 100644 --- a/src/components/static/ToggleSelection.jsx +++ b/src/components/static/ToggleSelection.jsx @@ -8,7 +8,7 @@ const ToggleSelection = ({ title, children }) => {