From 10d705dba57708cb6758d96661c3ba8628a41a39 Mon Sep 17 00:00:00 2001 From: Gilles <43683714+corp-0@users.noreply.github.com> Date: Sat, 12 Oct 2024 03:43:44 -0300 Subject: [PATCH] chore: remove unused code --- app/(home)/page.tsx | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/app/(home)/page.tsx b/app/(home)/page.tsx index f32c385..8d3db9a 100644 --- a/app/(home)/page.tsx +++ b/app/(home)/page.tsx @@ -2,46 +2,15 @@ import LandingText from "./landingText"; import {BlogPost} from "../../types/blogPost"; import {BlogPostsResponse} from "../../types/blogPostsResponse"; import FetchOfType from "../../utils/fetchOfType"; -import PageSection from "../common/uiLibrary/pageSection"; import LandingButtonsServer from "./LandingButtonsServer"; import DownloadButtonClient from "./DownloadButtonClient"; import LatestNews from "./latestNews"; import ContactInformation from "./contactInformation"; -import FeaturesList, {FeatureData} from "./featuresList"; import React from "react"; -import {RiGamepadLine, RiRefreshLine, RiRocket2Line, RiTeamLine} from "react-icons/ri"; import dynamic from 'next/dynamic'; const mainText = "Welcome to Unitystation!"; const secondaryText = "Free and open-source remake of the cult classic Space Station 13, made in Unity Engine."; - -const features: FeatureData[] = [ - { - title: "Player-driven gameplay", - description: "Every round plays out differently. Almost anything on the station can be picked up, examined or vandalized", - icon: RiGamepadLine, - imageUrl: "https://unitystationfile.b-cdn.net/CommunityStuff/1/chicken.png" - }, - { - title: "Slapstick Simulation", - description: "Fly a shuttle into the station, breaching the hull and venting everyone into space.", - icon: RiRocket2Line, - imageUrl: "https://unitystationfile.b-cdn.net/CommunityStuff/1/production.gif" - }, - { - title: "Dozens of jobs", - description: "Want to play a cook? A janitor? Law enforcement? Or maybe the captain? Even lawyers have a place on the outpost.", - icon: RiTeamLine, - imageUrl: "https://unitystationfile.b-cdn.net/WeeklyBlogUpdates/8/60.png" - }, - { - title: "Finally Remade", - description: "No more dealing with BYOND to play your favorite spessman game.", - icon: RiRefreshLine, - imageUrl: "https://unitystationfile.b-cdn.net/WeeklyBlogUpdates/1/25.png" - } -] - const fetchLatestBlogPost = async (): Promise => { const revalidateConfig = {next: {revalidate: 60}}; const resPage1 = await FetchOfType('https://changelog.unitystation.org/posts/', revalidateConfig);