Skip to content

Conversation

@denniwang
Copy link

ℹ️ Issue

Closes https://trello.com/c/i45MT3DO

📝 Description

I may have pushed to scaffolding on my first PR. I've included the header and the routing component

✔️ Verification

image

Copy link

@fanzzz368 fanzzz368 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

import React from 'react';

const Header = () => {
return <h2>Securing Safe Food</h2>;
Copy link
Collaborator

@sam-schu sam-schu Oct 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason for using h2 instead of h1 if this is going to be the site heading? (This should be h1 for accessibility unless there is going to be a top-level heading somewhere else on the page.)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, I didn't think much of it at the time and i'll make the change right now.

@denniwang denniwang merged commit 6bce36b into main Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants