-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add video to homepage hero #26
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@Newbie012 any opinion on this here? In vuejs/vitepress#1340 they say that they would like to support a video, but who knows when this feature will appear. Maybe we could still add a video (screen recording) on the homepage in the meantime? I think it would show quickly and simply what SafeQL does. Even just using your original video from the tweet would be a great start! |
I like the idea, although I think we should show a simpler and shorter videos with higher quality (the one in Twitter has a quite poor quality) that still emphasizes the power of this tool. There's this tweet as well - https://twitter.com/CoEliya/status/1570051268294463490?s=20&t=zn3SAQUNODabhAgat7aN1A |
Ok good, sounds fine to me. Is this second Twitter video good enough in your opinion? Do you have the original file at a higher quality still? Do you know VitePress well? (eg. creating a custom theme / layout based on the |
We have a few options:
Since I'm not in a hurry, then I wouldn't mind going with option one. I think I have the original video with a higher quality. |
Seems like VitePress supports this now! Although I'm not super familiar with VitePress and extending slots - not sure exactly how to implement this. I've asked in vuejs/vitepress#1340 (comment) |
|
@Newbie012 Added a Maybe ready for review now? |
Oh, the deploy preview for that does not show the video, did I do something wrong? I thought it would take place of the image on the right. Or maybe VitePress |
@karlhorky Update lock files too. |
Ok, CI is passing now, not sure what needs to be done to trigger another deploy... |
A recommendation: Split tagline (docs/index.md) to multiple lines (currently it's overlapping with the video): tagline: |
An ESLint plugin for writing SQL queries
in a type-safe way. |
Co-authored-by: Divyansh Singh <[email protected]>
Looks like it's working, thanks!! Thanks for the help and improvements @brc-dd ! 🙌 Kapture.2023-03-10.at.11.13.22.mp4 |
Cool, sorry for the delay in replying on that thread. |
No worries, thanks for getting back to it! |
Thanks everyone , it looks great 😃 |
Glad to help, thanks for the review and merge! |
Hey @Newbie012 👋 Just a quick PR adding the video from your tweet (not working yet!)
video.mp4
Ah, I guess VitePress's default theme's
home
layout doesn't support HTML in there (see screenshot below): vuejs/vitepress#1340Hm, I'm not entirely sure what to do here. Happy to follow some suggestions!
Alternative: Switch out the large logo for a GIF instead... 🤔 VitePress would support this