File tree Expand file tree Collapse file tree 7 files changed +90
-15
lines changed Expand file tree Collapse file tree 7 files changed +90
-15
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ import Twitter from ' ./ui/Twitter.astro'
3
+ import GitHub from ' ./ui/GitHub.astro'
4
+ ---
5
+
6
+ <footer >
7
+ <div
8
+ class =" p-6 bg-white mx-auto relative z-10 overflow-hidden border border-b-0 border-gray-200"
9
+ >
10
+ <div class =" flex flex-col items-center gap-4 text-center" >
11
+ <p class =" max-w-md text-sm text-gray-500" >
12
+ Made by <a href =" https://github.com/codebyaadi" class =" text-gray-800 font-medium" >Aditya.</a >
13
+ </p >
14
+ <p class =" text-sm leading-5 text-gray-400" >
15
+ © <!-- --> 2024<!-- --> Utilstash
16
+ </p >
17
+ <div class =" flex items-center space-x-3" >
18
+ <Twitter />
19
+ <GitHub />
20
+ </div >
21
+ </div >
22
+ </div >
23
+ </footer >
Original file line number Diff line number Diff line change 1
1
---
2
2
---
3
3
4
- <nav class =" sticky inset-x-0 z-30 w-full transition-all bg-transparent " >
4
+ <nav class =" sticky inset-x-0 z-30 w-full transition-all bg-primary/10 " >
5
5
<div class =" max-w-7xl mx-auto lg:px-8 px-6" >
6
6
<div class =" relative flex h-14 items-center justify-between" >
7
- <a href =" /" class =" font-semibold text-base flex items-center" >
7
+ <a href =" /utilstash " class =" font-semibold text-base flex items-center" >
8
8
<img src =" /utilstash/dizzy-face.png" alt =" utilstash" srcset =" " class =" w-6 h-6 mr-1" >
9
9
Utilstash
10
10
</a >
11
- <button class =" px-4 bg-primary h-10 rounded-full text-base" >
11
+ <a href = " https://github.com/codebyaadi " class =" px-4 bg-primary h-10 rounded-full text-base flex justify-center items-center " >
12
12
Star on GitHub
13
- </button >
13
+ </a >
14
14
</div >
15
15
</div >
16
16
</nav >
Original file line number Diff line number Diff line change
1
+ ---
2
+ ---
3
+
4
+ <a
5
+ href =" https://github.com/codebyaadi"
6
+ class =" group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100"
7
+ >
8
+ <span class =" sr-only" >Twitter</span >
9
+ <svg
10
+ xmlns =" http://www.w3.org/2000/svg"
11
+ width =" 24"
12
+ height =" 24"
13
+ viewBox =" 0 0 24 24"
14
+ fill =" none"
15
+ stroke =" currentColor"
16
+ stroke-width =" 2"
17
+ stroke-linecap =" round"
18
+ stroke-linejoin =" round"
19
+ class =" lucide lucide-github h-4 w-4 text-gray-600 transition-colors group-hover:text-black"
20
+ ><path
21
+ d =" M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"
22
+ ></path ><path d =" M9 18c-4.51 2-5-2-7-2" ></path ></svg
23
+ >
24
+ </a >
Original file line number Diff line number Diff line change
1
+ ---
2
+ ---
3
+ <a href =" https://x.com/codebyaadi" class =" group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100" >
4
+ <span class =" sr-only" >Twitter</span >
5
+ <svg
6
+ xmlns =" http://www.w3.org/2000/svg"
7
+ width =" 24"
8
+ height =" 24"
9
+ viewBox =" 0 0 24 24"
10
+ fill =" none"
11
+ stroke =" currentColor"
12
+ stroke-width =" 2"
13
+ stroke-linecap =" round"
14
+ stroke-linejoin =" round"
15
+ class =" lucide lucide-twitter h-4 w-4 text-gray-600 transition-colors group-hover:text-black"
16
+ ><path
17
+ d =" M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z"
18
+ ></path ></svg
19
+ >
20
+ </a >
21
+
Original file line number Diff line number Diff line change 1
1
---
2
2
import Navbar from ' ../components/Navbar.astro' ;
3
+ import Footer from ' ../components/Footer.astro' ;
3
4
interface Props {
4
5
title: string ;
5
6
}
@@ -13,7 +14,7 @@ const { title } = Astro.props;
13
14
<meta charset =" UTF-8" />
14
15
<meta name =" description" content =" Astro description" />
15
16
<meta name =" viewport" content =" width=device-width" />
16
- <link rel =" icon" type =" image/svg+xml" href =" /favicon.svg" />
17
+ <link rel =" icon" type =" image/svg+xml" href =" /utilstash/ favicon.svg" />
17
18
<!-- GOOGLE FONTS -->
18
19
<link rel =" preconnect" href =" https://fonts.googleapis.com" >
19
20
<link rel =" preconnect" href =" https://fonts.gstatic.com" crossorigin >
@@ -25,6 +26,7 @@ const { title } = Astro.props;
25
26
<body >
26
27
<Navbar />
27
28
<slot />
29
+ <Footer />
28
30
</body >
29
31
</html >
30
32
<style is:global >
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import Right from '../components/ui/Right.astro'
4
4
import Copy from ' ../components/ui/Copy.astro'
5
5
---
6
6
7
- <Layout title =" Welcome to Astro ." >
8
- <main class =" " >
7
+ <Layout title =" Utilstash - A collection of utility functions for everyday tasks ." >
8
+ <main class =" bg-primary/10 " >
9
9
<div class =" relative overflow-hidden" >
10
10
<div
11
11
class =" mx-auto max-w-7xl pb-24 pt-10 sm:grid lg:grid-cols-2 sm:pb-32 lg:gap-x-8 lg:px-8 lg:pt-24 lg:pb-52"
You can’t perform that action at this time.
0 commit comments