Skip to content

Commit 463be16

Browse files
committed
new updates
1 parent 7819814 commit 463be16

File tree

2 files changed

+2
-58
lines changed

2 files changed

+2
-58
lines changed

app/globals.css

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1 @@
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';

app/page.tsx

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,3 @@
1-
'use client';
2-
3-
import Image from "next/image";
4-
import { useEffect, useRef } from "react";
5-
61
export 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
}

0 commit comments

Comments
 (0)