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 html attributes to hero action links #1485

Merged
merged 5 commits into from Feb 16, 2024

Conversation

timokoessler
Copy link
Contributor

Description

This pull request changes the CallToAction component to add support for setting custom html attributes of hero action links.

Relates to @delucis request on #901

Copy link

changeset-bot bot commented Feb 10, 2024

🦋 Changeset detected

Latest commit: 7fdba39

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@astrojs/starlight Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Feb 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
starlight ✅ Ready (Inspect) Visit Preview Feb 13, 2024 5:06pm

@github-actions github-actions bot added i18n Anything to do with internationalization & translation efforts 📚 docs Documentation website changes 🌟 core Changes to Starlight’s main package labels Feb 10, 2024
Copy link
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

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

Thanks for the quick response @timokoessler — I Left a couple of small notes, but basically looks great! 🚀

One more thing, usually we only update the English docs and let our translators take care of updating their languages. In this case, it does seem to be safe to do, except for Indonesian and German (id and de). Those two pages are currently outdated and updating them in this PR would cause our translation tracker to treat them as “updated” even though this PR doesn’t actually do that.

docs/src/content/docs/reference/frontmatter.md Outdated Show resolved Hide resolved
docs/src/content/docs/reference/frontmatter.md Outdated Show resolved Hide resolved
packages/starlight/components/CallToAction.astro Outdated Show resolved Hide resolved
Copy link
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks for taking care of those updates @timokoessler.

I can take care of removing the German and Indonesian docs pages from this PR.

Will aim to bundle this in the next minor with #1175, so will merge when that is ready.

@delucis delucis added the 🌟 minor Change that triggers a minor release label Feb 16, 2024
@delucis delucis merged commit 2cb3578 into withastro:main Feb 16, 2024
9 checks passed
@astrobot-houston astrobot-houston mentioned this pull request Feb 16, 2024
@delucis
Copy link
Member

delucis commented Feb 16, 2024

Thanks again for contributing this! Will be released shortly in v0.19 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌟 core Changes to Starlight’s main package 📚 docs Documentation website changes i18n Anything to do with internationalization & translation efforts 🌟 minor Change that triggers a minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants