File tree Expand file tree Collapse file tree 2 files changed +22
-7
lines changed Expand file tree Collapse file tree 2 files changed +22
-7
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import Linux from "@/components/icons/Linux";
12
12
import Apple from "super-tiny-icons/images/svg/apple.svg" ;
13
13
import IconLink from "@/components/IconLink" ;
14
14
import FAQ from "@/components/FAQ" ;
15
+ import screenshot from 'public/screenshot-full.jpg' ;
15
16
16
17
export default function Home ( ) {
17
18
const downloadUrl = "https://github.com/rabrain/ai-chat/releases/latest"
@@ -52,13 +53,27 @@ export default function Home() {
52
53
</ Link >
53
54
</ div >
54
55
</ div >
55
- < Image
56
- src = "/screenshot-full.jpg"
57
- width = { 960 }
58
- height = { 580 }
59
- alt = "banner"
60
- className = "mx-auto shadow-xl"
61
- />
56
+ < div >
57
+ < div className = "carousel carousel-center w-full" >
58
+ < div id = "slide1" className = "carousel-item w-full" >
59
+ < video controls >
60
+ < source src = "/preview.mp4" type = "video/mp4" />
61
+ Your browser does not support the video tag.
62
+ </ video >
63
+ </ div >
64
+ < div id = "slide2" className = "carousel-item w-full" >
65
+ < Image
66
+ src = { screenshot }
67
+ alt = "banner"
68
+ className = "mx-auto shadow-xl rounded-box"
69
+ />
70
+ </ div >
71
+ </ div >
72
+ < div className = "flex justify-center w-full py-2 gap-2" >
73
+ < a href = "#slide1" className = "btn btn-xs" > 1</ a >
74
+ < a href = "#slide2" className = "btn btn-xs" > 2</ a >
75
+ </ div >
76
+ </ div >
62
77
</ div >
63
78
</ section >
64
79
{ /* Home section */ }
You can’t perform that action at this time.
0 commit comments