Skip to content

Commit 945293e

Browse files
author
apacheli
committed
update
1 parent 8a024be commit 945293e

File tree

8 files changed

+37
-27
lines changed

8 files changed

+37
-27
lines changed

assets/index.css

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ svg:hover {
3333

3434
:root {
3535
--bg: #2b5566;
36+
--dark: #0000001a;
3637
--duration: .25s;
3738
--header: #101820;
3839
--key: #ffffff1a;
39-
--sub: #9098a0;
40+
--sub: #b0b0b0;
4041
--text: #ffffff;
4142
--theme: #00c0ff;
4243
}
@@ -221,28 +222,27 @@ svg:hover {
221222
text-decoration: underline;
222223
}
223224

224-
.content h1,
225-
.content h2 {
225+
h1,
226+
h2 {
226227
border-bottom: .0625rem solid var(--sub);
227228
}
228229

229-
.content h6 {
230+
h6 {
230231
color: var(--sub);
231232
font-size: small;
232233
}
233234

234235
blockquote {
235-
background-color: #0000001a;
236-
border-bottom-right-radius: .25rem;
236+
background-color: var(--dark);
237+
border-radius: 0 .25rem .25rem 0;
237238
border-left: .25rem solid var(--sub);
238-
border-top-right-radius: .25rem;
239239
margin: 0;
240240
padding-left: 1rem;
241241
color: var(--sub);
242242
}
243243

244-
.content li code,
245-
.content p code {
244+
li code,
245+
p code {
246246
background-color: var(--header);
247247
border-radius: .25rem;
248248
padding: .25rem .5rem;
@@ -266,29 +266,25 @@ table {
266266
}
267267

268268
table,
269-
th,
270-
td {
271-
border: 1px solid var(--sub);
269+
td,
270+
th {
271+
border: .0625rem solid var(--sub);
272272
padding: .25rem .5rem;
273273
}
274274

275275
tr:nth-child(even) {
276-
background-color: #0000001a;
276+
background-color: var(--dark);
277277
}
278278

279279
hr {
280280
border: none;
281281
border-bottom: .0625rem solid var(--sub);
282282
}
283283

284-
h1 {
285-
background-color: var(--bg);
286-
}
287-
288284
p:has(> img) {
289-
background-color: #0000001a;
285+
background-color: var(--dark);
290286
border-radius: .25rem;
291-
height: min-content;
287+
height: 100%;
292288
margin: auto;
293289
max-width: 100%;
294290
padding: 1rem;
@@ -297,6 +293,5 @@ p:has(> img) {
297293

298294
p img {
299295
display: block;
300-
margin: auto;
301296
width: 100%;
302297
}

components/Footer.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,14 @@ export default render(
5555
</nav>
5656
<span>
5757
Last updated on
58-
{` ${date.getFullYear()}-${date.getMonth() + 1}-${date.getDate()} `}
58+
{` <strong>${date.getFullYear()}-${
59+
date.getMonth() + 1
60+
}-${date.getDate()}</strong> `}
5961
<a href="https://github.com/apacheli/apacheli.github.io">(Source)</a>
6062
</span>
63+
<span>
64+
Bun <strong>v{process.versions.bun}</strong>
65+
</span>
6166
<span>© 2024-present apacheli</span>
6267
</footer>,
6368
);

components/Page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default ({ title, description }, children) => {
99
{"<!DOCTYPE html>"}
1010
<html lang="en">
1111
<head>
12-
<title>{`${title} - apacheli`}</title>
12+
<title>{`${title} | apacheli`}</title>
1313
<link rel="icon" href="/assets/icon.png" />
1414
<link rel="stylesheet" href="/assets/index.css" />
1515
<meta charset="utf-8" />

pages/about.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and Lua. My goals are to build fully custom applications with performance and
99
efficiency in mind. I also like to contribute to open-source projects.
1010

1111
I'm also a hobbyist graphic designer and artist. I've use Figma and Paint.NET to
12-
make some cool stuff, e.g., the icon at the top left.
12+
make some cool stuff.
1313

1414
That's all from me. [Check out my blog](/blog) to see what I've been working on.
1515

pages/blog/post.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
export const title = "Test Blog Post"
2+
export const description = "hello world"
3+
14
# This is a Post
25

36
Hello!

pages/contact.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ export const description = "Web and Software Developer"
55

66
For business inquiries, you can contact me at [email protected].
77

8-
For everything else, you can message me on Discord. I do not respond on other
9-
platforms, unless I know you.
8+
For everything else, you can message me on Discord. I don't respond on other
9+
platforms unless I know you.

pages/index.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,9 @@ export const description = "Web and Software Developer"
55

66
# Hello, I'm apacheli.
77

8-
I make cool stuff.
8+
I build really cool stuff.
9+
10+
> My website is still currently under development. Expect to see more stuff in
11+
> the future!
12+
13+
## Projects

server/build.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ async function serve() {
109109
for (const k in paths) {
110110
console.log(` ${k}`);
111111
}
112-
console.log("\n=> http://localhost:1337/");
112+
console.log("\n=> http://localhost:1337/\n");
113113

114114
return Bun.serve({
115115
fetch: (request) => handleRequest(request, paths),
@@ -125,9 +125,11 @@ const handleRequest = (request, p) => {
125125
? p["/index.html"]
126126
: p[pathname] ?? p[`${pathname}.html`];
127127
if (r !== undefined) {
128+
console.log(` \x1b[36m200 ${pathname}\x1b[39m`);
128129
return new Response(r.data, { headers: { "Content-Type": r.type } });
129130
}
130131
r = p["/404.html"];
132+
console.log(` \x1b[31m404 ${pathname}\x1b[39m`);
131133
return r !== undefined
132134
? new Response(r.data, { status: 404, headers: { "Content-Type": r.type } })
133135
: _notFound;

0 commit comments

Comments
 (0)