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

Add the app preview video #21

Merged
merged 3 commits into from
May 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update carousel with indicator buttons
  • Loading branch information
lilac committed May 19, 2024
commit 2b22cf79f1d0269f654ce056d9184bfa4ea5f923
30 changes: 20 additions & 10 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,26 @@ export default function Home() {
</Link>
</div>
</div>
<div className="carousel carousel-center w-full p-4 space-x-4 bg-neutral rounded-box">
<video className="carousel-item" controls>
<source src="/preview.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
<Image
src={screenshot}
alt="banner"
className="carousel-item mx-auto shadow-xl"
/>
<div>
<div className="carousel carousel-center w-full">
<div id="slide1" className="carousel-item w-full">
<video controls>
<source src="/preview.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
</div>
<div id="slide2" className="carousel-item w-full">
<Image
src={screenshot}
alt="banner"
className="mx-auto shadow-xl rounded-box"
/>
</div>
</div>
<div className="flex justify-center w-full py-2 gap-2">
<a href="#slide1" className="btn btn-xs">1</a>
<a href="#slide2" className="btn btn-xs">2</a>
</div>
</div>
</div>
</section>
Expand Down