Skip to content

Commit 1d2a000

Browse files
committed
wip
1 parent 56211ab commit 1d2a000

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

blog/src/Main.xmlui

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,16 @@
1717
showNavPanelThreshold: showNavPanelThreshold,
1818
posts: posts.length
1919
}}" />
20-
<CHStack marginTop="$space-4" width="98%">
21-
<Logo when="{! showNav()}" height="$space-6" />
22-
<SpaceFiller />
23-
<Link when="{!['/', '/blog'].includes($pathname)}" to="/">
24-
<Button label="Home" />
25-
</Link>
26-
<Search data="{appGlobals.plainTextContent}" />
27-
</CHStack>
28-
<NavPanel
29-
when="{navState.value.showNavPanel}">
30-
<Stack
31-
paddingHorizontal="$space-4"
32-
paddingBottom="$space-4"
33-
when="{mediaSize.sizeIndex <= 2}">
20+
<AppHeader>
21+
<property name="profileMenuTemplate">
22+
<Link when="{!['/', '/blog'].includes($pathname)}" to="/">
23+
<Button label="Home" />
24+
</Link>
3425
<Search data="{appGlobals.plainTextContent}" />
35-
</Stack>
36-
<NavGroup label="Recent posts" to="/blog">
26+
</property>
27+
</AppHeader>
28+
<NavPanel when="{showNav()}">
29+
<NavGroup label="Recent posts" to="/blog">
3730
<NavLink
3831
label="Welcome to the XMLUI blog!"
3932
to="/blog/{posts[0].slug}" />

0 commit comments

Comments
 (0)