Skip to content

Commit 8a024be

Browse files
committed
update
1 parent 5c16624 commit 8a024be

File tree

7 files changed

+45
-7
lines changed

7 files changed

+45
-7
lines changed

assets/index.css

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ svg:hover {
7272
position: sticky;
7373
top: 0;
7474
width: 100%;
75-
z-index: 1;
7675
}
7776

7877
.header-icon {
@@ -283,7 +282,21 @@ hr {
283282
}
284283

285284
h1 {
286-
top: 4rem;
287285
background-color: var(--bg);
288-
position: sticky;
289286
}
287+
288+
p:has(> img) {
289+
background-color: #0000001a;
290+
border-radius: .25rem;
291+
height: min-content;
292+
margin: auto;
293+
max-width: 100%;
294+
padding: 1rem;
295+
width: max-content;
296+
}
297+
298+
p img {
299+
display: block;
300+
margin: auto;
301+
width: 100%;
302+
}

pages/404.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
export const title = "not found"
22
export const description = "404 Not Found"
33

4-
Hello, World!
4+
# 404 Not Found
5+
6+
You've found the 404 page!
7+
8+
[Click here to return back home.](/)

pages/blog.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
export const title = "blog"
22
export const description = "Web and Software Developer"
33

4-
Hello, World!
4+
# Blog
5+
6+
I write about stuff.

pages/blog/post.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# This is a Post
2+
3+
Hello!

pages/index.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
export const title = "home"
22
export const description = "Web and Software Developer"
33

4-
Hello, World!
4+
![](/assets/portrait.png)
5+
6+
# Hello, I'm apacheli.
7+
8+
I make cool stuff.

pages/test.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ export const description = "this is a description"
33

44
# Hello, World!
55

6+
this is text
7+
68
## Hello, World!
79

810
### Hello, World!
@@ -28,6 +30,8 @@ _**all bold and italic**_
2830
Use `git status` to list all new or modified files that haven't yet been
2931
committed.
3032

33+
## borpa
34+
3135
Some basic Git commands are:
3236

3337
```
@@ -42,6 +46,10 @@ This site was built using [GitHub Pages](https://pages.github.com/).
4246

4347
![Screenshot of a comment on a GitHub issue showing an image, added in the Markdown, of an Octocat smiling and raising a tentacle.](https://myoctocat.com/assets/images/base-octocat.svg)
4448

49+
# NEW HEADER
50+
51+
## Presidents
52+
4553
- George Washington
4654

4755
* John Adams

server/build.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,11 @@ async function serve() {
106106
}
107107
await Promise.all(_files);
108108

109-
console.log("http://localhost:1337/");
109+
for (const k in paths) {
110+
console.log(` ${k}`);
111+
}
112+
console.log("\n=> http://localhost:1337/");
113+
110114
return Bun.serve({
111115
fetch: (request) => handleRequest(request, paths),
112116
port: 1337,

0 commit comments

Comments
 (0)