Skip to content

Commit fe81222

Browse files
committed
Fix safe area of navigation drawer, migrate docs
1 parent 2964fdd commit fe81222

File tree

6 files changed

+81
-98
lines changed

6 files changed

+81
-98
lines changed

app/lib/widgets/navigation.dart

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,14 @@ class FlowNavigation extends StatelessWidget {
188188
appBar: title == null ? null : appBar,
189189
key: _scaffoldKey,
190190
drawer: isMobile
191-
? const Drawer(
191+
? const SafeArea(
192+
child: Drawer(
192193
width: _drawerWidth,
193194
child: drawer,
194-
)
195+
))
195196
: null,
196197
endDrawer: isMobile && endDrawer != null
197-
? Drawer(child: endDrawer)
198+
? SafeArea(child: Drawer(child: endDrawer))
198199
: null,
199200
body: Row(
200201
children: [

docs/astro.config.mjs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ export default defineConfig({
2424
src: "./public/img/docs.svg",
2525
},
2626
favicon: "./favicon.svg",
27-
social: {
28-
mastodon: "https://floss.social/@linwood",
29-
matrix: "https://linwood.dev/matrix",
30-
discord: "https://linwood.dev/discord",
31-
github: "https://github.com/LinwoodDev/Flow",
32-
},
27+
social: [
28+
{icon: "mastodon", label: "Mastodon", href: "https://floss.social/@linwood"},
29+
{icon: "matrix", label: "Matrix", href: "https://linwood.dev/matrix"},
30+
{icon: "discord", label: "Discord", href: "https://linwood.dev/discord"},
31+
{icon: "blueSky", label: "Bluesky", href: "https://bsky.app/profile/linwood.dev"},
32+
{icon: "github", label: "GitHub", href: "https://github.com/LinwoodDev/Butterfly"},
33+
],
3334
components: {
34-
SocialIcons: "./src/components/CustomSocialIcons.astro",
3535
Head: "./src/components/Head.astro",
3636
Footer: "./src/components/Footer.astro",
3737
ContentPanel: "./src/components/ContentPanel.astro",

docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"@astrojs/check": "^0.9.4",
1414
"@astrojs/react": "^4.2.3",
15-
"@astrojs/starlight": "^0.32.6",
15+
"@astrojs/starlight": "^0.33.0",
1616
"@phosphor-icons/react": "^2.1.7",
1717
"@types/react": "^19.1.0",
1818
"@types/react-dom": "^19.1.1",
@@ -23,11 +23,11 @@
2323
"remark-heading-id": "^1.0.1",
2424
"typescript": "^5.8.3"
2525
},
26-
"packageManager": "pnpm@10.7.1",
26+
"packageManager": "pnpm@10.8.0",
2727
"devDependencies": {
2828
"@vite-pwa/astro": "^1.0.0",
2929
"sass": "^1.86.3",
30-
"sharp": "^0.34.0",
30+
"sharp": "^0.34.1",
3131
"vite-plugin-pwa": "^1.0.0",
3232
"workbox-window": "^7.3.0"
3333
}

0 commit comments

Comments
 (0)