Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add id on anchor tags for analytics #348

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

ocruze
Copy link
Contributor

@ocruze ocruze commented Nov 29, 2024

Hi! In the Footer component, there are a few hard-coded links but their anchor tags that don't have an id. So I added a simple code to automatically add an id to them.

And the SkipLinks component accepts a list of links but the current typed list doesn't accept an id for each of the links. So I changed the type to specify the id of each link.

@ocruze
Copy link
Contributor Author

ocruze commented Dec 12, 2024

Hello @garronej, @ddecrulle, could you please take a look at this PR? Thanks in advance.

@garronej
Copy link
Collaborator

Hello @ocruze,

Sorry for the huge delay. LGTM

@garronej garronej merged commit 9ab632d into codegouvfr:main Dec 16, 2024
6 checks passed
@ocruze
Copy link
Contributor Author

ocruze commented Dec 16, 2024

Thank you!

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.

2 participants