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: OG social image preview #1523

Closed
lorenzolewis opened this issue Sep 7, 2023 · 3 comments
Closed

Feat: OG social image preview #1523

lorenzolewis opened this issue Sep 7, 2023 · 3 comments
Milestone

Comments

@lorenzolewis
Copy link
Member

For all of our pages we don't (yet) have a social image preview. We should make something awesome! Just something based off of current branding for now until if/when we do a larger brand refresh.

@lorenzolewis lorenzolewis added this to the Tauri Docs 2.0 milestone Sep 7, 2023
@JonasKruckenberg
Copy link
Member

https://github.com/JonasKruckenberg/JonasKruckenberg/blob/main/src/pages/social-image/%5B...path%5D.png.ts

@lorenzolewis
Copy link
Member Author

I did a bit of research and digging around on this. We can't yet add dynamic things to the starlight integration as the layout which contains the head element isn't exposed. withastro/starlight#415 is probably what would enable this, allowing custom components overrides which we could then do in the head.

I'm thinking for now we just add a static image to get a nice preview (which we can do with functionality available now) and put this on the to-do list for feature enhancements once that upstream issue is addressed.

@lorenzolewis
Copy link
Member Author

Closed with #1525 , tracking dynamic OG image in #1344

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

No branches or pull requests

2 participants