[dyad] Applied a strict black and white theme - wrote 3 file(s)
This commit is contained in:
@@ -4,7 +4,7 @@ export const Footer = () => {
|
||||
return (
|
||||
<footer className="w-full max-w-2xl p-4 row-start-2">
|
||||
<div className="flex justify-between items-center">
|
||||
<p className="text-sm text-gray-500 dark:text-gray-400">
|
||||
<p className="text-sm text-muted-foreground">
|
||||
v0.1.0
|
||||
</p>
|
||||
<ThemeToggle />
|
||||
|
||||
@@ -41,7 +41,7 @@ export function MetaForm() {
|
||||
<div className="w-full space-y-6">
|
||||
<form onSubmit={handleSubmit} className="flex flex-col sm:flex-row items-center gap-3">
|
||||
<div className="relative w-full">
|
||||
<Globe className="absolute left-3 top-1/2 -translate-y-1/2 h-5 w-5 text-gray-400" />
|
||||
<Globe className="absolute left-3 top-1/2 -translate-y-1/2 h-5 w-5 text-muted-foreground" />
|
||||
<Input
|
||||
name="url"
|
||||
type="url"
|
||||
@@ -56,9 +56,9 @@ export function MetaForm() {
|
||||
</form>
|
||||
|
||||
{error && (
|
||||
<Card className="bg-red-50 border-red-200 dark:bg-red-900/20 dark:border-red-500/30">
|
||||
<Card className="border-destructive bg-destructive/10">
|
||||
<CardContent className="p-4">
|
||||
<p className="text-red-600 dark:text-red-400 text-center">{error}</p>
|
||||
<p className="text-destructive text-center">{error}</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
)}
|
||||
@@ -66,18 +66,18 @@ export function MetaForm() {
|
||||
{metaData && (
|
||||
<Card className="w-full shadow-lg rounded-lg">
|
||||
<CardHeader>
|
||||
<CardTitle className="text-xl text-gray-800 dark:text-white">Extraction Results</CardTitle>
|
||||
<CardTitle className="text-xl text-card-foreground">Extraction Results</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent className="space-y-4">
|
||||
<div>
|
||||
<h3 className="font-semibold text-gray-700 dark:text-gray-300">Meta Title</h3>
|
||||
<p className="text-gray-600 dark:text-gray-400 bg-gray-100 dark:bg-gray-800 p-3 rounded-md mt-1">
|
||||
<h3 className="font-semibold text-card-foreground">Meta Title</h3>
|
||||
<p className="text-muted-foreground bg-muted p-3 rounded-md mt-1">
|
||||
{metaData.title || "Not found"}
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<h3 className="font-semibold text-gray-700 dark:text-gray-300">Meta Description</h3>
|
||||
<p className="text-gray-600 dark:text-gray-400 bg-gray-100 dark:bg-gray-800 p-3 rounded-md mt-1">
|
||||
<h3 className="font-semibold text-card-foreground">Meta Description</h3>
|
||||
<p className="text-muted-foreground bg-muted p-3 rounded-md mt-1">
|
||||
{metaData.description || "Not found"}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user