@@ -22,12 +24,10 @@ export function PostPreview({
href="#"
className="text-blue-gray-900 mb-2 block font-sans text-xl font-semibold normal-case leading-snug tracking-normal antialiased transition-colors hover:text-gray-700"
>
- Revolutionizing Our Production Process
+ {title}
- Learn how our recent investment in new technology has revolutionized
- our production process, leading to improved efficiency and product
- quality.
+ {content}
-
+
+ {author}
+
- 2022-08-15
+ {publishedDate.toDateString()}
diff --git a/src/content/content.ts b/src/content/content.ts
new file mode 100644
index 0000000..7f029e5
--- /dev/null
+++ b/src/content/content.ts
@@ -0,0 +1,49 @@
+import Willray from "../assets/Will.png";
+import Mikelat from "../assets/Mike.png";
+import Chrisf from "../assets/Chris.png";
+
+export type PostData = {
+ postImage: string;
+ authorImage: string;
+ content: string;
+ title: string;
+ author: string;
+ publishedDate: Date;
+};
+
+const postOneImage =
+ "https://bucket.material-tailwind.com/magic-ai/06b38f84f9669f766048c469ce861b81880378273a11ae9badaedfc32868ef44.jpg";
+const postTwoImage =
+ "https://bucket.material-tailwind.com/magic-ai/e7aa235a7bc5f504db1c66e27ece08f8118b1da6b21c013500391afcd572cf7d.jpg";
+const postThreeImage =
+ "https://bucket.material-tailwind.com/magic-ai/dc74a867f21afc734166a6d37c08beaba4ff040664ba8ccce918e054264ad68d.jpg";
+
+export const data: PostData[] = [
+ {
+ postImage: postOneImage,
+ authorImage: Willray,
+ content:
+ "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
+ title: "First post",
+ author: "William Ray",
+ publishedDate: new Date(),
+ },
+ {
+ postImage: postTwoImage,
+ authorImage: Mikelat,
+ content:
+ "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
+ title: "Second post",
+ author: "Mike Latimore",
+ publishedDate: new Date(),
+ },
+ {
+ postImage: postThreeImage,
+ authorImage: Chrisf,
+ content:
+ "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
+ title: "Third post",
+ author: "Chris Forti",
+ publishedDate: new Date(),
+ },
+];