~repos /website

#astro#js#html#css

git clone https://pyrossh.dev/repos/website.git

木 Personal website of pyrossh. Built with astrojs, shiki, vite.


c8fb75f2 pyrossh

1 year ago
fix copyright
src/lib/components/Copyright.svelte ADDED
@@ -0,0 +1,9 @@
1
+ <span class="text-base text-gray-200 hover:no-underline mr-2"
2
+ >Copyright © {new Date().getFullYear()}
3
+ <a
4
+ class="decoration-2 underline underline-offset-2 font-medium hover:text-gray-400 hover:decoration-gray-400"
5
+ href="https://github.com/pyrossh"
6
+ >
7
+ pyrossh
8
+ </a>
9
+ </span>
src/lib/components/Footer.svelte CHANGED
@@ -1,4 +1,5 @@
1
1
  <script>
2
+ import Copyright from './Copyright.svelte';
2
3
  import SocialLinks from './SocialLinks.svelte';
3
4
  </script>
4
5
 
@@ -8,15 +9,7 @@
8
9
  <SocialLinks />
9
10
  </div>
10
11
  <div class="flex items-center justify-center mx-2">
11
- <span class="text-base text-gray-200 hover:no-underline mr-2"
12
- >Copyright © {new Date().getFullYear()}
13
- <a
14
- class="decoration-2 underline underline-offset-2 font-medium hover:text-gray-400 hover:decoration-gray-400"
15
- href="https://github.com/pyrossh"
16
- >
17
- pyrossh
18
- </a>
12
+ <Copyright />
19
- </span>
20
13
  </div>
21
14
  </div>
22
15
  </footer>
src/routes/only-bible-app/+page.svelte CHANGED
@@ -3,6 +3,7 @@
3
3
  import AppStoreIcon from '$lib/assets/icons/appstore.svg?component';
4
4
  import AppIconPng from '$lib/assets/images/app_icon.png';
5
5
  import AppImagePng from '$lib/assets/images/app_image.png?enhanced';
6
+ import Copyright from '$lib/components/Copyright.svelte';
6
7
  </script>
7
8
 
8
9
  <svelte:head>
@@ -79,14 +80,7 @@
79
80
  <enhanced:img class="w-9/12" src={AppImagePng} alt="app screenshot" />
80
81
  </div>
81
82
  </div>
82
- <footer class="text-center py-5 mt-20">
83
+ <footer class="not-prose text-center py-5 mt-20">
83
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
84
- <p class="text-sm text-gray-300 dark:text-neutral-400">
85
- Copyright © 2024 <a
84
+ <Copyright />
86
- class="decoration-2 underline underline-offset-2 font-medium hover:text-gray-400 hover:decoration-gray-400"
87
- href="https://github.com/pyrossh">pyrossh</a
88
- >
89
- </p>
90
- </div>
91
85
  </footer>
92
86
  </main>