From 9de4180a7ca435871aabdadff8268604b87be556 Mon Sep 17 00:00:00 2001 From: Saucy_Salad Date: Tue, 16 Apr 2024 01:45:05 +1000 Subject: [PATCH 1/4] social media to footer --- components/Footer.tsx | 41 +++++++++++++++++++++----------- components/Sponsors/index.tsx | 29 ++--------------------- pages/index.tsx | 1 + public/data/data.ts | 44 +++++++++++++++++++++++++++++++++++ 4 files changed, 74 insertions(+), 41 deletions(-) diff --git a/components/Footer.tsx b/components/Footer.tsx index 46111f3..28361f2 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -1,29 +1,42 @@ import Link from 'next/link'; +//import SponsorLinks from './Sponsors/sponsorlinks'; +import { socialLinks } from '../public/data/data'; const Footer = () => { return (
-
-
- CSESoc Logo - +
+
+
+ CSESoc Logo + + Ollie + Ollie - - Ollie +
+
+ {socialLinks.map((item, index) => { + return ( + + {item.alt} + + ); + })} +

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

diff --git a/components/Sponsors/index.tsx b/components/Sponsors/index.tsx index 46190e4..9935fe4 100644 --- a/components/Sponsors/index.tsx +++ b/components/Sponsors/index.tsx @@ -1,5 +1,6 @@ import Link from 'next/link'; import React from 'react'; +import Footer from '../Footer'; const Sponsors = () => { const firstRowBoxesStyling = @@ -46,33 +47,7 @@ const Sponsors = () => {
-
-
- CSESoc Logo - - Ollie - - Ollie -
-
-

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

-

© 2021 — CSESoc UNSW

-
-
+
Sponsors backdrop Date: Wed, 17 Apr 2024 17:10:40 +1000 Subject: [PATCH 2/4] run lint fixes --- components/Footer.tsx | 14 +++++++------- pages/index.tsx | 1 - public/data/data.ts | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/components/Footer.tsx b/components/Footer.tsx index 28361f2..2beeb36 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -29,13 +29,13 @@ const Footer = () => { />
- {socialLinks.map((item, index) => { - return ( - - {item.alt} - - ); - })} + {socialLinks.map((item, index) => { + return ( + + {item.alt} + + ); + })}
diff --git a/pages/index.tsx b/pages/index.tsx index b096f8c..61f190d 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -3,7 +3,6 @@ import Sponsors from '@/components/Sponsors/index'; import About from '@/components/About'; import Event from '@/components/Event'; import ResourcesAndContacts from '@/components/ResourcesAndContacts'; -import Footer from '@/components/Footer'; export default function Home() { return ( diff --git a/public/data/data.ts b/public/data/data.ts index 2783b2e..df77c79 100644 --- a/public/data/data.ts +++ b/public/data/data.ts @@ -145,4 +145,4 @@ export const socialLinks: socialInfo[] = [ src: 'assets/linkedin_logo.svg', alt: 'LinkedIn' } -]; \ No newline at end of file +]; From 1bcdea669d3cf02f95d772e5fd80d0dfc6cb7f46 Mon Sep 17 00:00:00 2001 From: Saucy_Salad Date: Wed, 17 Apr 2024 22:09:09 +1000 Subject: [PATCH 3/4] image scale --- components/Footer.tsx | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/components/Footer.tsx b/components/Footer.tsx index 2beeb36..4583059 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -1,5 +1,6 @@ import Link from 'next/link'; //import SponsorLinks from './Sponsors/sponsorlinks'; +import Image from 'next/image'; import { socialLinks } from '../public/data/data'; const Footer = () => { @@ -8,9 +9,9 @@ const Footer = () => {
- CSESoc Logo + CSESoc Logo - Ollie { className="ml-10" /> - Ollie { {socialLinks.map((item, index) => { return ( - {item.alt} + {item.alt} ); })} @@ -43,9 +50,11 @@ const Footer = () => {

© 2021 — CSESoc UNSW

- Sponsors backdrop
From da9b43829624dde551f582c95ae604f9d98250d5 Mon Sep 17 00:00:00 2001 From: Saucy_Salad Date: Wed, 17 Apr 2024 22:16:44 +1000 Subject: [PATCH 4/4] remove unnecessary Image --- components/Footer.tsx | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/components/Footer.tsx b/components/Footer.tsx index 4583059..3381512 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -1,5 +1,4 @@ import Link from 'next/link'; -//import SponsorLinks from './Sponsors/sponsorlinks'; import Image from 'next/image'; import { socialLinks } from '../public/data/data'; @@ -9,8 +8,8 @@ const Footer = () => {
- CSESoc Logo - + + CSESoc Logo Ollie { className="ml-10" /> - Ollie
{socialLinks.map((item, index) => {