-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
{ "prompt": "create colorful UI\n\r\n\r\ncreate a UI like this, with some mock data.", "images": [ "https://github.com/Yuyz0112/vx.dev/assets/13651389/8333a626-3db4-4ece-8042-43a1c3591e18" ] }
- Loading branch information
Showing
1 changed file
with
52 additions
and
3 deletions.
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,3 +1,52 @@ | ||
export default function Empty() { | ||
return <p>vx.dev</p>; | ||
} | ||
import { Card, CardContent, CardFooter, CardHeader, CardTitle, CardDescription } from "@/components/ui/card"; | ||
import { Check } from "lucide-react"; | ||
import { Button } from "@/components/ui/button"; | ||
|
||
export default function DeploymentCard() { | ||
return ( | ||
<Card className="max-w-lg mx-auto my-8 bg-white rounded-lg shadow-md"> | ||
<CardHeader className="bg-orange-100 p-4 rounded-t-lg flex items-center justify-between"> | ||
<div className="flex items-center space-x-2"> | ||
<img | ||
src="https://images.unsplash.com/photo-1588345921523-c2dcdb7f1dcd?w=32&dpr=2&q=80" | ||
alt="Cloud" | ||
className="w-8 h-8" | ||
/> | ||
<span className="font-medium text-gray-700">cloudflare-pages bot</span> | ||
</div> | ||
<span className="text-sm text-gray-500">commented 18 minutes ago • edited</span> | ||
</CardHeader> | ||
<CardContent className="p-4"> | ||
<CardTitle className="text-xl font-bold text-gray-800 mb-3"> | ||
Deploying with <span className="text-orange-500">Cloudflare Pages</span> | ||
</CardTitle> | ||
<div className="space-y-4"> | ||
<div className="flex justify-between items-center"> | ||
<span className="font-medium text-gray-600">Latest commit:</span> | ||
<span className="font-mono text-sm bg-gray-100 px-2 py-1 rounded">5bf0023</span> | ||
</div> | ||
<div className="flex justify-between items-center"> | ||
<span className="font-medium text-gray-600">Status:</span> | ||
<div className="flex items-center space-x-1"> | ||
<Check className="w-5 h-5 text-green-500" /> | ||
<span className="text-green-500">Deploy successful!</span> | ||
</div> | ||
</div> | ||
<div className="flex justify-between items-center"> | ||
<span className="font-medium text-gray-600">Preview URL:</span> | ||
<a href="https://42c9b8a7.vx-dev.pages.dev" className="text-blue-500 hover:underline">https://42c9b8a7.vx-dev.pages.dev</a> | ||
</div> | ||
<div className="flex justify-between items-center"> | ||
<span className="font-medium text-gray-600">Branch Preview URL:</span> | ||
<a href="https://ui-gen-issue-2.vx-dev.pages.dev" className="text-blue-500 hover:underline">https://ui-gen-issue-2.vx-dev.pages.dev</a> | ||
</div> | ||
</div> | ||
</CardContent> | ||
<CardFooter className="p-4"> | ||
<Button variant="outline" className="text-blue-500 border-blue-500 hover:bg-blue-500 hover:text-white"> | ||
View logs | ||
</Button> | ||
</CardFooter> | ||
</Card> | ||
); | ||
} |