Browse Source

refactor

master
Silberengel 3 months ago
parent
commit
15fac3bcd8
  1. 4
      public/healthz.json
  2. 12
      src/app.html
  3. 25
      static/README.md
  4. BIN
      static/aitherboard-og.jpg
  5. BIN
      static/apple-touch-icon-114x114.png
  6. BIN
      static/apple-touch-icon-120x120.png
  7. BIN
      static/apple-touch-icon-144x144.png
  8. BIN
      static/apple-touch-icon-152x152.png
  9. BIN
      static/apple-touch-icon-180x180.png
  10. BIN
      static/apple-touch-icon-57x57.png
  11. BIN
      static/apple-touch-icon-60x60.png
  12. BIN
      static/apple-touch-icon-72x72.png
  13. BIN
      static/apple-touch-icon-76x76.png
  14. BIN
      static/favicon.ico
  15. 24
      static/favicon.svg
  16. BIN
      static/og-image.png
  17. 3
      vite.config.ts

4
public/healthz.json

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
"status": "ok",
"service": "aitherboard",
"version": "0.1.0",
"buildTime": "2026-02-03T07:39:15.977Z",
"buildTime": "2026-02-03T07:57:56.985Z",
"gitCommit": "unknown",
"timestamp": 1770104355977
"timestamp": 1770105476985
}

12
src/app.html

@ -5,8 +5,8 @@ @@ -5,8 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Favicon -->
<link rel="icon" type="image/svg+xml" href="%sveltekit.assets%/favicon.svg" />
<link rel="apple-touch-icon" href="%sveltekit.assets%/favicon.svg" />
<link rel="icon" type="image/x-icon" href="%sveltekit.assets%/favicon.ico" />
<link rel="apple-touch-icon" href="%sveltekit.assets%/favicon.ico" />
<!-- Primary Meta Tags -->
<title>Aitherboard - Decentralized Messageboard on Nostr</title>
@ -17,10 +17,10 @@ @@ -17,10 +17,10 @@
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://aitherboard.com/" />
<meta property="og:url" content="https://aitherboard.imwald.eu/" />
<meta property="og:title" content="Aitherboard - Decentralized Messageboard on Nostr" />
<meta property="og:description" content="A decentralized messageboard built on the Nostr protocol. Create threads, comment, react, and zap in a censorship-resistant environment." />
<meta property="og:image" content="%sveltekit.assets%/aitherboard-og.jpg" />
<meta property="og:image" content="%sveltekit.assets%/og-image.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Aitherboard - Decentralized Messageboard on Nostr" />
@ -29,10 +29,10 @@ @@ -29,10 +29,10 @@
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:url" content="https://aitherboard.com/" />
<meta name="twitter:url" content="https://aitherboard.imwald.eu/" />
<meta name="twitter:title" content="Aitherboard - Decentralized Messageboard on Nostr" />
<meta name="twitter:description" content="A decentralized messageboard built on the Nostr protocol. Create threads, comment, react, and zap in a censorship-resistant environment." />
<meta name="twitter:image" content="%sveltekit.assets%/aitherboard-og.jpg" />
<meta name="twitter:image" content="%sveltekit.assets%/og-image.png" />
<meta name="twitter:image:alt" content="Aitherboard - Decentralized Messageboard on Nostr" />
<!-- Additional Meta Tags -->

25
static/README.md

@ -1,25 +0,0 @@ @@ -1,25 +0,0 @@
# Static Assets
This directory contains static assets for Aitherboard.
## Files
- `favicon.svg` - SVG favicon (works in modern browsers)
- `og-image.svg` - OpenGraph social sharing image (1200x630px)
- `manifest.json` - PWA manifest file
## Production Notes
For better compatibility, consider:
1. **Favicon**: Generate a `.ico` file from `favicon.svg` for older browsers
- Use a tool like [RealFaviconGenerator](https://realfavicongenerator.net/) or ImageMagick
- Add `<link rel="icon" href="/favicon.ico" sizes="32x32">` to app.html
2. **OpenGraph Image**: Convert `og-image.svg` to PNG format for better social media compatibility
- Some platforms (Facebook, LinkedIn) prefer PNG over SVG
- Use ImageMagick: `convert og-image.svg -resize 1200x630 og-image.png`
- Update app.html to reference `og-image.png` instead of `og-image.svg`
3. **Apple Touch Icon**: Generate PNG versions for iOS devices
- Sizes: 180x180, 152x152, 144x144, 120x120, 114x114, 76x76, 72x72, 60x60, 57x57

BIN
static/aitherboard-og.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

BIN
static/apple-touch-icon-114x114.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
static/apple-touch-icon-120x120.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
static/apple-touch-icon-144x144.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
static/apple-touch-icon-152x152.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

BIN
static/apple-touch-icon-180x180.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
static/apple-touch-icon-57x57.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

BIN
static/apple-touch-icon-60x60.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
static/apple-touch-icon-72x72.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

BIN
static/apple-touch-icon-76x76.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

BIN
static/favicon.ico

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

24
static/favicon.svg

@ -1,24 +0,0 @@ @@ -1,24 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
<!-- Fog gradient background -->
<defs>
<linearGradient id="fogGradient" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#f8fafc;stop-opacity:1" />
<stop offset="50%" style="stop-color:#e2e8f0;stop-opacity:1" />
<stop offset="100%" style="stop-color:#cbd5e1;stop-opacity:1" />
</linearGradient>
<filter id="fogBlur">
<feGaussianBlur in="SourceGraphic" stdDeviation="1.5"/>
</filter>
</defs>
<!-- Background with fog effect -->
<rect width="64" height="64" fill="url(#fogGradient)"/>
<!-- Misty layers -->
<ellipse cx="20" cy="25" rx="18" ry="12" fill="#f8fafc" opacity="0.6" filter="url(#fogBlur)"/>
<ellipse cx="44" cy="35" rx="20" ry="14" fill="#e2e8f0" opacity="0.5" filter="url(#fogBlur)"/>
<ellipse cx="32" cy="45" rx="16" ry="10" fill="#cbd5e1" opacity="0.4" filter="url(#fogBlur)"/>
<!-- Letter A in fog style -->
<text x="32" y="42" font-family="system-ui, sans-serif" font-size="28" font-weight="300" text-anchor="middle" fill="#64748b" opacity="0.8">A</text>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

BIN
static/og-image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 KiB

3
vite.config.ts

@ -22,6 +22,7 @@ export default defineConfig({ @@ -22,6 +22,7 @@ export default defineConfig({
},
build: {
target: 'esnext',
sourcemap: true
sourcemap: true,
manifest: false
}
});

Loading…
Cancel
Save