Create a New Tab
A tab is a collection of cards, like Sport or Safeguarding.
Instructions
-
Add your tab to the Navbar by going to
src/components/Nav.astro, and importing the Tab like this:src/components/Nav.astro <Tab title={name} link="{/slug}" svg="{svg} /> -
Make the page by duplicating the template page named
_template.astro, and renaming it to the link name, e.gsport.astro. Make sure to change the extension of the file to.astro -
Change the variables in the file in curly brackets. Do not include the curly brackets.
-
See the next doc page for info on how to add cards to your page.