diff --git a/packages/website/components/BlogSection.tsx b/packages/website/components/BlogSection.tsx
index 1f2bce4d975..e7d4e92af59 100644
--- a/packages/website/components/BlogSection.tsx
+++ b/packages/website/components/BlogSection.tsx
@@ -1,161 +1,56 @@
-import React, { useEffect, useState } from "react";
-import { getPosts } from "./getPosts";
-
-interface Content {
- body: string;
- timestamp: number;
- title: string;
-}
-
-interface Authorship {
- contributor: string;
- signingKey: {
- crv: string;
- ext: boolean;
- key_ops: string[];
- kty: string;
- x: string;
- y: string;
- };
- signature: string;
- signingKeySignature: string;
- signingKeyMessage: string;
- algorithm: {
- name: string;
- hash: string;
- };
-}
-
-interface Wnft {
- chainId: number;
- description: string;
- fee: number;
- fundingRecipient: string;
- imageURI: string;
- mediaAssetId: number;
- name: string;
- nonce: number;
- owner: string;
- price: number;
- proxyAddress: string;
- renderer: string;
- supply: number;
- symbol: string;
-}
-
-interface Post {
- OriginalDigest: string;
- content: Content;
- authorship: Authorship;
- digest: string;
- version: string;
- wnft: Wnft;
-}
-
-function getReadingTime(text) {
- const wordsPerMinute = 200;
- const wordCount = text.split(" ").length;
- const readingTime = Math.round(wordCount / wordsPerMinute);
- return readingTime;
-}
-
-function getDate(timestamp: string): string {
- let date = new Date(Number(timestamp) * 1000);
- return date.toLocaleDateString("en-US", {
- year: "numeric",
- month: "short",
- day: "numeric",
- });
-}
-
-function getDateTime(timestamp: string): string {
- let date = new Date(parseInt(timestamp) * 1000);
- return `${date.getFullYear()}-${(date.getMonth() + 1)
- .toString()
- .padStart(2, "0")}-${date.getDate().toString().padStart(2, "0")}`;
-}
-
-function checkIfPostAreSet(posts) {
- if (posts.length > 0) {
- return posts.map((post: Post) => (
-
-
-
-
-
-
-
-
- ·
- {getReadingTime(post.content.body) + " min read"}
-
-
-
-
-
- ));
- } else {
- const amountOfPostsToDisplay = 3;
- return [...Array(amountOfPostsToDisplay)].map((v, i) => (
-
- ));
- }
-}
-
-export default function BlogSection(): JSX.Element {
- const [posts, setPosts] = useState