aboutsummaryrefslogtreecommitdiff
path: root/components/updates
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2023-07-18 14:17:24 -0400
committerAndrew Lee <alee14498@protonmail.com>2023-07-18 14:17:24 -0400
commitdb2b5e5a72a7bd519a3476a77470e42f3bed5d30 (patch)
treea68dafe97b9d126d60a6bcd8f06b5bb3c968b1be /components/updates
parentc4c55a93bc6af8b15f45225169758e08ff1b13cd (diff)
downloadsei-website-alure.tar.gz
sei-website-alure.tar.bz2
sei-website-alure.zip
Fonts and image changesalure
Diffstat (limited to 'components/updates')
-rw-r--r--components/updates/PostPreview.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/components/updates/PostPreview.js b/components/updates/PostPreview.js
index ca261c0..55c2510 100644
--- a/components/updates/PostPreview.js
+++ b/components/updates/PostPreview.js
@@ -2,14 +2,14 @@ import Link from "next/link";
import DateFormatter from '@/components/updates/DateFormatter'
export default function PostPreview(props) {
- return (
- <div key="post" className="bg-zinc-800 py-3 px-5 border border-gray-600 rounded-lg space-y-3">
- <Link href={`/updates/${props.slug}`}>
- <h2 className="font-medium text-2xl hover:underline">{props.title}</h2>
- </Link>
- <span>By {props.author}</span>
- <p>{props.description}</p>
- <p className="font-medium text-sm">Posted on {DateFormatter(props.date)}</p>
- </div>
- )
+ return (
+ <div key="post" className="bg-zinc-800 py-3 px-5 border border-gray-600 rounded-lg space-y-3">
+ <Link href={`/updates/${props.slug}`}>
+ <h2 className="font-medium text-2xl hover:underline">{props.title}</h2>
+ </Link>
+ <span className="text-sm">{props.author}</span>
+ <p>{props.description}</p>
+ <p className="font-medium text-sm">Posted on {DateFormatter(props.date)}</p>
+ </div>
+ )
}