feat: add link to sitemap (#4)
All checks were successful
Code Analysis / SonarQube (push) Successful in 1m40s
Node.js CI / Lint and Test (push) Successful in 3m40s

### Explanation

_No response_

### Issue

_No response_

### Attestations

- [x] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/)
- [x] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/).
- [x] My contribution complies with the [Contributor Covenant](https://docs.nhcarrigan.com/dev/covenant/).

### Dependencies

- [ ] I have pinned the dependencies to a specific patch version.

### Style

- [x] I have run the linter and resolved any errors.
- [x] My pull request uses an appropriate title, matching the conventional commit standards.
- [x] My scope of feat/fix/chore/etc. correctly matches the nature of changes in my pull request.

### Tests

- [ ] My contribution adds new code, and I have added tests to cover it.
- [ ] My contribution modifies existing code, and I have updated the tests to reflect these changes.
- [ ] All new and existing tests pass locally with my changes.
- [ ] Code coverage remains at or above the configured threshold.

### Documentation

_No response_

### Versioning

Minor - My pull request introduces a new non-breaking feature.

Reviewed-on: #4
Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com>
Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
This commit is contained in:
Naomi Carrigan 2025-02-26 16:41:25 -08:00 committed by Naomi Carrigan
parent 839450d2a8
commit 024b29dc7e
3 changed files with 20 additions and 3 deletions

View File

@ -6,7 +6,7 @@
"typescript" "typescript"
], ],
"sonarlint.connectedMode.project": { "sonarlint.connectedMode.project": {
"connectionId": "nhcarrigan", "connectionId": "Naomi",
"projectKey": "nhcarrigan_portfolio" "projectKey": "portfolio"
} }
} }

View File

@ -47,6 +47,14 @@ const Naomi = (): JSX.Element => {
); );
})} })}
</ul> </ul>
<p>
{`Can't find what you are looking for? `}
<a
className="underline"
href="https://sitemap.nhcarrigan.com"
>{`Check out our sitemap`}</a>
{`.`}
</p>
</main> </main>
); );
}; };

View File

@ -26,7 +26,8 @@ const Home = (): JSX.Element => {
<p className="mb-4"> <p className="mb-4">
{`Welcome to the landing page for our organisation! Use the links below to navigate. {`Welcome to the landing page for our organisation! Use the links below to navigate.
If you are looking for information about Naomi `} If you are looking for information about Naomi `}
<a className="underline" href="/naomi">{`see her landing page`}</a>{`.`} <a className="underline" href="/naomi">{`see her landing page`}</a>
{`.`}
</p> </p>
<ul> <ul>
{NavItems.map((item, index) => { {NavItems.map((item, index) => {
@ -49,6 +50,14 @@ const Home = (): JSX.Element => {
); );
})} })}
</ul> </ul>
<p>
{`Can't find what you are looking for? `}
<a
className="underline"
href="https://sitemap.nhcarrigan.com"
>{`Check out our sitemap`}</a>
{`.`}
</p>
</main> </main>
); );
}; };