- Notifications
You must be signed in to change notification settings - Fork0
CW2-5 Sponsors Page Draft/Template#3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
42 changes: 42 additions & 0 deletionscomponents/Footer.tsx
This file contains hidden or 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,42 @@ | ||
| import Link from 'next/link'; | ||
| const Footer = () => { | ||
| return ( | ||
| <section> | ||
| <div className="sm:flex justify-between"> | ||
| <div className="flex items-center"> | ||
| <img src="assets/csesoc_logo_white.svg" alt="CSESoc Logo" /> | ||
| <Link href="/flag/ollie_is_hiding.png" target="_blank" className="sm:hidden block"> | ||
| <img | ||
| src="/flag/ollie_is_hiding.png" | ||
| alt="Ollie" | ||
| draggable="false" | ||
| width={60} | ||
| height={60} | ||
| className="ml-10" | ||
| /> | ||
| </Link> | ||
| <img | ||
| src="/flag/ollie_is_hiding.png" | ||
| alt="Ollie" | ||
| draggable="false" | ||
| width={60} | ||
| height={60} | ||
| className="ml-10 sm:block hidden" | ||
| /> | ||
| </div> | ||
| <div className="flex flex-col max-w-[14rem] sm:mt-0 mt-10 font-light"> | ||
| <p className="mb-6">B03 CSE Building K17, UNSW csesoc@csesoc.org.au</p> | ||
| <p>© 2021 — CSESoc UNSW</p> | ||
| </div> | ||
| </div> | ||
| <img | ||
| src="assets/sponsors_backdrop.svg" | ||
| alt="Sponsors backdrop" | ||
| className="absolute bottom-0 left-0 w-screen -z-10" | ||
| /> | ||
| </section> | ||
| ); | ||
| }; | ||
| export default Footer; |
20 changes: 14 additions & 6 deletionscomponents/Navbar.tsx
This file contains hidden or 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
9 changes: 5 additions & 4 deletionscomponents/Sponsors/index.tsx
This file contains hidden or 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
59 changes: 59 additions & 0 deletionscomponents/Sponsors/sponsorlinks.tsx
This file contains hidden or 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,59 @@ | ||
| import { diamondLinks, goldLinks, silverLinks } from '../../public/data/data'; | ||
| //import '/styles/sponsorLinks.module.css'; | ||
| const logostyle = 'h-14'; | ||
| const logodiv = 'block gap-y-8 h-14'; | ||
| const background = | ||
| 'radial-gradient(50% 50% at 50% 50%, rgba(235, 1, 255, 0.6) 0%, rgba(121, 73, 255, 0.6) 48.96%, rgba(57, 119, 248, 0.6) 100%)'; | ||
| // const outer = 'rounded-[4rem] w-[90rem] flex flex-col pl-14 py-14 gap-16'; | ||
| function SponsorLinks() { | ||
| return ( | ||
| <div className="flex justify-center items-center my-20"> | ||
| <div className="w-100 flex flex-col gap-16"> | ||
| <div | ||
| style={{ backgroundImage: `${background}` }} | ||
| className="flex rounded-[1rem] pl-14 py-14 gap-16 items-center" | ||
| > | ||
| <h2 className="text-4xl font-black">Diamond Sponsors</h2> | ||
| {diamondLinks.map((item, index) => { | ||
| return ( | ||
| <a key={index} className={`${logodiv}`} href={item.href}> | ||
| <img className={`${logostyle}`} src={item.svg} alt={item.alt} /> | ||
| </a> | ||
| ); | ||
| })} | ||
| </div> | ||
| <div | ||
| style={{ backgroundImage: `${background}` }} | ||
| className="flex rounded-[1rem] px-14 py-14" | ||
| > | ||
| <h2 className="text-4xl font-black pr-16">Gold Sponsors</h2> | ||
| <div className="grid grid-cols-5 gap-16 items-center"> | ||
| {goldLinks.map((item, index) => { | ||
| return ( | ||
| <a key={index} className="" href={item.href}> | ||
| <img className="h-6" src={item.svg} alt={item.alt} /> | ||
| </a> | ||
| ); | ||
| })} | ||
| </div> | ||
| </div> | ||
| <div | ||
| style={{ backgroundImage: `${background}` }} | ||
| className="grid grid-cols-5 rounded-[1rem] pl-14 py-14 gap-16 items-center" | ||
| > | ||
| <h2 className="text-4xl font-black">Silver Sponsors</h2> | ||
| {silverLinks.map((item, index) => { | ||
| return ( | ||
| <a key={index} className="h-14" href={item.href}> | ||
| <img className="h-8" src={item.svg} alt={item.alt} /> | ||
| </a> | ||
| ); | ||
| })} | ||
| </div> | ||
| </div> | ||
| </div> | ||
| ); | ||
| } | ||
| export default SponsorLinks; |
13 changes: 13 additions & 0 deletionscomponents/Sponsors/subpage.tsx
This file contains hidden or 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 @@ | ||
| import React from 'react'; | ||
| //import '/styles/sponsors.module.css'; | ||
| import SponsorLinks from './sponsorlinks'; | ||
| const SponsorsPage = () => { | ||
| return ( | ||
| <section className=""> | ||
| <SponsorLinks /> | ||
| </section> | ||
| ); | ||
| }; | ||
| export default SponsorsPage; |
2 changes: 1 addition & 1 deletionpages/index.tsx
This file contains hidden or 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
13 changes: 13 additions & 0 deletionspages/sponsors.tsx
This file contains hidden or 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 @@ | ||
| import SponsorsPage from '@/components/Sponsors/subpage'; | ||
| import Navbar from '@/components/Navbar'; | ||
| import Footer from '@/components/Footer'; | ||
| export default function Home() { | ||
| return ( | ||
| <section className="flex flex-col min-h-screen justify-between py-8 xl:px-24 md:px-10 px-5 relative overflow-hidden"> | ||
| <Navbar /> | ||
| <SponsorsPage /> | ||
| <Footer /> | ||
| </section> | ||
| ); | ||
| } |
27 changes: 27 additions & 0 deletionspublic/assets/appian_logo.svg
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletionspublic/assets/canva_logo.svg
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletionspublic/assets/citadel_logo.svg
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletionspublic/assets/flowtraders_logo.svg
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletionspublic/assets/imc_logo.svg
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletionspublic/assets/janestreet_logo.svg
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.