Skip to content

Commit e4e046e

Browse files
committed
Formatting and element positioning adjustments
1 parent 79f6f2f commit e4e046e

File tree

1 file changed

+30
-9
lines changed

1 file changed

+30
-9
lines changed

frontend/src/components/Contacts/index.tsx

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
import Image from 'next/image';
22

3-
const boxStyling =
4-
'border border-[#595F6D] rounded-lg hover:border-[#788093] hover:bg-[#070034] hover:bg-opacity-75 transition-all duration-300';
53
const socialsBoxStyling =
64
'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';
5+
const socialsStyling =
6+
'flex justify-center';
77

88
const Contacts = () => {
99
return (
1010
<div className="md:mt-10 mt-5">
1111
<div className="grid grid-cols-3 1 gap-x-9 gap-y-5 mb-10">
12-
<a href="https://bit.ly/CSESocDiscord" target="_blank" className={socialsBoxStyling}>
12+
<a href="https://bit.ly/CSESocDiscord"
13+
target="_blank"
14+
className={socialsBoxStyling}
15+
>
1316
<Image
1417
src="assets/discord_logo.svg"
1518
alt="discord logo"
@@ -50,7 +53,10 @@ const Contacts = () => {
5053
</div>
5154

5255
<div className="flex 1 justify-around xl:mx-40">
53-
<a href="https://x.com/csesoc?lang=en" target="_blank">
56+
<a href="https://x.com/csesoc?lang=en"
57+
target="_blank"
58+
className={socialsStyling}
59+
>
5460
<Image
5561
src="assets/x_twitter_icon.svg"
5662
alt="X/Twitter"
@@ -59,7 +65,10 @@ const Contacts = () => {
5965
className="mr-1 fill-white hover:scale-105 transition-all"
6066
/>
6167
</a>
62-
<a href="https://www.youtube.com/@CSESocUNSW" target="_blank">
68+
<a href="https://www.youtube.com/@CSESocUNSW"
69+
target="_blank"
70+
className={socialsStyling}
71+
>
6372
<Image
6473
src="assets/youtube_logo.svg"
6574
alt="Youtube"
@@ -68,7 +77,10 @@ const Contacts = () => {
6877
className="mr-1 fill-white hover:scale-105 transition-all"
6978
/>
7079
</a>
71-
<a href="https://www.instagram.com/csesoc_unsw/?hl=en" target="_blank">
80+
<a href="https://www.instagram.com/csesoc_unsw/?hl=en"
81+
target="_blank"
82+
className={socialsStyling}
83+
>
7284
<Image
7385
src="assets/instagram_logo.svg"
7486
alt="Instagram"
@@ -77,7 +89,10 @@ const Contacts = () => {
7789
className="mr-1 fill-white hover:scale-105 transition-all"
7890
/>
7991
</a>
80-
<a href="https://www.tiktok.com/@csesoc?lang=en" target="_blank">
92+
<a href="https://www.tiktok.com/@csesoc?lang=en"
93+
target="_blank"
94+
className={socialsStyling}
95+
>
8196
<Image
8297
src="assets/tiktok_logo.svg"
8398
alt="TikTok"
@@ -86,7 +101,10 @@ const Contacts = () => {
86101
className="mr-1 fill-white hover:scale-105 transition-all"
87102
/>
88103
</a>
89-
<a href="https://www.linkedin.com/company/csesoc?originalSubdomain=au" target="_blank">
104+
<a href="https://www.linkedin.com/company/csesoc?originalSubdomain=au"
105+
target="_blank"
106+
className={socialsStyling}
107+
>
90108
<Image
91109
src="assets/linkedin_logo.svg"
92110
alt="LinkedIn"
@@ -95,7 +113,10 @@ const Contacts = () => {
95113
className="mr-1 fill-white hover:scale-105 transition-all"
96114
/>
97115
</a>
98-
<a href="https://member.arc.unsw.edu.au/s/clubdetail?clubid=0016F0000371VxAQAU" target="_blank">
116+
<a href="https://member.arc.unsw.edu.au/s/clubdetail?clubid=0016F0000371VxAQAU"
117+
target="_blank"
118+
className={socialsStyling}
119+
>
99120
<Image
100121
src="assets/arc_logo.svg"
101122
alt="Arc Membership Portal"

0 commit comments

Comments
 (0)