-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
import ConnectionCard from "@/components/connection-card"; | ||
import { ModeToggle } from "@/components/toggle-theme"; | ||
import { Button } from "@/components/ui/button"; | ||
import Image from "next/image"; | ||
|
||
export default function Home() { | ||
return ( | ||
<main className="flex min-h-screen flex-col items-center justify-between p-24"> | ||
|
||
<div className="grid grid-cols-3 gap-4"> | ||
<ConnectionCard /> | ||
<ConnectionCard /> | ||
<ConnectionCard /> | ||
<ConnectionCard /> | ||
</div> | ||
</main> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/** | ||
* v0 by Vercel. | ||
* @see https://v0.dev/t/zCP3j9rTQHk | ||
* Documentation: https://v0.dev/docs#integrating-generated-code-into-your-nextjs-app | ||
*/ | ||
import { | ||
Card, | ||
CardHeader, | ||
CardTitle, | ||
CardDescription, | ||
CardContent, | ||
} from "@/components/ui/card"; | ||
import { Label } from "@/components/ui/label"; | ||
import { Input } from "@/components/ui/input"; | ||
import { Button } from "@/components/ui/button"; | ||
|
||
export default function ConnectionCard() { | ||
return ( | ||
<Card className="w-full max-w-md"> | ||
<CardHeader> | ||
<CardTitle>Connect to GEOMMDB</CardTitle> | ||
<CardDescription> | ||
Connect your application to a GEOMMDB instance. | ||
</CardDescription> | ||
</CardHeader> | ||
<CardContent> | ||
<form className="grid gap-4"> | ||
<div className="grid gap-2"> | ||
<Label htmlFor="host">Host</Label> | ||
<Input id="host" placeholder="Enter GEOMMDB host" /> | ||
</div> | ||
<div className="grid gap-2"> | ||
<Label htmlFor="port">Port</Label> | ||
<Input id="port" type="number" placeholder="Enter GEOMMDB port" /> | ||
</div> | ||
<div className="grid gap-2"> | ||
<Label htmlFor="password">Password</Label> | ||
<Input | ||
id="password" | ||
type="password" | ||
placeholder="Enter GEOMMDB password" | ||
/> | ||
</div> | ||
<Button type="submit" className="w-full"> | ||
Connect | ||
</Button> | ||
</form> | ||
</CardContent> | ||
</Card> | ||
); | ||
} |