Skip to content

Commit a4d9304

Browse files
update footer
1 parent 58ebcca commit a4d9304

File tree

1 file changed

+5
-22
lines changed

1 file changed

+5
-22
lines changed

src/lib/components/MainFooter.svelte

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</script>
1010

1111
{#if variant === 'homepage'}
12-
<footer class="web-main-footer relative mt-12">
12+
<footer class="web-main-footer relative mt-12 flex flex-col justify-between gap-10 lg:flex-row">
1313
<ul class="flex gap-2">
1414
{#each socials as social}
1515
<li>
@@ -25,11 +25,11 @@
2525
</li>
2626
{/each}
2727
</ul>
28-
<div class="e-main-footer">
28+
<div class="mt-1 grid grid-cols-2 gap-y-4 md:grid-cols-3">
2929
<div>Copyright © {year} Appwrite</div>
3030

3131
<iframe
32-
class="status w-full md:w-fit md:max-w-[230px]"
32+
class="w-full md:w-fit md:max-w-[230px]"
3333
title="Appwrite Status"
3434
src="https://status.appwrite.online/badge?theme=dark"
3535
height="35"
@@ -39,7 +39,7 @@
3939
style:margin-top="-4px"
4040
></iframe>
4141

42-
<ul class="flex gap-4">
42+
<ul class="flex gap-4 text-right md:justify-end">
4343
<li>
4444
<a
4545
class="web-link"
@@ -85,7 +85,7 @@
8585
<div class="web-main-footer-grid-1-column-2">
8686
<ThemeSelect />
8787
</div>
88-
<ul class="web-main-footer-grid-1-column-3 web-main-footer-links items-start">
88+
<ul class="web-main-footer-grid-1-column-3 web-main-footer-links items-end text-right">
8989
<li>
9090
<a
9191
href="/discord"
@@ -125,21 +125,4 @@
125125
margin-bottom: 6px; /* balancing due to style:margin-top="-4px" & the `iframe` has some spacings too I think */
126126
}
127127
}
128-
129-
.e-main-footer {
130-
display: flex;
131-
@media #{devices.$break1} {
132-
flex-direction: column;
133-
> * {
134-
padding-block: 1rem;
135-
&:not(:first-child) {
136-
border-block-start: solid 0.0625rem hsl(var(--web-color-border));
137-
}
138-
}
139-
}
140-
@media #{devices.$break2open} {
141-
display: flex;
142-
gap: 2rem;
143-
}
144-
}
145128
</style>

0 commit comments

Comments
 (0)