From b567fa345b9b0600ff84c43fa9a2dd252cefcab9 Mon Sep 17 00:00:00 2001 From: Chloe Date: Wed, 10 Jul 2024 19:34:04 +1000 Subject: [PATCH 1/2] add devsoc to resources --- frontend/public/assets/devsoc_logo.svg | 50 +++++++++++++++++++ frontend/src/components/Resources/index.tsx | 53 ++++++++++++++++----- 2 files changed, 91 insertions(+), 12 deletions(-) create mode 100644 frontend/public/assets/devsoc_logo.svg diff --git a/frontend/public/assets/devsoc_logo.svg b/frontend/public/assets/devsoc_logo.svg new file mode 100644 index 0000000..fdb4727 --- /dev/null +++ b/frontend/public/assets/devsoc_logo.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + diff --git a/frontend/src/components/Resources/index.tsx b/frontend/src/components/Resources/index.tsx index 8d2a0b0..9004e8c 100644 --- a/frontend/src/components/Resources/index.tsx +++ b/frontend/src/components/Resources/index.tsx @@ -3,8 +3,10 @@ import { resourceCards, stage1, stage2, stage3 } from '../../../public/data/reso const boxStyling = 'border border-[#595F6D] rounded-lg hover:border-[#788093] hover:bg-[#070034] hover:bg-opacity-75 transition-all duration-300'; -const socialsBoxStyling = - 'xl:col-span-1 col-span-3 flex justify-center pt-2 pb-2 border border-[#595F6D] hover:border-[#788093] rounded-lg hover:bg-[#070034] hover:bg-opacity-75 transition-all duration-300'; +// const socialsBoxStyling = +// 'xl:col-span-1 col-span-3 flex justify-center pt-2 pb-2 border border-[#595F6D] hover:border-[#788093] rounded-lg hover:bg-[#070034] hover:bg-opacity-75 transition-all duration-300'; +const logostyle = + 'grow-on-hover cursor-pointer transform transition-transform duration-300 hover:scale-105'; const Resources = () => { return ( @@ -16,23 +18,35 @@ const Resources = () => {

RESOURCES

+
+ Made by + CSESoc Logo +
+
- {stage1.map((item: resourceCards) => { + {stage3.map((item: resourceCards) => { return ( -
+
{item.alt}
@@ -42,16 +56,32 @@ const Resources = () => { ); })} +
+
- {stage2.map((item: resourceCards) => { + +
+ Made by + DevSoc Logo +
+
+
+
+ {stage1.map((item: resourceCards) => { return ( -
+
{item.alt} { ); })} - {stage3.map((item: resourceCards) => { + {stage2.map((item: resourceCards) => { return ( -
+
{item.alt}
From 7e8b0e3ca8a937a534a589620882843a0e7e63c9 Mon Sep 17 00:00:00 2001 From: Chloe Date: Mon, 15 Jul 2024 16:02:17 +1000 Subject: [PATCH 2/2] removing commented out code and moving styles for logo to inline --- frontend/src/components/Resources/index.tsx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/Resources/index.tsx b/frontend/src/components/Resources/index.tsx index 9004e8c..796b36c 100644 --- a/frontend/src/components/Resources/index.tsx +++ b/frontend/src/components/Resources/index.tsx @@ -2,12 +2,8 @@ import Image from 'next/image'; import { resourceCards, stage1, stage2, stage3 } from '../../../public/data/resourceCards'; const boxStyling = - 'border border-[#595F6D] rounded-lg hover:border-[#788093] hover:bg-[#070034] hover:bg-opacity-75 transition-all duration-300'; -// const socialsBoxStyling = -// 'xl:col-span-1 col-span-3 flex justify-center pt-2 pb-2 border border-[#595F6D] hover:border-[#788093] rounded-lg hover:bg-[#070034] hover:bg-opacity-75 transition-all duration-300'; -const logostyle = - 'grow-on-hover cursor-pointer transform transition-transform duration-300 hover:scale-105'; - + 'border border-[#595F6D] rounded-lg hover:border-[#788093] hover:bg-[#070034] hover:bg-opacity-75 transition-all duration-300'; + const Resources = () => { return (
@@ -60,7 +56,9 @@ const Resources = () => {
-
+
Made by