Skip to content

Commit

Permalink
Added new food
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmonisit committed Dec 31, 2024
1 parent 2492623 commit 9840fc9
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
15 changes: 4 additions & 11 deletions app/(pre-dashboard)/(landing)/sections/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import Image from 'next/image';
import clsx from 'clsx';
import { useWindowSize } from '@/app/lib/useWindowSize';
import GenericSection from './GenericSection';
import SectionTitle from './SectionTitle';
import { longCang, brush } from '@/app/ui/fonts';

const animalQuality = 100;
Expand All @@ -15,15 +13,13 @@ function AboutInfo({
alt,
reverse,
titleColor = '#C3557D',
downsize = false
}: {
children: React.ReactNode;
title: string;
imageSrc: string;
alt: string;
reverse?: boolean;
titleColor: string;
downsize?: boolean;
}) {
const size = useWindowSize();
/* Defined in tailwind.config.ts file. Probably better to have some common area for constants. */
Expand Down Expand Up @@ -66,10 +62,7 @@ function AboutInfo({
src={imageSrc}
width="400"
height="400"
className={clsx("w-[600px]", {
"lg:w-[400px]": downsize,
"lg:w-[800px]": !downsize
})}
className="w-[600px] lg:w-[700px]"
alt={alt}
quality={animalQuality}
/>
Expand Down Expand Up @@ -132,7 +125,7 @@ export default function About() {


</div>
<AboutInfo title="WHAT" imageSrc="/landing/S2025/minichef 2.png" downsize={true} alt="Python" reverse titleColor='s2025black'>
<AboutInfo title="WHAT" imageSrc="/landing/S2025/lumpia.png" alt="Python" reverse titleColor='s2025black'>
<div className="pt-6 border-t-8 border-cyan-100">
<p className="inline">HackRU is a</p>
<p className="inline "> 24-hour hackathon </p>
Expand Down Expand Up @@ -210,11 +203,11 @@ export default function About() {

<AboutInfo
title="JOIN US"
imageSrc="/landing/S2025/minichef 5.png"
imageSrc="/landing/S2025/ratatoullie.png"
alt="Python"
reverse
titleColor="s2025black"
downsize={true}

>
<div className="pb-6 pt-6 border-t-8 border-cyan-100">
<p className="inline ">Apply</p>
Expand Down
9 changes: 9 additions & 0 deletions app/(pre-dashboard)/(landing)/sections/Schedule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,15 @@ export default function Schedule() {
quality={50}
/> */}

<Image
src={"/landing/S2025/lightsv2.png"}
width="600"
height="600"
className="w-[1000px] md:w-[1200px] absolute -bottom-[300px] md:-bottom-[400px] lg:-bottom-[550px]"
alt={'cool'}
quality={50}
/>

<Transition appear show={mapOpen} as={Fragment}>
<Dialog
as="div"
Expand Down
Binary file added public/landing/S2025/lightsv2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/landing/S2025/lumpia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/landing/S2025/ratatoullie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9840fc9

Please sign in to comment.