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
Show file tree
Hide file tree
Changes from all commits
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
Binary file added public/preview.mp4
Binary file not shown.
29 changes: 22 additions & 7 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Linux from "@/components/icons/Linux";
import Apple from "super-tiny-icons/images/svg/apple.svg";
import IconLink from "@/components/IconLink";
import FAQ from "@/components/FAQ";
import screenshot from 'public/screenshot-full.jpg';

export default function Home() {
const downloadUrl = "https://github.com/rabrain/ai-chat/releases/latest"
Expand Down Expand Up @@ -52,13 +53,27 @@ export default function Home() {
</Link>
</div>
</div>
<Image
src="/screenshot-full.jpg"
width={960}
height={580}
alt="banner"
className="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>
{/* Home section */}
Expand Down