File tree 4 files changed +59
-22
lines changed
4 files changed +59
-22
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ export interface Props {
3
+ to: string ;
4
+ }
5
+
6
+ const { to } = Astro .props ;
7
+ ---
8
+
9
+ <a href ={ to } class =" text-xl text-gray-200 underline hover:text-gray-400" ><slot /></a >
Original file line number Diff line number Diff line change
1
+ ---
2
+ import Layout from ' ../layouts/Layout.astro' ;
3
+ import tips from ' ../data/tips.json'
4
+
5
+ const tipsCounts = tips .length ;
6
+ ---
7
+
8
+ <Layout >
9
+ <main >
10
+ <h1 class =" text-gray-100 text-4xl font-bold" >about</h1 >
11
+
12
+ <p class =" text-gray-300 text-l my-3" >
13
+ while i was in highschool (circa 2009-2013), these quotes circulated
14
+ the social media platforms. i originally wrote an android app to
15
+ display them (which search, saving as favorites, and sharing functionality)
16
+ -- but they've since disappeared from the internet.
17
+ </p >
18
+
19
+ <p class =" text-gray-300 text-l my-4" >
20
+ i built this to resurrect and provide a way
21
+ for them to live on (in some fashion)
22
+ </p >
23
+
24
+ <p class =" text-gray-300 text-l my-4" >
25
+ there are { tipsCounts } tips recorded
26
+ </p >
27
+ </main >
28
+ </Layout >
Original file line number Diff line number Diff line change 1
1
---
2
2
import Layout from ' ../layouts/Layout.astro' ;
3
- import tips from ' ../data/tips.json'
4
-
5
- const tipsCounts = tips .length ;
3
+ import Link from ' ../layouts/Link.astro' ;
6
4
---
7
5
8
6
<Layout >
9
- <main >
10
- <h1 class =" text-gray-100 text-2xl" >Welcome to the brotips archive!</h1 >
11
-
12
- <p class =" text-gray-300 text-l my-3" >
13
- While I was in highschool (circa 2009-2013), these quotes circulated
14
- the social media platforms. I originally wrote an Android app to
15
- display them (which search, saving as favorites, and sharing functionality)
16
- -- but they've since disappeared slowly from the internet.
17
- </p >
18
-
19
- <p class =" text-gray-300 text-l my-3" >
20
- I built this resurrect and provide a way
21
- for them to live on (in some fashion).
22
- </p >
23
-
24
- <p class =" text-gray-300 text-l my-3" >
25
- There are { tipsCounts } tips recorded.
26
- </p >
7
+ <main class =" flex flex-col items-center space-y-3" >
8
+ <h1 class =" text-gray-100 text-4xl font-bold" >brotips archive</h1 >
27
9
28
- <a href =" /brotips/tips/1/" class =" text-lg text-gray-200 underline hover:text-gray-400" >Get started!</a >
10
+ <Link to =" /brotips/tips/1/" >browse</a >
11
+ <Link to =" /brotips/about/" >about</a >
12
+ <Link to =" /brotips/sightings/" >sightings</a >
29
13
</main >
30
14
</Layout >
Original file line number Diff line number Diff line change
1
+ ---
2
+ import Layout from ' ../layouts/Layout.astro' ;
3
+ import Link from ' ../layouts/Link.astro' ;
4
+ ---
5
+
6
+ <Layout >
7
+ <main class =" flex flex-col space-y-3" >
8
+ <h1 class =" text-gray-100 text-4xl font-bold" >sightings</h1 >
9
+
10
+ <p class =" text-xl text-gray-200" >the quotes found in unexpected places accross the internet</p >
11
+
12
+ <Link to =" https://github.com/notepad-plus-plus/notepad-plus-plus/blob/1f4cbdb8b76c736c9ec1e69d4157c9650fd6f590/PowerEditor/src/Notepad_plus.cpp#L7596" >
13
+ brotips #1001 in notepad++
14
+ </Link >
15
+ </main >
16
+ </Layout >
You can’t perform that action at this time.
0 commit comments