Skip to content

Commit

Permalink
Merge pull request #81 from IERoboticsClub/main
Browse files Browse the repository at this point in the history
Footer hotfix and rollback
  • Loading branch information
velocitatem authored Oct 22, 2023
2 parents 8b9121a + dac5984 commit 4fde118
Showing 1 changed file with 13 additions and 34 deletions.
47 changes: 13 additions & 34 deletions fe-public/src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,37 +10,16 @@ import socials from '../scripts/socials.json'
---

<footer class="grid grid-cols-1 h-48">

<div>
<h2 class="text-3xl flex justify-center dark:text-slate-200 pb-10">Contact Us At</h2>
<div class="flex flex-wrap items-center justify-center space-y-4">
{
socials.map((current) => {
return (
<div class="flex flex-col items-center px-10 w-fit">
<a href={current.link} class="block">
<svg xmlns={current.xmlns} x="0px" y="0px" width="50" height="50" viewBox="0 0 24 24">
<path d={current.d} class="dark:fill-slate-300"></path>
</svg>
</a>
<h3 class="text-sm pt-2">{current.name}</h3>
</div>
)
})
}

</div>
</div>
<!--
<div>
<h1 class="text-3xl flex justify-center dark:text-slate-200 pb-5">Resources</h1>
<div class="flex">
<a href="#" class="block">Resources Link 1</a>
<a href="#" class="block">Resources Link 2</a>
<a href="#" class="block">Resources Link 3</a>
</div>
</div>
-->

</footer>
<footer class="flex justify-center text-center my-5">
<ul class="list">
{
socials.map((current) => {
return (
<li class="inline-block mx-4 p-5">
<a href={current.link}>{current.name}</a>
</li>
)
})
}
</ul>
</footer>

0 comments on commit 4fde118

Please sign in to comment.