Skip to content

Commit

Permalink
fix copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrossh committed Aug 4, 2024
1 parent fedbe50 commit c8fb75f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 18 deletions.
9 changes: 9 additions & 0 deletions src/lib/components/Copyright.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<span class="text-base text-gray-200 hover:no-underline mr-2"
>Copyright © {new Date().getFullYear()}
<a
class="decoration-2 underline underline-offset-2 font-medium hover:text-gray-400 hover:decoration-gray-400"
href="https://github.com/pyrossh"
>
pyrossh
</a>
</span>
11 changes: 2 additions & 9 deletions src/lib/components/Footer.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<script>
import Copyright from './Copyright.svelte';
import SocialLinks from './SocialLinks.svelte';
</script>

Expand All @@ -8,15 +9,7 @@
<SocialLinks />
</div>
<div class="flex items-center justify-center mx-2">
<span class="text-base text-gray-200 hover:no-underline mr-2"
>Copyright © {new Date().getFullYear()}
<a
class="decoration-2 underline underline-offset-2 font-medium hover:text-gray-400 hover:decoration-gray-400"
href="https://github.com/pyrossh"
>
pyrossh
</a>
</span>
<Copyright />
</div>
</div>
</footer>
12 changes: 3 additions & 9 deletions src/routes/only-bible-app/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import AppStoreIcon from '$lib/assets/icons/appstore.svg?component';
import AppIconPng from '$lib/assets/images/app_icon.png';
import AppImagePng from '$lib/assets/images/app_image.png?enhanced';
import Copyright from '$lib/components/Copyright.svelte';
</script>

<svelte:head>
Expand Down Expand Up @@ -79,14 +80,7 @@
<enhanced:img class="w-9/12" src={AppImagePng} alt="app screenshot" />
</div>
</div>
<footer class="text-center py-5 mt-20">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<p class="text-sm text-gray-300 dark:text-neutral-400">
Copyright © 2024 <a
class="decoration-2 underline underline-offset-2 font-medium hover:text-gray-400 hover:decoration-gray-400"
href="https://github.com/pyrossh">pyrossh</a
>
</p>
</div>
<footer class="not-prose text-center py-5 mt-20">
<Copyright />
</footer>
</main>

0 comments on commit c8fb75f

Please sign in to comment.