[dyad] Created a meta tag extractor app - wrote 5 file(s), added cheerio package(s)
This commit is contained in:
@@ -1,12 +1,21 @@
|
||||
import { MadeWithDyad } from "@/components/made-with-dyad";
|
||||
import { MetaForm } from "@/components/meta-form";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<div className="grid grid-rows-[1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 sm:p-20 font-[family-name:var(--font-geist-sans)]">
|
||||
<main className="flex flex-col gap-8 row-start-1 items-center sm:items-start">
|
||||
<h1>Blank page</h1>
|
||||
<div className="grid grid-rows-[1fr_auto] items-center justify-items-center min-h-screen p-4 sm:p-8 font-[family-name:var(--font-geist-sans)] bg-gray-50 dark:bg-gray-900">
|
||||
<main className="flex flex-col gap-8 row-start-1 items-center w-full max-w-2xl">
|
||||
<div className="text-center space-y-2">
|
||||
<h1 className="text-3xl sm:text-4xl font-bold text-gray-800 dark:text-white">
|
||||
Meta Tag Extractor
|
||||
</h1>
|
||||
<p className="text-gray-600 dark:text-gray-300">
|
||||
Enter a URL to extract its meta title and description.
|
||||
</p>
|
||||
</div>
|
||||
<MetaForm />
|
||||
</main>
|
||||
<MadeWithDyad />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user