From 7e259991325c9a1ad9e1236d42a5c9bf147069be Mon Sep 17 00:00:00 2001 From: Derek Tran Date: Sun, 10 Sep 2023 22:55:54 +1000 Subject: [PATCH 1/3] Implemented grid design for sponsors. --- components/Sponsors/index.tsx | 21 +++++++++++++++++++++ pages/index.tsx | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 components/Sponsors/index.tsx diff --git a/components/Sponsors/index.tsx b/components/Sponsors/index.tsx new file mode 100644 index 0000000..5b26e99 --- /dev/null +++ b/components/Sponsors/index.tsx @@ -0,0 +1,21 @@ +import React from 'react' + +const Sponsors = () => { + return ( +
+
+

04

+

SUPPORT CSESOC

+
+
+
+
+
+
+
+
+
+ ) +} + +export default Sponsors \ No newline at end of file diff --git a/pages/index.tsx b/pages/index.tsx index ef7dea4..9077f3b 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,10 +1,12 @@ import Image from "next/image"; import Landing from "@/components/Landing"; +import Sponsors from "@/components/Sponsors"; export default function Home() { return (
+
); } From 3eb74b5e26b2d61c14d4ac3d0f1defbc5e6b2fd2 Mon Sep 17 00:00:00 2001 From: Derek Tran Date: Mon, 11 Sep 2023 22:38:59 +1000 Subject: [PATCH 2/3] Finished sponsors part -responsiveness --- components/Sponsors/index.tsx | 18 +++++++++--------- public/assets/sponsors_backdrop.svg | 9 +++++++++ 2 files changed, 18 insertions(+), 9 deletions(-) create mode 100644 public/assets/sponsors_backdrop.svg diff --git a/components/Sponsors/index.tsx b/components/Sponsors/index.tsx index 29821ee..c266554 100644 --- a/components/Sponsors/index.tsx +++ b/components/Sponsors/index.tsx @@ -2,18 +2,18 @@ import React from 'react' const Sponsors = () => { return ( -
+

04

SUPPORT CSESOC

-
-
-

Our sponsors

-

Check out our very cool sponsors.

- +
+
+

Our sponsors

+

Check out our very cool sponsors.

+
Atlassian logo
@@ -24,12 +24,12 @@ const Sponsors = () => {
CSESoc Logo -
-

B03 CSE Building K17, UNSW csesoc@csesoc.org.au

+
+

B03 CSE Building K17, UNSW csesoc@csesoc.org.au

© 2021 — CSESoc UNSW

-
+ Sponsors backdrop
) } diff --git a/public/assets/sponsors_backdrop.svg b/public/assets/sponsors_backdrop.svg new file mode 100644 index 0000000..b67806c --- /dev/null +++ b/public/assets/sponsors_backdrop.svg @@ -0,0 +1,9 @@ + + + + + + + + + From 8836ee02a9628f74ad27804b7114816a47f41af0 Mon Sep 17 00:00:00 2001 From: James Teng Date: Mon, 11 Sep 2023 23:18:27 +1000 Subject: [PATCH 3/3] add responsiveness and clean up code --- components/ResourcesAndContacts/index.tsx | 2 +- components/Sponsors/index.tsx | 77 +++++++++++++---------- 2 files changed, 45 insertions(+), 34 deletions(-) diff --git a/components/ResourcesAndContacts/index.tsx b/components/ResourcesAndContacts/index.tsx index 5802924..1650297 100644 --- a/components/ResourcesAndContacts/index.tsx +++ b/components/ResourcesAndContacts/index.tsx @@ -13,7 +13,7 @@ const ResourcesAndContacts = () => {

03

-

RESOURCES & CONTACTS

+

RESOURCES & CONTACTS

diff --git a/components/Sponsors/index.tsx b/components/Sponsors/index.tsx index c266554..8c8d88d 100644 --- a/components/Sponsors/index.tsx +++ b/components/Sponsors/index.tsx @@ -1,37 +1,48 @@ -import React from 'react' +import React from "react"; const Sponsors = () => { - return ( -
-
-

04

-

SUPPORT CSESOC

-
-
-
-
-
-

Our sponsors

-

Check out our very cool sponsors.

- -
-
-
Atlassian logo
-
Google logo
-
Freelancer logo
-
Microsoft logo
-
-
-
- CSESoc Logo -
-

B03 CSE Building K17, UNSW csesoc@csesoc.org.au

-

© 2021 — CSESoc UNSW

-
+ const firstRowBoxesStyling = "xl:p-16 p-10 flex justify-center items-center xl:col-span-3 sm:col-span-5 col-span-10 xl:row-start-1 xl:row-end-2 sm:row-start-3 sm:row-end-4 sm:h-auto h-36"; + const secondRowBoxesStyling = "xl:p-16 p-10 flex justify-center items-center xl:col-span-3 sm:col-span-5 col-span-10 xl:row-start-2 xl:row-end-3 sm:row-start-4 sm:row-end-5 sm:h-auto h-36"; + + return ( +
+
+

04

+

SUPPORT CSESOC

+
+
+
+
+
+

Our sponsors

+

Check out our very cool sponsors.

+
- Sponsors backdrop -
- ) -} +
+
+ Atlassian logo +
+
+ Google logo +
+
+ Freelancer logo +
+
+ Microsoft logo +
+
+ +
+ CSESoc Logo +
+

B03 CSE Building K17, UNSW csesoc@csesoc.org.au

+

© 2021 — CSESoc UNSW

+
+
+ Sponsors backdrop +
+ ); +}; -export default Sponsors \ No newline at end of file +export default Sponsors;