From be1a8fd930b416b49626702f3e2ea9183c3bdef3 Mon Sep 17 00:00:00 2001 From: Greg Konush <12027037+gregkonush@users.noreply.github.com> Date: Sun, 22 Dec 2024 19:25:41 -0800 Subject: [PATCH] feat: add hover to cards --- apps/proompteng/src/app/layout.tsx | 2 +- apps/proompteng/src/app/page.tsx | 94 ++++++++++++++----- .../applications/proompteng/deployment.yaml | 2 +- .../proompteng/kustomization.yaml | 4 + 4 files changed, 75 insertions(+), 27 deletions(-) diff --git a/apps/proompteng/src/app/layout.tsx b/apps/proompteng/src/app/layout.tsx index ec25b860..148dcd31 100644 --- a/apps/proompteng/src/app/layout.tsx +++ b/apps/proompteng/src/app/layout.tsx @@ -115,7 +115,7 @@ export default function RootLayout({ children }: { children: React.ReactNode }) className={cn( 'min-h-screen bg-slate-950 antialiased', 'min-w-full mx-auto', - 'prose prose-invert prose-sm prose-slate', + 'prose prose-invert prose-slate', 'prose-headings:text-slate-300/90', 'prose-p:text-slate-300/80', inter.variable, diff --git a/apps/proompteng/src/app/page.tsx b/apps/proompteng/src/app/page.tsx index 7b94aa73..38e84182 100644 --- a/apps/proompteng/src/app/page.tsx +++ b/apps/proompteng/src/app/page.tsx @@ -1,6 +1,47 @@ import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card' import { cn } from '@/lib/utils' +function InfinityBackground() { + return ( + + ) +} + interface NewsItem { id: number title: string @@ -76,33 +117,36 @@ export default function Home() { {newsItems.map((item) => ( - -
- +
+ +
+ + {item.category} + + {item.readTime} +
+ {item.title} + + {new Date(item.date).toLocaleDateString('en-US', { + year: 'numeric', + month: 'long', + day: 'numeric', })} - > - {item.category} - - {item.readTime} -
- {item.title} - - {new Date(item.date).toLocaleDateString('en-US', { - year: 'numeric', - month: 'long', - day: 'numeric', - })} - - - -

{item.description}

-
+ + + +

{item.description}

+
+
))} diff --git a/argocd/applications/proompteng/deployment.yaml b/argocd/applications/proompteng/deployment.yaml index b9f67ffb..297944b2 100644 --- a/argocd/applications/proompteng/deployment.yaml +++ b/argocd/applications/proompteng/deployment.yaml @@ -16,7 +16,7 @@ spec: - name: kalmyk-registry containers: - name: proompteng - image: kalmyk.duckdns.org/lab/proompteng + image: kalmyk.duckdns.org/lab/proompteng:0.126.0 resources: limits: cpu: "1" diff --git a/argocd/applications/proompteng/kustomization.yaml b/argocd/applications/proompteng/kustomization.yaml index c2714012..c96a9234 100644 --- a/argocd/applications/proompteng/kustomization.yaml +++ b/argocd/applications/proompteng/kustomization.yaml @@ -5,3 +5,7 @@ resources: - deployment.yaml - service.yaml - ingress.yaml + +images: +- name: kalmyk.duckdns.org/lab/proompteng + newTag: 0.126.0