Skip to content

Commit 51a54c7

Browse files
committed
Update documentation
1 parent aa3e2f0 commit 51a54c7

File tree

5 files changed

+45
-5
lines changed

5 files changed

+45
-5
lines changed

docs/src/Router.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,17 @@ const router = createHashRouter([
6666
},
6767
{
6868
path: 'changelog',
69+
element: <Navigate to="/changelog" replace />
70+
}
71+
]
72+
},
73+
{
74+
path: '/changelog',
75+
element: <Docs />,
76+
errorElement: <Error />,
77+
children: [
78+
{
79+
index: true,
6980
element: <Changelog />
7081
}
7182
]

docs/src/app/Docs/Navigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default function DocsNavigation() {
6767
{
6868
title: 'Changelog',
6969
icon: aiStar,
70-
link: '/docs/changelog'
70+
link: '/changelog'
7171
}
7272
]
7373
}

docs/src/app/Docs/pages/Changelog.tsx

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,39 @@ export default function Changelog() {
1010
<Release
1111
name="Amicons 1.0 alpha 8"
1212
version="1.0.0-alpha.8"
13-
date="April 2024"
13+
date="17 November 2024"
1414
newIcons={[
15+
'angles-x',
16+
'apple',
1517
'arrow-left-arrow-right',
1618
'arrow-rotate-left',
1719
'bars-uneven',
20+
'burger-glass',
21+
'cloud-softphone',
22+
'diagram',
23+
'fanvil',
24+
'glass',
25+
'grip-dots-h',
1826
'magnifying-glass-min',
27+
'magnifying-glass-min',
28+
'magnifying-glass-plus',
1929
'magnifying-glass-plus',
30+
'microphone-slash',
31+
'moped',
2032
'order-alphabetical-asc',
2133
'order-alphabetical-desc',
2234
'order-numerical-asc',
23-
'order-numerical-desc'
35+
'order-numerical-desc',
36+
'password',
37+
'phone-xmark',
38+
'teams',
39+
'yealink'
40+
]}
41+
updatedIcons={['angles-y', 'magnifying-glass', 'windows']}
42+
renamedIcons={[
43+
{ old: 'thumbstack', new: 'thumbtack' },
44+
{ old: 'thumbstack-slash', new: 'thumbtack-slash' }
2445
]}
25-
updatedIcons={['magnifying-glass']}
2646
/>
2747
<Release
2848
name="Amicons 1.0 alpha 7"

docs/src/design/layout/LayoutElements/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default function Footer() {
7979
</ListItemButton>
8080
</ListItem>
8181
<ListItem>
82-
<ListItemButton color="primary" variant="soft" component={NavLink} to="/docs/changelog">
82+
<ListItemButton color="primary" variant="soft" component={NavLink} to="/changelog">
8383
<ListItemContent>
8484
<Typography>Changelog</Typography>
8585
</ListItemContent>

docs/src/design/layout/LayoutElements/Navbar.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,15 @@ export default function Navbar() {
7878
>
7979
Docs
8080
</Button>
81+
<Button
82+
component={NavLink}
83+
to="/changelog"
84+
variant={location?.pathname?.startsWith('/changelog') ? 'solid' : 'plain'}
85+
size="sm"
86+
color={location?.pathname?.startsWith('/changelog') ? 'primary' : 'primary'}
87+
>
88+
Changelog
89+
</Button>
8190
</Stack>
8291
<Stack direction="row" justifyContent="flex-end">
8392
<IconButton size="sm" variant="plain" color="primary" component="a" href="https://github.com/studio384/amaranth" target="_blank">

0 commit comments

Comments
 (0)