Skip to content

Commit

Permalink
fix: remove unused code - whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeocodes committed Nov 8, 2023
1 parent 8da7475 commit 1f9cdc7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 53 deletions.
14 changes: 0 additions & 14 deletions app/captions.tsx

This file was deleted.

8 changes: 1 addition & 7 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import Image from "next/image";
import Microphone from "./microphone";
import { TranscriptionContextProvider } from "@/context/transcription";
import Captions from "./captions";

export default async function Home() {
return (
<main className="flex min-h-screen flex-col items-center justify-between p-24">
Expand Down Expand Up @@ -31,10 +28,7 @@ export default async function Home() {
</div>

<div className="relative flex w-screen max-w-screen-lg place-items-center before:pointer-events-none after:pointer-events-none before:absolute before:right-0 after:right-1/4 before:h-[300px] before:w-[480px] before:-translate-x-1/2 before:rounded-full before:bg-gradient-radial before:from-white before:to-transparent before:blur-2xl before:content-[''] after:absolute after:-z-20 after:h-[180px] after:w-[240px] after:translate-x-1/3 after:bg-gradient-conic after:from-sky-200 after:via-blue-200 after:blur-2xl after:content-[''] before:dark:bg-gradient-to-br before:dark:from-transparent before:dark:to-blue-700 before:dark:opacity-10 after:dark:from-sky-900 after:dark:via-[#0141ff] after:dark:opacity-40 before:lg:h-[360px]">
<TranscriptionContextProvider>
<Microphone />
<Captions />
</TranscriptionContextProvider>
<Microphone />
</div>

<div className="mb-32 grid text-center lg:max-w-5xl lg:w-full lg:mb-0 lg:grid-cols-4 lg:text-left">
Expand Down
32 changes: 0 additions & 32 deletions context/transcription.tsx

This file was deleted.

0 comments on commit 1f9cdc7

Please sign in to comment.