Skip to content

Commit

Permalink
upgrade: Amsterdam Design System 0.14.0 (#292)
Browse files Browse the repository at this point in the history
* Update design system and minor dependencies

# Conflicts:
#	package-lock.json
#	package.json

* Replace removed Aspect Ratio component

* Implement new Header, move ‘Prototypes’ link to Footer

* Add custom column layout in mega menu

* Implement closing Alert on home page

* Fix Header Grid

* Move links in footer to mega menu

* Sort attributes for all links

* Update grid paddings

* Remove parkeervergunningen page

* Rename project page to district

* Fix hero image dimensions and source

* Revert "Update grid paddings"

This reverts commit 8ced7fa.

# Conflicts:
#	src/app/amsterdam/parkeervergunning-voor-sportverenigingen/page.tsx

* Restore configuration for update scripts

* Wrap Skip Link in Grid in Screen

* Update dependencies

* Restore configuration for update scripts
  • Loading branch information
VincentSmedinga authored Feb 10, 2025
1 parent d4bbdf7 commit 6e3ac39
Show file tree
Hide file tree
Showing 37 changed files with 528 additions and 940 deletions.
18 changes: 7 additions & 11 deletions .plop/templates/SiteLayout.tsx.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,12 @@ export default function {{pascalCase name}}({ children }) {
<Grid>
<Grid.Cell span="all">
<SkipLink href="#main">Direct naar inhoud</SkipLink>
<Header
logoLink={`${process.env.basePath}{{kebabCase name}}`}
logoLinkTitle="Naar de homepage van {{titleCase name}}"
links={
<PageMenu alignEnd>
<NextLink legacyBehavior href="/" passHref>
<PageMenu.Link>Prototypes</PageMenu.Link>
</NextLink>
</PageMenu>
}
/>
</Grid.Cell>
</Grid>
<Header
logoLink={`${process.env.basePath}{{kebabCase name}}`}
logoLinkTitle="Naar de homepage van {{titleCase name}}"
/>
<main id="main">{children}</main>
<Footer>
<Footer.Top>
Expand Down Expand Up @@ -66,6 +59,9 @@ export default function {{pascalCase name}}({ children }) {
<Grid paddingVertical="small">
<Grid.Cell span="all">
<PageMenu>
<NextLink href="/" legacyBehavior passHref>
<Header.MenuLink>Prototypes</Header.MenuLink>
</NextLink>
<PageMenu.Link href="#">Over deze site</PageMenu.Link>
<PageMenu.Link href="#">Privacy</PageMenu.Link>
<PageMenu.Link href="#">Toegankelijkheid</PageMenu.Link>
Expand Down
Loading

0 comments on commit 6e3ac39

Please sign in to comment.