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

Support svg images in the features section in home layout #1702

Closed
4 tasks done
MarkusKeck opened this issue Dec 16, 2022 · 1 comment · Fixed by #1738
Closed
4 tasks done

Support svg images in the features section in home layout #1702

MarkusKeck opened this issue Dec 16, 2022 · 1 comment · Fixed by #1738
Labels
enhancement New feature or request theme Related to the theme

Comments

@MarkusKeck
Copy link
Collaborator

MarkusKeck commented Dec 16, 2022

Is your feature request related to a problem? Please describe.

Currently only emojis are supported in the features section in home layout, which is already great, but there are a lot of cases where a custom image would be a better fit.

Open discussion
#1589 (comment)

Describe the solution you'd like

 features:
  - icon: [LINK TO SVG IMAGE]
    title: my title
    details: my details
    link: https://github.com/vuejs/vitepress
    linkText: Let's jump right in

Describe alternatives you've considered

No response

Additional context

No response

Validations

@brc-dd
Copy link
Member

brc-dd commented Dec 18, 2022

@userquin might wanna create a PR for this? IIRC you patched it for someone on Discord.

@brc-dd brc-dd added enhancement New feature or request theme Related to the theme labels Dec 18, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request theme Related to the theme
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants