add favicon and image to blog article
Some checks failed
Deploy Blog / deploy (push) Has been cancelled
@@ -9,6 +9,11 @@
|
|||||||
href="https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap"
|
href="https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap"
|
||||||
rel="stylesheet">
|
rel="stylesheet">
|
||||||
|
|
||||||
|
<link rel="icon" href="/favicon.ico" sizes="any">
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||||
|
<link rel="manifest" href="/site.webmanifest">
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
%sveltekit.head%
|
%sveltekit.head%
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<article class="group overflow-hidden rounded-lg border border-gray-200 transition hover:shadow-lg">
|
<article class="group overflow-hidden rounded-lg border border-gray-200 transition hover:shadow-lg">
|
||||||
<a href="/posts/{slug}" class="block">
|
<a href="/posts/{slug}" class="block">
|
||||||
{#if image}
|
{#if image}
|
||||||
<div class="aspect-video w-full overflow-hidden bg-gray-100">
|
<div class="overflow-hidde aspect-video w-full">
|
||||||
<img
|
<img
|
||||||
src={image}
|
src={image}
|
||||||
alt={title}
|
alt={title}
|
||||||
|
|||||||
@@ -6,11 +6,11 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
<title>Blog</title>
|
<title>jawhng.xyz - blog</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<div class="mx-auto max-w-4xl px-4 py-12">
|
<div class="mx-auto max-w-4xl px-4 py-12">
|
||||||
<h1 class="mb-8 text-4xl font-bold">Blog Posts</h1>
|
<h1 class="mb-8 text-4xl font-bold">Always off-topic</h1>
|
||||||
|
|
||||||
<div class="space-y-6">
|
<div class="space-y-6">
|
||||||
{#each data.posts as post}
|
{#each data.posts as post}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "How It's Made - The Blog"
|
title: "How It's Made - The Blog"
|
||||||
date: "2025-12-22"
|
date: "2025-12-22"
|
||||||
excerpt: "A cynic walks you through building a blog with SvelteKit, particles.js that doesn't work, and enough utility classes to make you start questioning your choices."
|
excerpt: "A cynic walks you through building a blog with SvelteKit, particles.js that doesn't work, and enough utility classes to make you start questioning your choices."
|
||||||
|
image: "/images/posts/jawhng.png"
|
||||||
---
|
---
|
||||||
|
|
||||||
**Everybody's dying.** Some people are just doing it faster than others by choosing the wrong JavaScript framework.
|
**Everybody's dying.** Some people are just doing it faster than others by choosing the wrong JavaScript framework.
|
||||||
|
|||||||
BIN
static/android-chrome-192x192.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
static/android-chrome-512x512.png
Normal file
|
After Width: | Height: | Size: 88 KiB |
BIN
static/apple-touch-icon.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
static/favicon-16x16.png
Normal file
|
After Width: | Height: | Size: 943 B |
BIN
static/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
static/favicon.ico
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
static/images/posts/jawhng.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
19
static/site.webmanifest
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"name": "jawhng.xyz",
|
||||||
|
"short_name": "jawhng",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "/android-chrome-192x192.png",
|
||||||
|
"sizes": "192x192",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/android-chrome-512x512.png",
|
||||||
|
"sizes": "512x512",
|
||||||
|
"type": "image/png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"theme_color": "#ffffff",
|
||||||
|
"background_color": "#ffffff",
|
||||||
|
"display": "standalone"
|
||||||
|
}
|
||||||