@@ -12,10 +12,17 @@ import {
1212 SpacingS ,
1313 SpacingXS ,
1414 TitleM ,
15+ Primary300 ,
1516} from "@/app/genericComponents/tokens" ;
1617import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" ;
1718import { faUpRightFromSquare } from "@fortawesome/free-solid-svg-icons" ;
1819
20+ const BorderedSection = styled ( SectionContainer ) `
21+ border-radius: 10px;
22+ border: 0.3333rem solid ${ Primary300 } ;
23+ padding: ${ SpacingM } ;
24+ ` ;
25+
1926const HeaderSocials = styled . a `
2027 font-size: ${ TitleM } ;
2128 font-weight: bold;
@@ -56,9 +63,10 @@ const SocialItem = styled.div`
5663
5764export default function Socials ( ) {
5865 return (
59- < SectionContainer >
66+ < BorderedSection >
6067 < SectionTitle > { socials_data . title } </ SectionTitle >
6168 < SocialsDescription > { socials_data . description } </ SocialsDescription >
69+
6270 < HeaderSocials href = { "https://hackupc.com/" } target = { "_blank" } >
6371 HackUPC
6472 < FontAwesomeIcon
@@ -67,6 +75,7 @@ export default function Socials() {
6775 style = { { marginLeft : "8px" } }
6876 />
6977 </ HeaderSocials >
78+
7079 < SocialsList >
7180 { socials_data . socialsHackUPC . map ( ( social ) => (
7281 < SocialItem key = { social . label } >
@@ -81,6 +90,7 @@ export default function Socials() {
8190 </ SocialItem >
8291 ) ) }
8392 </ SocialsList >
93+
8494 < HeaderSocials href = { "https://hackersatupc.org/" } target = { "_blank" } >
8595 Hackers@UPC{ " " }
8696 < FontAwesomeIcon
@@ -89,6 +99,7 @@ export default function Socials() {
8999 style = { { marginLeft : "8px" } }
90100 />
91101 </ HeaderSocials >
102+
92103 < SocialsList >
93104 { socials_data . socialsHackersUPC . map ( ( social ) => (
94105 < SocialItem key = { social . label } >
@@ -103,6 +114,6 @@ export default function Socials() {
103114 </ SocialItem >
104115 ) ) }
105116 </ SocialsList >
106- </ SectionContainer >
117+ </ BorderedSection >
107118 ) ;
108119}
0 commit comments