Skip to content

Commit 639d7a6

Browse files
committed
feat(docs): enhance website style, faq page content
1 parent 4fc94cf commit 639d7a6

File tree

9 files changed

+690
-228
lines changed

9 files changed

+690
-228
lines changed

AppCommands.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ struct AppCommands: Commands {
6565
// Add Help menu command
6666
CommandGroup(replacing: .help) {
6767
Button("Blankie Help") {
68-
if let url = URL(string: "https://blankie.rest/usage") {
68+
if let url = URL(string: "https://blankie.rest/faq") {
6969
NSWorkspace.shared.open(url)
7070
}
7171
}

docs/src/components/Footer.astro

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
---
44

55
<footer
6-
class="bg-gray-100 dark:bg-gray-900 py-10 text-gray-500 dark:text-gray-300 text-center"
6+
class="bg-gray-100 dark:bg-gray-900 py-10 text-gray-500 dark:text-gray-300 text-center px-2"
77
>
88
<div class="flex flex-col sm:flex-row justify-center gap-x-5 gap-y-2 mb-5">
99
<p class="order-first sm:order-last">
1010
Created by
1111
<a
1212
href="https://github.com/codybrom"
13-
class="hover:text-primary-blue transition-colors duration-300 font-bold underline"
13+
class="hover:text-yellow-500 transition-colors duration-300 font-bold underline"
1414
>Cody Bromley</a
1515
>
1616
</p>
@@ -19,7 +19,7 @@
1919
Inspired by
2020
<a
2121
href="https://apps.gnome.org/Blanket/"
22-
class="hover:text-primary-blue transition-colors duration-300 font-bold underline"
22+
class="hover:text-yellow-500 transition-colors duration-300 font-bold underline"
2323
>Blanket</a
2424
>
2525
for Linux
@@ -28,14 +28,14 @@
2828
<p class="mb-4">
2929
<a
3030
href="https://github.com/codybrom/blankie"
31-
class="hover:text-primary-blue transition-colors duration-300 underline"
32-
>Completely free and open source on Github</a
31+
class="hover:text-yellow-500 transition-colors duration-300 underline"
32+
>Open Source on GitHub</a
3333
>
3434
</p>
3535
<p>
3636
© 2025 Cody Bromley. All rights reserved.
3737
<a
38-
class="hover:text-primary-blue transition-colors duration-300 underline"
38+
class="hover:text-yellow-500 transition-colors duration-300 underline"
3939
href="https://opensource.org/license/mit">MIT License</a
4040
>.
4141
</p>

docs/src/components/Nav.astro

+23-20
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,19 @@ const currentPath = Astro.url.pathname;
2424
class="h-10 w-10 object-contain"
2525
style={{ aspectRatio: "802/666" }}
2626
/>
27-
<span class="text-2xl font-semibold tracking-tight">Blankie</span>
27+
<div class="flex items-baseline">
28+
<span class="text-2xl font-semibold tracking-tight">Blankie</span>
29+
<span class="ml-3 text-xs tracking-tight">for macOS</span>
30+
</div>
2831
</a>
29-
3032
<!-- Mobile menu button with hamburger icon -->
3133
<button
32-
id="mobile-menu-button"
34+
id="
35+
mobile-menu-button"
3336
aria-label="Toggle navigation menu"
3437
aria-expanded="false"
3538
aria-controls="mobile-menu"
36-
class="md:hidden text-white hover:text-primary-blue transition-colors duration-200 p-2"
39+
class="md:hidden text-white hover:text-yellow-500 transition-colors duration-200 p-2"
3740
>
3841
<svg
3942
xmlns="http://www.w3.org/2000/svg"
@@ -57,28 +60,28 @@ const currentPath = Astro.url.pathname;
5760
<!-- Desktop Navigation -->
5861
<div class="hidden md:flex items-center gap-x-10">
5962
<a
60-
href="/usage"
63+
href="/faq"
6164
class:list={[
62-
"text-white text-sm hover:text-primary-blue transition-colors duration-200",
63-
{ "text-primary-blue": currentPath === "/usage" },
65+
"text-white text-sm hover:text-yellow-500 transition-colors duration-200",
66+
{ "text-yellow-500": currentPath === "/faq" },
6467
]}
6568
>
66-
How to Use
69+
FAQ
6770
</a>
6871
<a
6972
href="/privacy"
7073
class:list={[
71-
"text-white text-sm hover:text-primary-blue transition-colors duration-200",
72-
{ "text-primary-blue": currentPath === "/privacy" },
74+
"text-white text-sm hover:text-yellow-500 transition-colors duration-200",
75+
{ "text-yellow-500": currentPath === "/privacy" },
7376
]}
7477
>
7578
Privacy
7679
</a>
7780
<a
7881
href="/credits"
7982
class:list={[
80-
"text-white text-sm hover:text-primary-blue transition-colors duration-200",
81-
{ "text-primary-blue": currentPath === "/credits" },
83+
"text-white text-sm hover:text-yellow-500 transition-colors duration-200",
84+
{ "text-yellow-500": currentPath === "/credits" },
8285
]}
8386
>
8487
Credits
@@ -97,28 +100,28 @@ const currentPath = Astro.url.pathname;
97100
<div id="mobile-menu" class="hidden md:hidden">
98101
<div class="flex flex-col gap-y-4 pt-4 pb-6">
99102
<a
100-
href="/usage"
103+
href="/faq"
101104
class:list={[
102-
"text-white text-sm hover:text-primary-blue transition-colors duration-200",
103-
{ "text-primary-blue": currentPath === "/usage" },
105+
"text-white text-sm hover:text-yellow-500 transition-colors duration-200",
106+
{ "text-yellow-500": currentPath === "/faq" },
104107
]}
105108
>
106-
How to Use
109+
FAQ
107110
</a>
108111
<a
109112
href="/privacy"
110113
class:list={[
111-
"text-white text-sm hover:text-primary-blue transition-colors duration-200",
112-
{ "text-primary-blue": currentPath === "/privacy" },
114+
"text-white text-sm hover:text-yellow-500 transition-colors duration-200",
115+
{ "text-yellow-500": currentPath === "/privacy" },
113116
]}
114117
>
115118
Privacy
116119
</a>
117120
<a
118121
href="/credits"
119122
class:list={[
120-
"text-white text-sm hover:text-primary-blue transition-colors duration-200",
121-
{ "text-primary-blue": currentPath === "/credits" },
123+
"text-white text-sm hover:text-yellow-500 transition-colors duration-200",
124+
{ "text-yellow-500": currentPath === "/credits" },
122125
]}
123126
>
124127
Credits

docs/src/layouts/Layout.astro

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ const description = "Ambient sound mixer for macOS.";
2323
<html lang="en" class="dark">
2424
<head>
2525
<meta charset="UTF-8" />
26-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
26+
<meta
27+
name="viewport"
28+
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
29+
/>
2730

2831
<meta
2932
http-equiv="Content-Security-Policy"

0 commit comments

Comments
 (0)