Skip to content

Commit

Permalink
flags
Browse files Browse the repository at this point in the history
  • Loading branch information
avsomers25 committed Dec 27, 2024
1 parent 9bd19e8 commit 9605fed
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 6 deletions.
4 changes: 1 addition & 3 deletions app/(pre-dashboard)/(landing)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ export default async function Page() {
>
<div className="overflow-x-hidden overflow-y-hidden">
<Hero />
<h1 className={`text-center ${brush.className}`} style={{ fontSize: '96px' }}>
ABOUT
</h1>


<About />
{/**
Expand Down
11 changes: 11 additions & 0 deletions app/(pre-dashboard)/(landing)/sections/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,17 @@ function AboutInfo({
export default function About() {
return (
<>
<div className='flex justify-center items-center p-4'>
<Image
src={"/landing/S2025/aboutbanner.png"}
width="300"
height="300"
className="w-[400px] z-30"
alt={'about'}
quality={50}
/>
</div>

<div
className="from-dark_blue_figma relative flex h-fit w-full
flex-col flex-wrap
Expand Down
42 changes: 41 additions & 1 deletion app/(pre-dashboard)/(landing)/sections/GenericSection.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import SectionTitle from './SectionTitle';
import { ReactNode } from 'react';
import Image from 'next/image';

type GenericSectionProps = {
children: ReactNode;
Expand All @@ -15,7 +16,46 @@ export default function GenericSection(props: GenericSectionProps) {
id={props.title}
className={'flex w-full flex-col items-center sections'}
>
<SectionTitle title={props.title} />
{/* <SectionTitle title={props.title} /> */}
{props.title == "Sponsors" ?
<div className='flex justify-center items-center p-4'>
<Image
src={"/landing/S2025/sponsorsflag.png"}
width="300"
height="300"
className="w-[400px] z-30"
alt={'about'}
quality={50}
/>
</div>
:
<div>
{props.title == "Schedule" ?
<div className='flex justify-center items-center p-4'>
<Image
src={"/landing/S2025/schedulebanner.png"}
width="300"
height="300"
className="w-[400px] z-30"
alt={'about'}
quality={50}
/>
</div>
:
<div className='flex justify-center items-center p-4'>
<Image
src={"/landing/S2025/faqflag.png"}
width="300"
height="300"
className="w-[400px] z-30"
alt={'about'}
quality={50}
/>
</div>
}
</div>
}

<div className="w-full h-fit sections relative">
<div className="absolute top-0 w-full h-full " />
{props.children}
Expand Down
4 changes: 2 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import '@/app/ui/global.css';
import { inter, fuzzy } from '@/app/ui/fonts';
import { inter, brush } from '@/app/ui/fonts';
import { Metadata } from 'next';
import { Analytics } from "@vercel/analytics/react"

Expand Down Expand Up @@ -31,7 +31,7 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<body className={`${fuzzy.className} antialiased`}>
<body className={`${brush.className} antialiased`}>
<Analytics />
<main>{children}</main>
</body>
Expand Down

0 comments on commit 9605fed

Please sign in to comment.