Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions website/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ export default defineConfig({
dark: './src/assets/logo-dark.png',
replacesTitle: true,
},
favicon: '/favicon.svg',
favicon: '/favicon.svg?v=green-leaf-1',
head: [
// PNG fallback for browsers without SVG favicons; the SVG favicon uses dark ink on light tabs and white on dark.
{ tag: 'link', attrs: { rel: 'icon', type: 'image/png', sizes: '128x128', href: '/favicon.png' } },
// Starlight places its adaptive SVG after these explicit fallbacks.
{ tag: 'link', attrs: { rel: 'icon', type: 'image/png', sizes: '128x128', href: '/favicon.png?v=green-leaf-1', media: '(prefers-color-scheme: light)' } },
{ tag: 'link', attrs: { rel: 'icon', type: 'image/png', sizes: '128x128', href: '/favicon-dark.png?v=green-leaf-1', media: '(prefers-color-scheme: dark)' } },
{ tag: 'meta', attrs: { property: 'og:image', content: 'https://sqlclean.io/assets/og-sqlclean-docs.png' } },
{ tag: 'meta', attrs: { property: 'og:image:width', content: '1200' } },
{ tag: 'meta', attrs: { property: 'og:image:height', content: '630' } },
Expand Down
Binary file modified website/public/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/public/favicon-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/public/favicon.ico
Binary file not shown.
Binary file modified website/public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions website/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions website/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
<meta property="og:image:alt" content="SQLClean: fast SQL linting, safe fixes and one canonical format." />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://sqlclean.io/assets/og-sqlclean.png" />
<link rel="icon" type="image/png" sizes="128x128" href="assets/icon.png" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<link rel="icon" type="image/png" sizes="128x128" href="/favicon.png?v=green-leaf-1" media="(prefers-color-scheme: light)" />
<link rel="icon" type="image/png" sizes="128x128" href="/favicon-dark.png?v=green-leaf-1" media="(prefers-color-scheme: dark)" />
<link rel="icon" type="image/svg+xml" sizes="any" href="/favicon.svg?v=green-leaf-1" />
<link rel="preload" href="/fonts/inter-latin-wght-normal.woff2" as="font" type="font/woff2" crossorigin />
<link rel="stylesheet" href="styles.css" />
<script>
Expand Down
Loading