File tree Expand file tree Collapse file tree 2 files changed +2
-58
lines changed Expand file tree Collapse file tree 2 files changed +2
-58
lines changed Original file line number Diff line number Diff line change 1- @import 'tailwindcss' ;
2-
3- @theme {
4- --background-image-gradient-radial : radial-gradient (var (--tw-gradient-stops ));
5- --background-image-gradient-conic : conic-gradient (from 180deg at 50% 50% ,
6- var (--tw-gradient-stops ));
7- }
8-
9- /*
10- The default border color has changed to `currentColor` in Tailwind CSS v4,
11- so we've added these compatibility styles to make sure everything still
12- looks the same as it did with Tailwind CSS v3.
13-
14- If we ever want to remove these styles, we need to add an explicit border
15- color utility to any element that depends on these defaults.
16- */
17- @layer base {
18-
19- * ,
20- ::after ,
21- ::before ,
22- ::backdrop ,
23- ::file-selector-button {
24- border-color : var (--color-gray-200 , currentColor);
25- }
26-
27- }
1+ @import 'tailwindcss' ;
Original file line number Diff line number Diff line change 1- 'use client' ;
2-
3- import Image from "next/image" ;
4- import { useEffect , useRef } from "react" ;
5-
61export default function Page ( ) {
7- const videoRef = useRef < HTMLVideoElement > ( null ) ;
8-
9- function unmuteVideo ( ) {
10- if ( videoRef . current ) {
11- videoRef . current . muted = false ;
12- }
13- }
14-
15- return (
16- < >
17- < div className = "flex justify-center items-center min-h-screen bg-purple-200" >
18- < div className = "flex gap-32" >
19- < Image
20- src = "https://media2.giphy.com/media/v1.Y2lkPTc5MGI3NjExbnl0cDV5b3YzdDJzZjRuN20zYXF4d3NqeHNqZGdxMndidzA1NHRqZSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/VXJWhaO7afRe/giphy.gif"
21- alt = "Saitama Ok"
22- width = { 500 }
23- height = { 500 } />
24- < div >
25- < video ref = { videoRef } onClick = { unmuteVideo } className = "cursor-pointer" loop autoPlay muted playsInline height = "500" width = "500" >
26- < source src = "/never-gonna-give-up.mp4" type = "video/mp4" />
27- </ video >
28- </ div >
29- </ div >
30- </ div >
31- </ >
32- )
2+ return < h1 > Hello, World!</ h1 > ;
333}
You can’t perform that action at this time.
0 commit comments