Skip to content

Commit 67c5620

Browse files
committed
Move socials in the right place.
1 parent 5be4f18 commit 67c5620

File tree

1 file changed

+38
-36
lines changed

1 file changed

+38
-36
lines changed

src/components/Footer.astro

Lines changed: 38 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const socialLinks = [
2626
<p class="mb-16 text-white/10" >
2727
version: {gitVersion} @ {buildTimestamp}
2828
</p>
29-
<div class="links flex flex-wrap gap-8 justify-around">
29+
<div class="links flex flex-wrap gap-8 justify-between">
3030
{
3131
links.footer.map((section) => (
3232
<div class="md:w-auto mb-8 md:mb-0 text-start">
@@ -66,12 +66,46 @@ const socialLinks = [
6666
<div
6767
class="flex flex-col lg:flex-row self-center gap-8 lg:gap-12 justify-end"
6868
>
69-
<div class="flex flex-col text-white/40 w-full lg:w-2/3 px-6 items-center">
69+
<div class="flex flex-col text-white/40 w-full lg:w-2/3 p-5 items-center">
7070
<p>Excited about our mission? Want to collaborate or contribute? Let's connect!
7171
We're open to partnership opportunities and would love to hear your ideas.
7272
<a class="text-white" href="mailto:helpdesk@europython.eu">helpdesk@europython.eu</a>
7373
</p>
74-
<div class="social-links flex justify-center space-x-4 pt-4">
74+
75+
</div>
76+
<div class="flex text-white/40 w-full lg:w-1/3 text-start">
77+
<div>
78+
<EPSLogo width=90 height=90 class="w-[90px] mr-4 h-auto " />
79+
</div>
80+
<div>
81+
<address class="not-italic ">
82+
EuroPython Society (EPS)
83+
<br />Ramnebacken 45
84+
<br />
85+
424 38 Agnesberg
86+
<br />
87+
Sweden
88+
</address>
89+
</div>
90+
</div>
91+
</div>
92+
</div>
93+
94+
<div class=" terms flex flex-row justify-around w-1/3 pt-2">
95+
{links.terms.map((item) => (
96+
<a
97+
href={item.path}
98+
class="text-gray-700 hover:text-primary-hover transition-colors duration-200"
99+
>
100+
{item.name}
101+
{item.path.startsWith("http") && (
102+
<span class="inline-block ml-1">↗</span>
103+
)}
104+
</a>
105+
))}
106+
</div>
107+
108+
<div class="social-links flex justify-center space-x-4 opacity-40">
75109
{socialLinks
76110
.filter((link) => links.socials?.[link.key])
77111
.map((link) => {
@@ -118,44 +152,12 @@ We're open to partnership opportunities and would love to hear your ideas.
118152
class={`social-icon ${iconColor}`}
119153
>
120154
<span class="social-icon-inner">
121-
<Icon name={link.icon} style="brands" size="fa-lg" />
155+
<Icon name={link.icon} style="brands" size="fa-xl" />
122156
</span>
123157
</a>
124158
);
125159
})}
126160
</div>
127-
128-
</div>
129-
<div class="flex text-white/40 w-full lg:w-1/3 text-start">
130-
<div>
131-
<EPSLogo width=90 height=90 class="w-[90px] mr-4 h-auto " />
132-
</div>
133-
<div>
134-
<address class="not-italic ">
135-
EuroPython Society (EPS)
136-
<br />Ramnebacken 45
137-
<br />
138-
424 38 Agnesberg
139-
<br />
140-
Sweden
141-
</address>
142-
</div>
143-
</div>
144-
</div>
145-
</div>
146-
<div class=" terms flex flex-row justify-around w-1/3">
147-
{links.terms.map((item) => (
148-
<a
149-
href={item.path}
150-
class="text-gray-700 hover:text-primary-hover transition-colors duration-200"
151-
>
152-
{item.name}
153-
{item.path.startsWith("http") && (
154-
<span class="inline-block ml-1">↗</span>
155-
)}
156-
</a>
157-
))}
158-
</div>
159161
</div>
160162
<style>
161163
.links > div:first-child {

0 commit comments

Comments
 (0)