-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: No767 <[email protected]> Co-authored-by: Trek <[email protected]>
- Loading branch information
1 parent
94bd7c0
commit 301cd0e
Showing
10 changed files
with
1,536 additions
and
1,500 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ | |
"prettier": "3.2.5", | ||
"tailwindcss": "^3.4.1", | ||
"typescript": "5.3.3", | ||
"vite": "^5.1.4" | ||
"vite": "^5.1.1" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export const SectionTitle = ({ title }: { title: string }) => { | ||
return ( | ||
<div className="grid place-items-center pb-5"> | ||
<div> | ||
<h1 className="text-4xl font-hind tracking-wider font-semibold text-tertiary"> | ||
{title} | ||
</h1> | ||
<div className="h-2.5 w-full rounded-xl bg-secondary"/> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
import { SectionTitle } from './SectionTitle' | ||
import { | ||
Table, | ||
TableHeader, | ||
TableBody, | ||
TableColumn, | ||
TableRow, | ||
TableCell | ||
} from "@nextui-org/react"; | ||
|
||
interface Event { | ||
title: string, | ||
date: string, | ||
time: string, | ||
description: string, | ||
location: string | ||
} | ||
|
||
interface SigTopicProps { | ||
title: string, | ||
description: string, | ||
events: Event[] | ||
} | ||
|
||
const SigTopic = ({ title, description, events}: SigTopicProps) => { | ||
return ( | ||
<> | ||
<SectionTitle title={title} /> | ||
<p className=""> | ||
{description} | ||
</p> | ||
<h3 className="text-tertiary font-bold mt-8">UPCOMING EVENTS:</h3> | ||
<div className="mx-4 my-8"> | ||
<Table | ||
aria-label="SIG Event list" | ||
fullWidth={false} | ||
> | ||
<TableHeader> | ||
<TableColumn>Date & Time</TableColumn> | ||
<TableColumn>Event</TableColumn> | ||
<TableColumn>Location</TableColumn> | ||
</TableHeader> | ||
<TableBody> | ||
{ | ||
events.map((event) => ( | ||
<TableRow key={event.title}> | ||
<TableCell>{event.date} - {event.time}</TableCell> | ||
<TableCell>{event.title}</TableCell> | ||
<TableCell>{event.location}</TableCell> | ||
</TableRow> | ||
)) | ||
} | ||
</TableBody> | ||
</Table> | ||
</div> | ||
</> | ||
) | ||
} | ||
|
||
export default SigTopic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
import GlobalFooter from "../components/GlobalFooter"; | ||
import GlobalNavbar from "../components/GlobalNavbar"; | ||
import SigTopic from "../components/SigTopic"; | ||
|
||
const placeholderEvents = [ | ||
{ | ||
title: "Introduction to React", | ||
date: "2021-10-01", | ||
time: "5:00 PM", | ||
description: | ||
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Platea maecenas consequat congue elit lectus tristique eget sapien a. Tortor ullamcorper nibh sed orci eget vel faucibus non. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Platea maecenas consequat congue elit lectus tristique eget sapien a. Tortor ullamcorper nibh sed orci eget vel non.", | ||
location: "COB 267" | ||
}, | ||
{ | ||
title: "Introduction to SQL", | ||
date: "2021-10-01", | ||
time: "6:45 PM", | ||
description: | ||
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Platea maecenas consequat congue elit lectus tristique eget sapien a. Tortor ullamcorper nibh sed orci eget vel faucibus non. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Platea maecenas consequat congue elit lectus tristique eget sapien a. Tortor ullamcorper nibh sed orci eget vel non.", | ||
location: "KL 128" | ||
}, | ||
{ | ||
title: "Introduction to NextUI", | ||
date: "2021-10-01", | ||
time: "7:00 PM", | ||
description: | ||
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Platea maecenas consequat congue elit lectus tristique eget sapien a. Tortor ullamcorper nibh sed orci eget vel faucibus non. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Platea maecenas consequat congue elit lectus tristique eget sapien a. Tortor ullamcorper nibh sed orci eget vel non.", | ||
location: "SE 100" | ||
} | ||
] | ||
|
||
const Sigs = () => { | ||
return ( | ||
<> | ||
<GlobalNavbar /> | ||
<div className="sigs"> | ||
<section className="h-full pt-36 lg:pb-24 bg-landing-secondary"> | ||
<div className="flex flex-col content-end"> | ||
<h1 className="text-[72px] text-center font-normal tracking-wider text-tertiary font-bebas">Special Interest Groups</h1> | ||
<p className="px-80 text-white font-montserrat tracking-wider text-left text-[21px] leading-10"> | ||
ACM's Special Interest Groups (SIGs) represent major areas of | ||
computing, addressing the interests of technical communities that | ||
drive innovation. SIGs offer a wealth of conferences, publications | ||
and activities focused on specific computing sub-disciplines. They | ||
enable members to share expertise, discovery and best practices. | ||
</p> | ||
</div> | ||
</section> | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 1440 320" | ||
className="home__wave" | ||
> | ||
<path | ||
fill="#00e1bfcc" | ||
fillOpacity="1" | ||
d="M0,256L80,224C160,192,320,128,480,122.7C640,117,800,171,960,192C1120,213,1280,203,1360,197.3L1440,192L1440,0L1360,0C1280,0,1120,0,960,0C800,0,640,0,480,0C320,0,160,0,80,0L0,0Z" | ||
></path> | ||
</svg> | ||
<section> | ||
<ul className="mx-28 font-montseratt tracking-wider text-[20px]"> | ||
<li className="mx-60"> | ||
<SigTopic | ||
title="Software Engineering (SWE)" | ||
description="The ACM Special Interest Group on Software Engineering seeks to improve our ability to engineer software by stimulating interaction among practitioners, researchers, and educators; by fostering the professional development of software engineers; and by representing software engineers to professional, legal, and political entities." | ||
events={placeholderEvents} | ||
/> | ||
</li> | ||
</ul> | ||
</section> | ||
</div> | ||
<GlobalFooter /> | ||
</> | ||
|
||
); | ||
}; | ||
|
||
export default Sigs; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.