Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Dec 9, 2024
1 parent 7dad874 commit 67a84f6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
22 changes: 15 additions & 7 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ export default function Home() {
<main className="relative min-h-screen bg-gradient-to-b from-black to-orange-900 flex items-center justify-center overflow-hidden">
{/* Background pattern */}
<div className="absolute inset-0 bg-[url('https://images.unsplash.com/photo-1567653418876-5bb0e566e1c2?auto=format&fit=crop&q=80')] opacity-10 bg-cover bg-center" />

{/* Gradient overlay */}
<div className="absolute inset-0 bg-gradient-to-t from-black/80 via-black/50 to-transparent" />

{/* Floating emojis */}
<div className="absolute inset-0 pointer-events-none z-10">
{[...Array(20)].map((_, i) => (
Expand All @@ -19,25 +19,33 @@ export default function Home() {
left: `${Math.random() * 100}%`,
top: `${Math.random() * 100}%`,
animationDelay: `${Math.random() * 5}s`,
fontSize: `${Math.random() * 2 + 1}rem`
fontSize: `${Math.random() * 2 + 1}rem`,
}}
>
{['🔥', '😂', '💀', '📉'][Math.floor(Math.random() * 4)]}
{["🔥", "😂", "💀", "📉"][Math.floor(Math.random() * 4)]}
</div>
))}
</div>

{/* Main content card */}
<div className="relative z-20 bg-black/60 backdrop-blur-sm p-8 rounded-2xl border border-orange-500/20 shadow-2xl max-w-2xl w-full mx-4">
<h1 className="text-4xl font-bold text-orange-500 mb-6">NEAR Roast Agent</h1>
<h1 className="text-4xl font-bold text-orange-500 mb-6">
NEAR Roast Agent
</h1>
<ul className="space-y-4">
<li className="transition-all hover:translate-x-2">
<Link href="/.well-known/ai-plugin.json" className="text-orange-200 hover:text-orange-400">
<Link
href="/.well-known/ai-plugin.json"
className="text-orange-200 hover:text-orange-400"
>
OpenAPI Spec
</Link>
</li>
<li className="transition-all hover:translate-x-2">
<Link href="/api/swagger" className="text-orange-200 hover:text-orange-400">
<Link
href="/api/swagger"
className="text-orange-200 hover:text-orange-400"
>
Swagger
</Link>
</li>
Expand Down
1 change: 0 additions & 1 deletion src/app/utils/generate-roast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ These are non-negotiable. Use obnoxious emoji combos generously, making sure eac
**Now roast this wallet like it owes you gas fees and a kidney. 🔥**`;
}


export async function generateRoast(summary: string): Promise<string> {
try {
const prompt = getPrompt(); // roast prompt
Expand Down

0 comments on commit 67a84f6

Please sign in to comment.