Skip to content

Commit b04d927

Browse files
committed
Add depoy with vercel button
1 parent 44f7973 commit b04d927

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/app/page.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"use client";
22

3+
import Image from "next/image";
34
import { useRouter } from "next/navigation";
45
import { useCallback, useState } from "react";
56
import { toast, Toaster } from "react-hot-toast";
@@ -19,7 +20,7 @@ export default function Home() {
1920
return (
2021
<main>
2122
<Toaster />
22-
<div className="flex flex-col items-center justify-center h-screen w-screen">
23+
<div className="relative flex flex-col items-center justify-center h-screen w-screen">
2324
<h1 className="text-4xl mb-8 p-2">Spatial Audio LiveKit Example App</h1>
2425
<form
2526
onSubmit={(e) => {
@@ -40,6 +41,12 @@ export default function Home() {
4041
</div>
4142
</div>
4243
</form>
44+
<div className="absolute bottom-2 right-2">
45+
<a href="https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Flivekit-examples%2Fspatial-audio&env=LIVEKIT_API_KEY,LIVEKIT_API_SECRET,LIVEKIT_WS_URL&envDescription=Get%20these%20from%20your%20cloud%20livekit%20project.&envLink=https%3A%2F%2Fcloud.livekit.io&project-name=my-spatial-audio-app">
46+
{/* eslint-disable-next-line @next/next/no-img-element */}
47+
<img alt="deploy with Vercel" src="https://vercel.com/button" />
48+
</a>
49+
</div>
4350
</div>
4451
</main>
4552
);

0 commit comments

Comments
 (0)