Skip to content

Commit 3f11146

Browse files
committed
done again
1 parent fd7f8e8 commit 3f11146

15 files changed

+276
-0
lines changed

data/shownPosts.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
[
2+
{
3+
"file": "warning-post",
4+
"date": "2025-10-14",
5+
"updated": "2025-10-15"
6+
},
7+
8+
{
9+
"file": "code-example-post",
10+
"date": "2025-10-15",
11+
"updated": "2025-10-15"
12+
},
13+
14+
{
15+
"file": "first-post",
16+
"date": "2025-10-14",
17+
"updated": "2025-10-15"
18+
},
19+
20+
{
21+
"file": "long-post",
22+
"date": "2025-10-13",
23+
"updated": "2025-10-14"
24+
},
25+
26+
{
27+
"file": "second-post",
28+
"date": "2025-10-12",
29+
"updated": "2025-10-13"
30+
}
31+
]

data/shownProjects.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[
2+
{
3+
"title": "project-one",
4+
"size": 2
5+
},
6+
{
7+
"title": "project-two",
8+
"size": 1
9+
},
10+
{
11+
"title": "project-three",
12+
"size": 1
13+
},
14+
{
15+
"title": "project-four",
16+
"size": 2
17+
}
18+
]
505 KB
Binary file not shown.
290 KB
Binary file not shown.

manifest.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"short_name": "React App",
3+
"name": "Create React App Sample",
4+
"icons": [
5+
{
6+
"src": "favicon.ico",
7+
"sizes": "64x64 32x32 24x24 16x16",
8+
"type": "image/x-icon"
9+
},
10+
{
11+
"src": "logo192.png",
12+
"type": "image/png",
13+
"sizes": "192x192"
14+
},
15+
{
16+
"src": "logo512.png",
17+
"type": "image/png",
18+
"sizes": "512x512"
19+
}
20+
],
21+
"start_url": ".",
22+
"display": "standalone",
23+
"theme_color": "#000000",
24+
"background_color": "#ffffff"
25+
}

posts/code-example-post.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
title: "Code Example Post"
3+
date: "2023-10-27"
4+
description: "A blog post demonstrating code blocks in various languages."
5+
tags: ["code", "markdown", "example"]
6+
---
7+
8+
This post demonstrates how code blocks are rendered within our blog. We can include code snippets in various programming languages.
9+
10+
## Python Example
11+
12+
Here's a simple Python function:
13+
14+
```python
15+
def factorial(n):
16+
if n == 0:
17+
return 1
18+
else:
19+
return n * factorial(n-1)
20+
21+
print(factorial(5))
22+
```
23+
24+
## JavaScript Example
25+
26+
And a quick JavaScript function:
27+
28+
```javascript
29+
function greet(name) {
30+
console.log(`Hello, ${name}!`);
31+
}
32+
33+
greet("World");
34+
```
35+
36+
## HTML Example
37+
38+
Even HTML can be displayed:
39+
40+
```html
41+
<!DOCTYPE html>
42+
<html lang="en">
43+
<head>
44+
<meta charset="UTF-8">
45+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
46+
<title>Document</title>
47+
</head>
48+
<body>
49+
<h1>My Web Page</h1>
50+
</body>
51+
</html>
52+
```
53+
54+
This is just an example of how different code blocks can be presented.

posts/first-post.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: My First Post
3+
date: 2025-10-14
4+
tags: ["react", "hello-world"]
5+
---
6+
7+
# My First Post
8+
9+
This is the content of my first blog post. I'm excited to start writing!
10+
11+
Here's some code:
12+
```javascript
13+
console.log('Hello, world!');
14+
```

posts/long-post.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: The Art of Scrolling
3+
date: 2025-10-16
4+
tags: ["css", "scrolling", "web-design"]
5+
---
6+
7+
# The Art of Scrolling
8+
9+
This is a very long blog post designed to demonstrate the scrolling behavior of the sticky metadata component.
10+
11+
## Chapter 1: The Beginning
12+
13+
In the beginning, there was no scrolling. Pages were static and everything fit on one screen. It was a simpler time, but also a more limited time. The invention of the scrollbar changed everything. Suddenly, pages could be as long as you wanted them to be. This was a revolutionary idea, and it paved the way for the modern web.
14+
15+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed euismod, nisl nec ultricies lacinia, nisl nisl aliquet nisl, eget aliquam nisl nisl sit amet nisl. Sed euismod, nisl nec ultricies lacinia, nisl nisl aliquet nisl, eget aliquam nisl nisl sit amet nisl. Sed euismod, nisl nec ultricies lacinia, nisl nisl aliquet nisl, eget aliquam nisl nisl sit amet nisl. Sed euismod, nisl nec ultricies lacinia, nisl nisl aliquet nisl, eget aliquam nisl nisl sit amet nisl.
16+
17+
## Chapter 2: The Middle
18+
19+
As pages got longer, it became more difficult to navigate them. This is where sticky elements came in. Sticky elements are elements that stay in a fixed position on the screen, even when you scroll. This is useful for things like navigation bars, sidebars, and metadata. In this blog post, we are using a sticky metadata component to display the title and date of the post.
20+
21+
Here's a link to a great resource on scrolling: [CSS-Tricks](https://css-tricks.com/pure-css-scroll-snap-in-action/).
22+
23+
And here's a link to another page on this site: [My Projects](/projects).
24+
25+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed euismod, nisl nec ultricies lacinia, nisl nisl aliquet nisl, eget aliquam nisl nisl sit amet nisl. Sed euismod, nisl nec ultricies lacinia, nisl nisl aliquet nisl, eget aliquam nisl nisl sit amet nisl. Sed euismod, nisl nec ultricies lacinia, nisl nisl aliquet nisl, eget aliquam nisl nisl sit amet nisl. Sed euismod, nisl nec ultricies lacinia, nisl nisl aliquet nisl, eget aliquam nisl nisl sit amet nisl.
26+
27+
## Chapter 3: The End
28+
29+
And so, we have come to the end of our long blog post. I hope you have enjoyed this demonstration of scrolling behavior. As you can see, the sticky metadata component has stayed in a fixed position on the screen, even as you have scrolled through the post. This is a very useful feature, and it is one that you will see on many websites.
30+
31+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed euismod, nisl nec ultricies lacinia, nisl nisl aliquet nisl, eget aliquam nisl nisl sit amet nisl. Sed euismod, nisl nec ultricies lacinia, nisl nisl aliquet nisl, eget aliquam nisl nisl sit amet nisl. Sed euismod, nisl nec ultricies lacinia, nisl nisl aliquet nisl, eget aliquam nisl nisl sit amet nisl. Sed euismod, nisl nec ultricies lacinia, nisl nisl aliquet nisl, eget aliquam nisl nisl sit amet nisl.
32+
33+
## Chapter 4: The Epilogue
34+
35+
But wait, there's more! I wanted to make this post even longer, so I added an epilogue. I hope you don't mind. I just wanted to make sure that the scrolling behavior was really, really clear. I think it is now. I think this is probably the longest blog post ever written. I'm not sure, but it's got to be up there.
36+
37+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed euismod, nisl nec ultricies lacinia, nisl nisl aliquet nisl, eget aliquam nisl nisl sit amet nisl. Sed euismod, nisl nec ultricies lacinia, nisl nisl aliquet nisl, eget aliquam nisl nisl sit amet nisl. Sed euismod, nisl nec ultricies lacinia, nisl nisl aliquet nisl, eget aliquam nisl nisl sit amet nisl. Sed euismod, nisl nec ultricies lacinia, nisl nisl aliquet nisl, eget aliquam nisl nisl sit amet nisl.

posts/second-post.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: My Second Post
3+
date: 2025-10-15
4+
tags: ["writing", "updates"]
5+
---
6+
7+
# My Second Post
8+
9+
This is my second post. I'm getting the hang of this.
10+
11+
- Item 1
12+
- Item 2
13+
- Item 3

posts/warning-post.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: My Second Post
3+
date: 2025-10-15
4+
tags: ["writing", "updates"]
5+
---
6+
7+
# My Warning Post
8+
9+
> **warning**
10+
>
11+
> asda
12+
>
13+
> asd
14+
15+
This is my second post. I'm getting the hang of this.
16+
17+
- Item 1
18+
- Item 2
19+
- Item 3

0 commit comments

Comments
 (0)