Skip to content

Commit

Permalink
Move footer to just main page
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Tideman committed Oct 24, 2024
1 parent 273bead commit 7ab1653
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
14 changes: 0 additions & 14 deletions snakes/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,6 @@
<main class="flex flex-col justify-center">
<slot />
</main>
<footer class="absolute right-2 bottom-2 flex flex-col items-center gap-1">
<p class="built-by">Built by</p>
<div class="flex items-center gap-1">
<a href="https://github.com/robholland" target="_blank" rel="noopener noreferrer">
<img class="rounded-full" alt="Rob" src="https://avatars.githubusercontent.com/u/9563?s=60&amp;v=4" height="30" width="30">
</a>
<a href="https://github.com/Alex-Tideman" target="_blank" rel="noopener noreferrer">
<img class="rounded-full" alt="Alex" src="https://avatars.githubusercontent.com/u/7967403?s=60&v=4" height="30" width="30">
</a>
<a href="https://github.com/steveandroulakis" target="_blank" rel="noopener noreferrer">
<img class="rounded-full" alt="Steve" src="https://avatars.githubusercontent.com/u/1109055?s=60&v=4" height="30" width="30">
</a>
</div>
</footer>
</div>

<style>
Expand Down
16 changes: 15 additions & 1 deletion snakes/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<meta name="description" content="Snakes" />
</svelte:head>

<section >
<section>
<h1 class="retro">Snakes</h1>
{#if loading}
<h2 class="retro">Loading Game...</h2>
Expand All @@ -69,3 +69,17 @@
</div>
{/if}
</section>
<footer class="absolute right-2 bottom-2 flex flex-col items-center gap-1">
<p class="built-by">Built by</p>
<div class="flex items-center gap-1">
<a href="https://github.com/robholland" target="_blank" rel="noopener noreferrer">
<img class="rounded-full" alt="Rob" src="https://avatars.githubusercontent.com/u/9563?s=60&amp;v=4" height="30" width="30">
</a>
<a href="https://github.com/Alex-Tideman" target="_blank" rel="noopener noreferrer">
<img class="rounded-full" alt="Alex" src="https://avatars.githubusercontent.com/u/7967403?s=60&v=4" height="30" width="30">
</a>
<a href="https://github.com/steveandroulakis" target="_blank" rel="noopener noreferrer">
<img class="rounded-full" alt="Steve" src="https://avatars.githubusercontent.com/u/1109055?s=60&v=4" height="30" width="30">
</a>
</div>
</footer>

0 comments on commit 7ab1653

Please sign in to comment.