Skip to content

A lightweight, macOS-style dock for Windows 11, with glass visuals, smooth magnification, and Genie effect.

feat(site): refresh visual identity and site metadata

CristianOlivera1ec84bfa92011
diff --git a/muelle/astro.config.mjs b/muelle/astro.config.mjs
index 4d552d8..ba824e8 100644
--- a/muelle/astro.config.mjs
+++ b/muelle/astro.config.mjs
@@ -4,9 +4,10 @@ import sitemap from "@astrojs/sitemap";
import tailwindcss from "@tailwindcss/vite";
export default defineConfig({
- // Placeholder until the real domain is chosen; it only feeds the canonical URL and the sitemap.
- site: "https://muelle.app",
- integrations: [sitemap()],
+ // Feeds the canonical URLs and the sitemap. Keep in sync with `site.url`.
+ site: "https://muellee.vercel.app",
+ // The 404 page must stay out: a sitemap lists canonical, indexable URLs only.
+ integrations: [sitemap({ filter: (page) => !page.endsWith("/404") })],
vite: {
plugins: [tailwindcss()],
},
diff --git a/muelle/src/assets/metadata/android-chrome-192x192.png b/muelle/public/android-chrome-192x192.png
similarity index 100%
rename from muelle/src/assets/metadata/android-chrome-192x192.png
rename to muelle/public/android-chrome-192x192.png
diff --git a/muelle/src/assets/metadata/android-chrome-512x512.png b/muelle/public/android-chrome-512x512.png
similarity index 100%
rename from muelle/src/assets/metadata/android-chrome-512x512.png
rename to muelle/public/android-chrome-512x512.png
diff --git a/muelle/src/assets/metadata/apple-touch-icon.png b/muelle/public/apple-touch-icon.png
similarity index 100%
rename from muelle/src/assets/metadata/apple-touch-icon.png
rename to muelle/public/apple-touch-icon.png
diff --git a/muelle/src/assets/metadata/favicon-16x16.png b/muelle/public/favicon-16x16.png
similarity index 100%
rename from muelle/src/assets/metadata/favicon-16x16.png
rename to muelle/public/favicon-16x16.png
diff --git a/muelle/src/assets/metadata/favicon-32x32.png b/muelle/public/favicon-32x32.png
similarity index 100%
rename from muelle/src/assets/metadata/favicon-32x32.png
rename to muelle/public/favicon-32x32.png
diff --git a/muelle/public/site.webmanifest b/muelle/public/site.webmanifest
new file mode 100644
index 0000000..49b945c
--- /dev/null
+++ b/muelle/public/site.webmanifest
@@ -0,0 +1,15 @@
+{
+ "name": "Muelle",
+ "short_name": "Muelle",
+ "description": "A macOS-style dock for Windows 11.",
+ "start_url": "/",
+ "scope": "/",
+ "display": "standalone",
+ "lang": "en",
+ "theme_color": "#0c0e0f",
+ "background_color": "#f5f3ec",
+ "icons": [
+ { "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },
+ { "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }
+ ]
+}
diff --git a/muelle/src/assets/backgrounds/closing-cta.avif b/muelle/src/assets/backgrounds/closing-cta.avif
new file mode 100644
index 0000000..7959d7b
Binary files /dev/null and b/muelle/src/assets/backgrounds/closing-cta.avif differ
diff --git a/muelle/src/assets/metadata/site.webmanifest b/muelle/src/assets/metadata/site.webmanifest
deleted file mode 100644
index 45dc8a2..0000000
--- a/muelle/src/assets/metadata/site.webmanifest
+++ /dev/null
@@ -1 +0,0 @@
-{"name":"","short_name":"","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"}
\ No newline at end of file
diff --git a/muelle/src/components/dock/CursorOverlay.astro b/muelle/src/components/dock/CursorOverlay.astro
index 790943a..49a7939 100644
--- a/muelle/src/components/dock/CursorOverlay.astro
+++ b/muelle/src/components/dock/CursorOverlay.astro
@@ -15,8 +15,14 @@ const { class: className } = Astro.props;
data-cursor
>
<svg viewBox="0 0 24 24" class="cursor-icon size-[22px] drop-shadow-[0_2px_3px_rgba(0,0,0,0.45)]">
+ <defs>
+ <linearGradient id="cursor-primary-gradient" x1="0" x2="1" y1="0" y2="1">
+ <stop offset="0%" stop-color="#f97c03" />
+ <stop offset="100%" stop-color="#f9cd5a" />
+ </linearGradient>
+ </defs>
<path
- fill="#2fd8ff"
+ fill="url(#cursor-primary-gradient)"
d="M7.13 17.25L3.33 5.82c-.54-1.63-.8-2.45-.38-2.89c.44-.43 1.26-.17 2.9.36l11.47 3.69c1.64.53 2.46.8 2.6 1.32a1 1 0 0 1 .03.34c-.04.55-.81.95-2.34 1.75c-.94.5-1.4.74-1.53 1.14l-.04.27c0 .42.37.8 1.12 1.55l3.33 3.33c.67.67 1 1 1 1.42c0 .4-.33.74-1 1.4l-.9.91c-.67.67-1 1-1.42 1s-.74-.33-1.41-1l-3.35-3.35c-.72-.73-1.09-1.1-1.5-1.1a1 1 0 0 0-.32.05c-.39.13-.62.59-1.1 1.5c-.76 1.48-1.14 2.22-1.67 2.28a1 1 0 0 1-.4-.03c-.5-.14-.76-.93-1.29-2.51"
/>
<path
@@ -28,7 +34,7 @@ const { class: className } = Astro.props;
d="M7.13 17.25L3.33 5.82c-.54-1.63-.8-2.45-.38-2.89c.44-.43 1.26-.17 2.9.36l11.47 3.69c1.64.53 2.46.8 2.6 1.32a1 1 0 0 1 .03.34c-.04.55-.81.95-2.34 1.75c-.94.5-1.4.74-1.53 1.14l-.04.27c0 .42.37.8 1.12 1.55l3.33 3.33c.67.67 1 1 1 1.42c0 .4-.33.74-1 1.4l-.9.91c-.67.67-1 1-1.42 1s-.74-.33-1.41-1l-3.35-3.35c-.72-.73-1.09-1.1-1.5-1.1a1 1 0 0 0-.32.05c-.39.13-.62.59-1.1 1.5c-.76 1.48-1.14 2.22-1.67 2.28a1 1 0 0 1-.4-.03c-.5-.14-.76-.93-1.29-2.51"
/>
</svg>
- <b class="mt-4 rounded-md bg-acid px-1.5 py-0.5 text-[11px] text-ink">demo</b>
+ <b class="mt-4 squircle-xs bg-primary-gradient px-1.5 py-0.5 text-[11px] text-ink">demo</b>
<i class="cursor-ripple" data-cursor-ripple></i>
</span>
@@ -48,7 +54,7 @@ const { class: className } = Astro.props;
left: -6px;
width: 18px;
height: 18px;
- border: 1.5px solid var(--color-acid);
+ border: 1.5px solid var(--color-primary);
border-radius: 50%;
opacity: 0;
}
diff --git a/muelle/src/components/dock/DockItem.astro b/muelle/src/components/dock/DockItem.astro
index 7061142..541a371 100644
--- a/muelle/src/components/dock/DockItem.astro
+++ b/muelle/src/components/dock/DockItem.astro
@@ -13,8 +13,7 @@ const { item } = Astro.props;
<Image
src={item.icon}
alt={item.label}
- class="w-20"
- class="size-full rounded-[12px]"
+ class="size-full squircle-md"
/>
<span class="dock-tip" aria-hidden="true">{item.label}</span>
{item.open && <i class="dock-dot" aria-hidden="true" />}
diff --git a/muelle/src/components/dock/NotesWindow.astro b/muelle/src/components/dock/NotesWindow.astro
index 3682876..308af7a 100644
--- a/muelle/src/components/dock/NotesWindow.astro
+++ b/muelle/src/components/dock/NotesWindow.astro
@@ -28,7 +28,7 @@ const tasks = [
<li>
<span
class:list={[
- "flex items-center gap-2 rounded-md px-1.5 py-1 text-[13px]",
+ "flex items-center gap-2 squircle-xs px-1.5 py-1 text-[13px]",
active ? "bg-[#0a84ff] text-white" : "text-[#1d1d1f]",
]}
>
@@ -61,7 +61,7 @@ const tasks = [
<li class="flex items-center gap-2 text-[14px]">
<span
class:list={[
- "grid size-4 shrink-0 place-items-center rounded-full",
+ "grid size-4 shrink-0 place-items-center circle",
done ? "bg-[#ffb547]" : "border-[1.3px] border-black/25",
]}
>
diff --git a/muelle/src/components/layout/SiteFooter.astro b/muelle/src/components/layout/SiteFooter.astro
index 23c12ef..4800125 100644
--- a/muelle/src/components/layout/SiteFooter.astro
+++ b/muelle/src/components/layout/SiteFooter.astro
@@ -31,7 +31,7 @@ import { site } from "@/data/site";
href={link.href}
target={link.external ? "_blank" : undefined}
rel={link.external ? "noopener noreferrer" : undefined}
- class="inline-flex items-center gap-1 transition-colors hover:text-signal focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-acid"
+ class="inline-flex items-center gap-1 transition-colors hover:text-signal focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-primary"
>
{link.label}
{link.external && <Icon name="arrow-up-right" size={12} />}
diff --git a/muelle/src/components/layout/SiteHeader.astro b/muelle/src/components/layout/SiteHeader.astro
index a35fdd4..ab23671 100644
--- a/muelle/src/components/layout/SiteHeader.astro
+++ b/muelle/src/components/layout/SiteHeader.astro
@@ -22,7 +22,7 @@ import { site } from "@/data/site";
navigation.map(({ label, href }) => (
<a
href={href}
- class="transition-colors hover:text-fg focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-acid"
+ class="transition-colors hover:text-fg focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-primary"
>
{label}
</a>
@@ -36,7 +36,7 @@ import { site } from "@/data/site";
target="_blank"
rel="noopener noreferrer"
aria-label={`${site.name} on GitHub`}
- class="rounded-full p-2 text-fg/80 transition-colors hover:bg-card hover:text-fg focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-acid"
+ class="squircle-pill p-2 text-fg/80 transition-colors hover:bg-card hover:text-fg focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"
>
<Icon name="github" size={20} />
</a>
@@ -50,7 +50,7 @@ import { site } from "@/data/site";
aria-expanded="false"
aria-controls="mobile-menu"
aria-label="Open menu"
- class="ml-1 rounded-full p-2 text-fg transition-colors hover:bg-card focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-acid md:hidden"
+ class="ml-1 squircle-pill p-2 text-fg transition-colors hover:bg-card focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary md:hidden"
>
<Icon name="menu" size={20} class="icon-menu" />
<Icon name="close" size={20} class="icon-close hidden" />
@@ -64,7 +64,7 @@ import { site } from "@/data/site";
navigation.map(({ label, href }) => (
<a
href={href}
- class="rounded-lg px-2 py-2.5 font-mono text-[12px] tracking-[0.08em] text-mute uppercase transition-colors hover:bg-card hover:text-fg"
+ class="squircle-sm px-2 py-2.5 font-mono text-[12px] tracking-[0.08em] text-mute uppercase transition-colors hover:bg-card hover:text-fg"
>
{label}
</a>
diff --git a/muelle/src/components/sections/ClosingCta.astro b/muelle/src/components/sections/ClosingCta.astro
index a69de26..e68c62c 100644
--- a/muelle/src/components/sections/ClosingCta.astro
+++ b/muelle/src/components/sections/ClosingCta.astro
@@ -2,13 +2,18 @@
import Section from "@/components/layout/Section.astro";
import Button from "@/components/ui/Button.astro";
import Icon from "@/components/ui/Icon.astro";
+import closingBackground from "@/assets/backgrounds/closing-cta.avif";
import { closing } from "@/data/install";
import { site } from "@/data/site";
import "@/styles/install.css";
---
-<Section id="download" spacing={false}>
- <div class="end" data-r>
+<Section id="download" spacing={false} class="mask-b-from-70% mask-b-to-99%">
+ <div
+ class="end"
+ data-r
+ style={`--closing-background: url("${closingBackground.src}")`}
+ >
<h2>{closing.heading}</h2>
<p class="text-lg">{closing.body}</p>
<Button href={site.download} variant="inverse">
diff --git a/muelle/src/components/sections/Features.astro b/muelle/src/components/sections/Features.astro
index 67f34ec..a82e556 100644
--- a/muelle/src/components/sections/Features.astro
+++ b/muelle/src/components/sections/Features.astro
@@ -17,7 +17,9 @@ import "@/styles/features.css";
>
<h2 class="text-[clamp(2.125rem,4.6vw,3.75rem)]">
{features.heading}
- <span class="block text-dim">{features.headingAccent}</span>
+ <span class="block bg-gradient-to-r from-neutral-600 via-neutral-400 to-white bg-clip-text text-transparent">
+ {features.headingAccent}
+ </span>
</h2>
<span class="font-mono text-[11px] leading-[1.4] tracking-[0.08em] text-mute uppercase">
{features.eyebrow}
diff --git a/muelle/src/components/sections/Hero.astro b/muelle/src/components/sections/Hero.astro
index 14f8c01..68fff03 100644
--- a/muelle/src/components/sections/Hero.astro
+++ b/muelle/src/components/sections/Hero.astro
@@ -12,14 +12,14 @@ import { site } from "@/data/site";
<Section id="top" spacing={false} class="pt-20 text-center">
<h1 data-h class="mt-[18px] text-[clamp(2.75rem,7.4vw,6rem)]">
- <span class="inline-flex items-center gap-[0.14em]">
+ <span class="relative inline-block">
Your Dock<Image
- src={kDecor}
- alt=""
- class="pointer-events-none absolute top-[0.6em] right-[3.15em] w-[0.82em] select-none -mask-linear-50 mask-linear-from-60% mask-linear-to-80%"
- />
+ src={kDecor}
+ alt=""
+ class="pointer-events-none absolute top-[0.6em] -right-[0.6em] w-[0.82em] select-none -mask-linear-50 mask-linear-from-60% mask-linear-to-80%"
+ />
</span>
- <span class="block bg-gradient-to-r from-neutral-600 via-neutral-400 to-white bg-clip-text text-transparent">now on Windows.</span>
+ <span class="block bg-gradient-to-r from-neutral-600 via-neutral-400 to-white bg-clip-text text-transparent">now on Windows.</span>
</h1>
<p data-h class="mx-auto mt-[22px] mb-[30px] max-w-[560px] text-lg text-mute">
diff --git a/muelle/src/components/sections/HowItWorks.astro b/muelle/src/components/sections/HowItWorks.astro
index 3cedd9d..9747e67 100644
--- a/muelle/src/components/sections/HowItWorks.astro
+++ b/muelle/src/components/sections/HowItWorks.astro
@@ -11,7 +11,9 @@ import { core, howItWorks, inputs, outputs } from "@/data/pipeline";
>
<h2 class="text-[clamp(2.125rem,4.6vw,3.75rem)]">
{howItWorks.heading}
- <span class="block text-dim">{howItWorks.headingAccent}</span>
+ <span class="block bg-gradient-to-r from-neutral-600 via-neutral-400 to-white bg-clip-text text-transparent">
+ {howItWorks.headingAccent}
+ </span>
</h2>
<span class="font-mono text-[11px] leading-[1.4] tracking-[0.08em] text-mute uppercase">
{howItWorks.eyebrow}
diff --git a/muelle/src/components/sections/Install.astro b/muelle/src/components/sections/Install.astro
index 8755993..4677915 100644
--- a/muelle/src/components/sections/Install.astro
+++ b/muelle/src/components/sections/Install.astro
@@ -12,7 +12,9 @@ import "@/styles/install.css";
>
<h2 class="text-[clamp(2.125rem,4.6vw,3.75rem)]">
{install.heading}
- <span class="block text-dim">{install.headingAccent}</span>
+ <span class="block bg-gradient-to-r from-neutral-600 via-neutral-400 to-white bg-clip-text text-transparent">
+ {install.headingAccent}
+ </span>
</h2>
<span class="font-mono text-[11px] leading-[1.4] tracking-[0.08em] text-mute uppercase">
{install.eyebrow}
diff --git a/muelle/src/components/ui/Badge.astro b/muelle/src/components/ui/Badge.astro
index dac2b87..a2cf858 100644
--- a/muelle/src/components/ui/Badge.astro
+++ b/muelle/src/components/ui/Badge.astro
@@ -8,7 +8,7 @@ const { class: className } = Astro.props;
<span
class:list={[
- "inline-grid place-items-center rounded-[0.3em] bg-acid text-ink",
+ "inline-grid place-items-center squircle-xs bg-primary-gradient text-ink",
"shadow-[0_0.06em_0_var(--color-ink)]",
className,
]}
diff --git a/muelle/src/components/ui/Button.astro b/muelle/src/components/ui/Button.astro
index bec6191..82a87c4 100644
--- a/muelle/src/components/ui/Button.astro
+++ b/muelle/src/components/ui/Button.astro
@@ -11,10 +11,10 @@ interface Props {
const { href, variant = "primary", size = "md", external = false, class: className } = Astro.props;
const base = [
- "inline-flex items-center gap-2.5 rounded-full border-[1.5px]",
+ "inline-flex items-center gap-2.5 squircle-pill border-[1.5px]",
"font-bold tracking-[-0.01em] transition-transform duration-[180ms]",
- "ease-[cubic-bezier(.34,1.56,.64,1)] hover:-translate-y-0.5 hover:-rotate-1",
- "focus-visible:outline-2 focus-visible:outline-offset-[3px] focus-visible:outline-acid",
+ "ease-[cubic-bezier(.34,1.56,.64,1)] hover:-translate-y-0.5 hover:scale-[1.02]",
+ "focus-visible:outline-2 focus-visible:outline-offset-[3px] focus-visible:outline-primary",
];
const sizes = {
@@ -24,14 +24,13 @@ const sizes = {
const variants = {
primary: [
- "border-ink bg-acid text-ink shadow-[0_4px_0_var(--color-ink)]",
+ "border-ink bg-primary-gradient text-ink shadow-[0_4px_0_var(--color-ink)]",
"hover:shadow-[0_6px_0_var(--color-ink)]",
"active:translate-y-[3px] active:scale-[.98] active:shadow-[0_1px_0_var(--color-ink)]",
],
secondary: ["border-fg text-fg", "active:translate-y-px active:scale-[.98]"],
- // For the cyan closing block, where the acid-on-ink pair would disappear.
inverse: [
- "border-ink bg-ink text-acid shadow-[0_4px_0_rgb(6_22_28/0.28)]",
+ "border-ink bg-ink text-primary-end shadow-[0_4px_0_rgb(6_22_28/0.28)]",
"hover:shadow-[0_6px_0_rgb(6_22_28/0.28)]",
"active:translate-y-[3px] active:scale-[.98] active:shadow-[0_1px_0_rgb(6_22_28/0.28)]",
],
diff --git a/muelle/src/components/ui/CoreCard.astro b/muelle/src/components/ui/CoreCard.astro
index 402354d..a75d150 100644
--- a/muelle/src/components/ui/CoreCard.astro
+++ b/muelle/src/components/ui/CoreCard.astro
@@ -13,7 +13,7 @@ const memory = `${core.memory.value} ${core.memory.unit}`;
---
<div
- class="core flex flex-col gap-3 rounded-[18px] p-[18px]"
+ class="core flex flex-col gap-3 squircle-lg p-[18px]"
data-r
style={`background-image: linear-gradient(rgb(0 0 0 / 0.35), rgb(0 0 0 / 0.35)), url("${coreCardBackground.src}")`}
>
@@ -22,7 +22,7 @@ const memory = `${core.memory.value} ${core.memory.unit}`;
<span>{memory}</span>
</span>
- <div class="flex justify-center gap-2.5 rounded-xl px-3 py-6">
+ <div class="flex justify-center gap-2.5 squircle-md px-3 py-6">
{
core.icons.map((icon) => (
<Image
@@ -35,7 +35,7 @@ const memory = `${core.memory.value} ${core.memory.unit}`;
}
</div>
- <span class="track h-1 overflow-hidden rounded" aria-hidden="true">
+ <span class="track h-1 overflow-hidden squircle-pill" aria-hidden="true">
<i class="progress"></i>
</span>
diff --git a/muelle/src/components/ui/Pipeline.astro b/muelle/src/components/ui/Pipeline.astro
index 9716229..d4a6df2 100644
--- a/muelle/src/components/ui/Pipeline.astro
+++ b/muelle/src/components/ui/Pipeline.astro
@@ -13,7 +13,7 @@ const { inputs, outputs, core } = Astro.props;
---
<div
- class="pipe grid items-center gap-4 rounded-[22px] border border-line bg-card p-4 min-[900px]:grid-cols-[1fr_1.25fr_1fr] min-[900px]:gap-12 min-[900px]:p-10"
+ class="pipe grid items-center gap-4 squircle-lg border border-line bg-card p-4 min-[900px]:grid-cols-[1fr_1.25fr_1fr] min-[900px]:gap-12 min-[900px]:p-10"
>
<div class="flex flex-col gap-3.5">
{inputs.map((step) => <PipelineNode step={step} direction="in" />)}
diff --git a/muelle/src/components/ui/PipelineNode.astro b/muelle/src/components/ui/PipelineNode.astro
index 56d50fd..552f9ba 100644
--- a/muelle/src/components/ui/PipelineNode.astro
+++ b/muelle/src/components/ui/PipelineNode.astro
@@ -27,6 +27,7 @@ const { step, direction } = Astro.props;
padding: 14px;
border: 1px solid var(--color-line);
border-radius: 12px;
+ corner-shape: squircle;
background: var(--color-bg);
}
diff --git a/muelle/src/components/ui/StatStrip.astro b/muelle/src/components/ui/StatStrip.astro
index 0e5a79d..9441ca6 100644
--- a/muelle/src/components/ui/StatStrip.astro
+++ b/muelle/src/components/ui/StatStrip.astro
@@ -11,29 +11,53 @@ const { class: className } = Astro.props;
const decimalsOf = (value: string) => (value.split(".")[1] ?? "").length;
---
-<div
+<dl
+ aria-label="Muelle performance metrics"
class:list={[
- "grid grid-cols-2 gap-px overflow-hidden rounded-[14px] border border-line bg-line sm:grid-cols-4",
+ "stat-strip grid grid-cols-2 overflow-hidden squircle-lg border border-white/10 sm:grid-cols-4",
className,
]}
>
{
stats.map(({ value, unit, label }) => (
- <div class="bg-bg px-5 py-[22px] text-left">
- <b class="block text-4xl font-extrabold tracking-[-0.05em] tabular-nums">
- <span data-counter data-to={value} data-decimals={decimalsOf(value)}>
- {value}
- </span>{" "}
- {unit}
- </b>
- <span class="font-mono text-[10px] tracking-[0.08em] text-mute uppercase">{label}</span>
+ <div class="stat flex min-h-[104px] flex-col justify-center px-5 py-5 text-left sm:px-7">
+ <dt class="font-mono text-[10px] tracking-[0.12em] text-white/45 uppercase">{label}</dt>
+ <dd class="mt-1 flex items-baseline gap-1.5">
+ <span class="text-3xl font-semibold tracking-[-0.05em] text-white tabular-nums sm:text-4xl">
+ <span data-counter data-to={value} data-decimals={decimalsOf(value)}>
+ {value}
+ </span>
+ </span>
+ {unit && <span class="font-mono text-xs text-white/55">{unit}</span>}
+ </dd>
</div>
))
}
-</div>
+</dl>
<script>
import { initCounters } from "@/scripts/counters";
initCounters(document);
</script>
+
+<style>
+ .stat-strip {
+ background: linear-gradient(145deg, #111214, #090a0c);
+ box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.035);
+ }
+
+ .stat + .stat {
+ border-left: 1px solid rgb(255 255 255 / 0.08);
+ }
+
+ @media (max-width: 639px) {
+ .stat:nth-child(3) {
+ border-left: 0;
+ }
+
+ .stat:nth-child(n + 3) {
+ border-top: 1px solid rgb(255 255 255 / 0.08);
+ }
+ }
+</style>
diff --git a/muelle/src/data/site.ts b/muelle/src/data/site.ts
index 5aabd3b..704de5c 100644
--- a/muelle/src/data/site.ts
+++ b/muelle/src/data/site.ts
@@ -3,8 +3,15 @@
export const site = {
name: "Muelle",
tagline: "The macOS Dock, made for Windows.",
+ /** Kept under ~155 characters so Google does not truncate it. */
description:
- "Muelle replaces the Windows 11 taskbar with a macOS-style dock: icons that grow under the cursor, minimized windows as live thumbnails, an optional menu bar and Genie effect. Free and open source.",
+ "Muelle replaces the Windows 11 taskbar with a glass dock: icons that grow under your cursor and minimized windows as live thumbnails. Free and open source.",
+ /** Canonical origin. Must match `site` in astro.config.mjs and the sitemap. */
+ url: "https://muellee.vercel.app",
+ /** Path to the social card in `public/`. Empty until the image exists: the
+ * Open Graph tags are then omitted instead of pointing at a 404. */
+ ogImage: "",
+ locale: "en_US",
repository: "https://github.com/crafter-station/Muelle",
releases: "https://github.com/crafter-station/Muelle/releases",
download: "https://github.com/crafter-station/Muelle/releases/latest/download/Muelle-Setup.exe",
diff --git a/muelle/src/layouts/BaseLayout.astro b/muelle/src/layouts/BaseLayout.astro
index e94a439..69602f2 100644
--- a/muelle/src/layouts/BaseLayout.astro
+++ b/muelle/src/layouts/BaseLayout.astro
@@ -1,15 +1,57 @@
---
import { Font } from "astro:assets";
import IconSprite from "@/components/ui/IconSprite.astro";
+import { site } from "@/data/site";
import "@/styles/global.css";
interface Props {
title: string;
description: string;
+ /** Error pages: keep them out of the index and skip the product schema. */
+ noindex?: boolean;
}
-const { title, description } = Astro.props;
-const canonical = new URL(Astro.url.pathname, Astro.site);
+const { title, description, noindex = false } = Astro.props;
+const canonical = new URL(Astro.url.pathname, Astro.site ?? site.url);
+const ogImage = site.ogImage ? new URL(site.ogImage, site.url).href : null;
+
+const author = {
+ "@type": "Organization",
+ name: "Crafter Station",
+ url: "https://github.com/crafter-station",
+};
+
+// Lets Google show the product as an app result: name, price, platform, source.
+const schema = noindex
+ ? null
+ : {
+ "@context": "https://schema.org",
+ "@type": "SoftwareApplication",
+ name: site.name,
+ applicationCategory: "UtilitiesApplication",
+ applicationSubCategory: "Desktop enhancement",
+ operatingSystem: "Windows 11",
+ softwareRequirements: "Windows 11, 64-bit",
+ description: site.description,
+ url: new URL("/", site.url).href,
+ downloadUrl: site.download,
+ softwareVersion: site.version,
+ license: `${site.repository}/blob/main/LICENSE`,
+ codeRepository: site.repository,
+ author,
+ publisher: author,
+ inLanguage: "en",
+ isAccessibleForFree: true,
+ featureList: [
+ "Icons that grow under the cursor",
+ "Minimized windows as live thumbnails",
+ "Drag files onto apps",
+ "Optional top menu bar",
+ "Restores the Windows taskbar when the dock stops",
+ ],
+ offers: { "@type": "Offer", price: "0", priceCurrency: "USD" },
+ ...(ogImage && { screenshot: ogImage }),
+ };
---
<!doctype html>
@@ -20,20 +62,54 @@ const canonical = new URL(Astro.url.pathname, Astro.site);
<meta name="color-scheme" content="light dark" />
<title>{title}</title>
<meta name="description" content={description} />
- <link rel="canonical" href={canonical} />
- <link rel="icon" href="/favicon.webp" type="image/webp" />
+ <meta
+ name="robots"
+ content={noindex
+ ? "noindex, follow"
+ : "index, follow, max-image-preview:large, max-snippet:-1"}
+ />
+ {!noindex && <link rel="canonical" href={canonical} />}
+
<meta property="og:type" content="website" />
+ <meta property="og:site_name" content={site.name} />
+ <meta property="og:locale" content={site.locale} />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
- <meta property="og:url" content={canonical} />
+ {!noindex && <meta property="og:url" content={canonical} />}
+ {
+ ogImage && (
+ <>
+ <meta property="og:image" content={ogImage} />
+ <meta property="og:image:alt" content={`${site.name} — ${site.tagline}`} />
+ </>
+ )
+ }
+
+ <meta name="twitter:card" content={ogImage ? "summary_large_image" : "summary"} />
+ <meta name="twitter:title" content={title} />
+ <meta name="twitter:description" content={description} />
+ {ogImage && <meta name="twitter:image" content={ogImage} />}
+
+ <link rel="icon" href="/favicon.webp" type="image/webp" sizes="any" />
+ <link rel="icon" href="/favicon-32x32.png" type="image/png" sizes="32x32" />
+ <link rel="icon" href="/favicon-16x16.png" type="image/png" sizes="16x16" />
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180" />
+ <link rel="manifest" href="/site.webmanifest" />
+ <link rel="sitemap" type="application/xml" href="/sitemap-index.xml" />
+
+ <meta name="theme-color" content="#f5f3ec" media="(prefers-color-scheme: light)" />
+ <meta name="theme-color" content="#0c0e0f" media="(prefers-color-scheme: dark)" />
+
<meta name="generator" content={Astro.generator} />
+ {schema && <script type="application/ld+json" set:html={JSON.stringify(schema)} />}
+
<Font cssVariable="--font-jakarta" preload />
<Font cssVariable="--font-jetbrains" />
</head>
<body>
<a
href="#top"
- class="sr-only focus:not-sr-only focus:fixed focus:top-3 focus:left-3 focus:z-[60] focus:rounded-full focus:bg-acid focus:px-4 focus:py-2 focus:font-bold focus:text-ink"
+ class="sr-only focus:not-sr-only focus:fixed focus:top-3 focus:left-3 focus:z-[60] focus:squircle-pill focus:bg-primary-gradient focus:px-4 focus:py-2 focus:font-bold focus:text-ink"
>
Skip to content
</a>
diff --git a/muelle/src/styles/dock.css b/muelle/src/styles/dock.css
index e7332f8..e7a8fb5 100644
--- a/muelle/src/styles/dock.css
+++ b/muelle/src/styles/dock.css
@@ -6,7 +6,7 @@
overflow: hidden;
background:
radial-gradient(circle at 1px 1px, rgb(255 255 255 / 0.07) 1px, transparent 0) 0 0 / 22px 22px,
- radial-gradient(circle 420px at 80% 22%, rgb(47 216 255 / 0.3), rgb(47 216 255 / 0)),
+ radial-gradient(circle 420px at 80% 22%, rgb(249 124 3 / 0.3), rgb(249 124 3 / 0)),
radial-gradient(circle 360px at 14% 72%, rgb(120 90 255 / 0.26), rgb(120 90 255 / 0)),
linear-gradient(180deg, #0b1a2a, #0f3550 58%, #16607e);
}
@@ -55,6 +55,7 @@
overflow: hidden;
border: 1px solid #2a2e30;
border-radius: 18px;
+ corner-shape: squircle;
background: #0f1214;
color: #f2f1ec;
text-align: left;
@@ -82,6 +83,7 @@
height: 100%;
overflow: hidden;
border-radius: 14px;
+ corner-shape: squircle;
background: rgb(255 253 247 / 0.97);
color: #1d1d1f;
box-shadow: 0 30px 60px rgb(0 0 0 / 0.38);
@@ -140,6 +142,7 @@
list-style: none;
border: 1px solid rgb(255 255 255 / 0.12);
border-radius: 22px;
+ corner-shape: squircle;
background: rgb(255 255 255 / 0.14);
box-shadow:
0 10px 36px rgb(0 0 0 / 0.35),
@@ -154,6 +157,7 @@
inset: -1px;
padding: 1px;
border-radius: inherit;
+ corner-shape: inherit;
pointer-events: none;
background: linear-gradient(
135deg,
@@ -217,12 +221,13 @@
width: 100%;
height: 100%;
border: 1px solid rgb(255 255 255 / 0.6);
- border-radius: 12%;
+ border-radius: 50%;
+ corner-shape: squircle;
box-shadow: 0 3px 8px rgb(0 0 0 / 0.4);
}
.dock-thumb:focus-visible {
- outline: 2px solid var(--color-acid);
+ outline: 2px solid var(--color-primary);
outline-offset: 4px;
}
@@ -234,6 +239,7 @@
padding: 5px 11px;
border: 1px solid rgb(255 255 255 / 0.12);
border-radius: 8px;
+ corner-shape: squircle;
background: rgb(20 22 24 / 0.78);
backdrop-filter: blur(12px);
font-size: 0.8125rem;
diff --git a/muelle/src/styles/features.css b/muelle/src/styles/features.css
index 7c596e0..a60489d 100644
--- a/muelle/src/styles/features.css
+++ b/muelle/src/styles/features.css
@@ -15,6 +15,7 @@
overflow: hidden;
border: 1px solid var(--color-line);
border-radius: 20px;
+ corner-shape: squircle;
background: var(--color-card);
transition: border-color 0.16s;
}
@@ -33,11 +34,12 @@
position: absolute;
inset: 0;
border-radius: inherit;
+ corner-shape: inherit;
pointer-events: none;
opacity: 0;
background: radial-gradient(
280px circle at var(--mx, 50%) var(--my, 50%),
- color-mix(in oklab, var(--color-acid) 16%, transparent),
+ color-mix(in oklab, var(--color-primary) 16%, transparent),
transparent 70%
);
transition: opacity 0.3s;
@@ -87,17 +89,17 @@
.tl .is-live::after {
border-color: var(--color-ink);
- background: var(--color-acid);
+ background: var(--gradient-primary);
animation: tl-ping 2s ease-out infinite;
}
@keyframes tl-ping {
0% {
- box-shadow: 0 0 0 0 rgb(47 216 255 / 0.55);
+ box-shadow: 0 0 0 0 rgb(249 124 3 / 0.55);
}
80%,
100% {
- box-shadow: 0 0 0 9px rgb(47 216 255 / 0);
+ box-shadow: 0 0 0 9px rgb(249 124 3 / 0);
}
}
@@ -121,7 +123,7 @@
background:
radial-gradient(
70% 70% at calc(50% + var(--tx, 0) * 30%) calc(50% + var(--ty, 0) * 30%),
- rgb(47 216 255 / 0.5),
+ rgb(249 124 3 / 0.5),
transparent 70%
),
linear-gradient(160deg, #1a1d4a, #0e3550);
@@ -133,6 +135,7 @@
padding: 14px;
border: 1px solid rgb(255 255 255 / 0.4);
border-radius: 24px;
+ corner-shape: squircle;
background: linear-gradient(135deg, rgb(255 255 255 / 0.28), rgb(255 255 255 / 0.06));
box-shadow:
inset 0 1px 0 rgb(255 255 255 / 0.6),
@@ -184,6 +187,7 @@
.range::-webkit-slider-runnable-track {
height: 6px;
border-radius: 99px;
+ corner-shape: squircle;
background: linear-gradient(
90deg,
var(--color-fg) calc(8px + (100% - 16px) * var(--p)),
@@ -194,6 +198,7 @@
.range::-moz-range-track {
height: 6px;
border-radius: 99px;
+ corner-shape: squircle;
background: linear-gradient(
90deg,
var(--color-fg) calc(8px + (100% - 16px) * var(--p)),
@@ -252,6 +257,7 @@
margin-top: auto;
padding: 8px 14px;
border-radius: 12px;
+ corner-shape: squircle;
background: #14202b;
color: #fff;
font-size: 0.8125rem;
@@ -262,13 +268,16 @@
padding: 16px;
overflow-x: auto;
border-radius: 12px;
+ corner-shape: squircle;
background: #0f1214;
color: #d9dcde;
font: 0.75rem/1.9 var(--font-mono);
}
.code span {
- color: #5ee1ff;
+ background-image: var(--gradient-primary);
+ background-clip: text;
+ color: transparent;
}
@media (max-width: 899px) {
diff --git a/muelle/src/styles/global.css b/muelle/src/styles/global.css
index d4a9324..e76f11c 100644
--- a/muelle/src/styles/global.css
+++ b/muelle/src/styles/global.css
@@ -14,13 +14,59 @@
/* 0.46 keeps the ghost half of a heading at 3.1:1 on --bg: still clearly secondary,
but large text meets the 3:1 floor instead of 2.4:1. */
--color-dim: rgb(20 17 15 / 0.46);
- --color-acid: #2fd8ff;
+ --color-primary: #f97c03;
+ --color-primary-end: #f9cd5a;
--color-ink: #06161c;
- /* 4.8:1 on --bg; the original #0a7a99 sat at 4.44:1, just under AA for body text. */
- --color-signal: #0a7490;
+ --color-signal: #994900;
--color-amber: #ffb547;
}
+:root {
+ --gradient-primary: linear-gradient(
+ 105deg,
+ var(--color-primary) 0%,
+ var(--color-primary-end) 100%
+ );
+}
+
+@utility bg-primary-gradient {
+ background-image: var(--gradient-primary);
+}
+
+@utility squircle-xs {
+ corner-shape: squircle;
+ border-radius: 4px;
+}
+
+@utility squircle-sm {
+ corner-shape: squircle;
+ border-radius: 8px;
+}
+
+@utility squircle-md {
+ corner-shape: squircle;
+ border-radius: 14px;
+}
+
+@utility squircle-lg {
+ corner-shape: squircle;
+ border-radius: 22px;
+}
+
+@utility squircle-xl {
+ corner-shape: squircle;
+ border-radius: 30px;
+}
+
+@utility squircle-pill {
+ corner-shape: squircle;
+ border-radius: 9999px;
+}
+
+@utility circle {
+ border-radius: 50%;
+}
+
/* Theme variables live in Tailwind's `theme` layer, so an unlayered override wins without `!important`. */
@media (prefers-color-scheme: dark) {
:root {
@@ -30,7 +76,7 @@
--color-mute: #9a978d;
--color-line: #26292b;
--color-dim: rgb(242 241 236 / 0.56);
- --color-signal: #5ee1ff;
+ --color-signal: #f9cd5a;
}
}
@@ -62,7 +108,7 @@
}
::selection {
- background-color: var(--color-acid);
+ background-color: var(--color-primary);
color: var(--color-ink);
}
diff --git a/muelle/src/styles/install.css b/muelle/src/styles/install.css
index b668849..d3aeccc 100644
--- a/muelle/src/styles/install.css
+++ b/muelle/src/styles/install.css
@@ -4,6 +4,7 @@
overflow: hidden;
border: 1px solid var(--color-line);
border-radius: 20px;
+ corner-shape: squircle;
background: var(--color-card);
}
@@ -32,12 +33,12 @@
}
.tabs button[aria-selected="true"] {
- background: var(--color-acid);
+ background: var(--gradient-primary);
color: var(--color-ink);
}
.tabs button:focus-visible {
- outline: 2px solid var(--color-acid);
+ outline: 2px solid var(--color-primary);
outline-offset: -3px;
}
@@ -84,6 +85,7 @@
padding: 4px 9px;
border: 1px solid var(--color-line);
border-radius: 99px;
+ corner-shape: squircle;
color: var(--color-mute);
cursor: pointer;
transition:
@@ -96,7 +98,7 @@
}
.cp:focus-visible {
- outline: 2px solid var(--color-acid);
+ outline: 2px solid var(--color-primary);
outline-offset: 2px;
}
@@ -111,8 +113,14 @@
padding: 100px 24px;
overflow: hidden;
border-radius: 28px;
- background: var(--color-acid);
- color: var(--color-ink);
+ corner-shape: squircle;
+ background-image:
+ linear-gradient(180deg, rgb(0 0 0 / 0.35), rgb(0 0 0 / 0.65)),
+ var(--closing-background);
+ background-position: center;
+ background-repeat: no-repeat;
+ background-size: cover;
+ color: var(--color-white);
text-align: center;
}
@@ -123,7 +131,7 @@
.end p {
max-width: 460px;
margin: 18px auto 30px;
- color: #124452;
+ color: #e5e5e5;
}
.end .cta-icon {