@@ -2,46 +2,15 @@ import LandingText from "./landingText";
22import { BlogPost } from "../../types/blogPost" ;
33import { BlogPostsResponse } from "../../types/blogPostsResponse" ;
44import FetchOfType from "../../utils/fetchOfType" ;
5- import PageSection from "../common/uiLibrary/pageSection" ;
65import LandingButtonsServer from "./LandingButtonsServer" ;
76import DownloadButtonClient from "./DownloadButtonClient" ;
87import LatestNews from "./latestNews" ;
98import ContactInformation from "./contactInformation" ;
10- import FeaturesList , { FeatureData } from "./featuresList" ;
119import React from "react" ;
12- import { RiGamepadLine , RiRefreshLine , RiRocket2Line , RiTeamLine } from "react-icons/ri" ;
1310import dynamic from 'next/dynamic' ;
1411
1512const mainText = "Welcome to Unitystation!" ;
1613const secondaryText = "Free and open-source remake of the cult classic Space Station 13, made in Unity Engine." ;
17-
18- const features : FeatureData [ ] = [
19- {
20- title : "Player-driven gameplay" ,
21- description : "Every round plays out differently. Almost anything on the station can be picked up, examined or vandalized" ,
22- icon : RiGamepadLine ,
23- imageUrl : "https://unitystationfile.b-cdn.net/CommunityStuff/1/chicken.png"
24- } ,
25- {
26- title : "Slapstick Simulation" ,
27- description : "Fly a shuttle into the station, breaching the hull and venting everyone into space." ,
28- icon : RiRocket2Line ,
29- imageUrl : "https://unitystationfile.b-cdn.net/CommunityStuff/1/production.gif"
30- } ,
31- {
32- title : "Dozens of jobs" ,
33- description : "Want to play a cook? A janitor? Law enforcement? Or maybe the captain? Even lawyers have a place on the outpost." ,
34- icon : RiTeamLine ,
35- imageUrl : "https://unitystationfile.b-cdn.net/WeeklyBlogUpdates/8/60.png"
36- } ,
37- {
38- title : "Finally Remade" ,
39- description : "No more dealing with BYOND to play your favorite spessman game." ,
40- icon : RiRefreshLine ,
41- imageUrl : "https://unitystationfile.b-cdn.net/WeeklyBlogUpdates/1/25.png"
42- }
43- ]
44-
4514const fetchLatestBlogPost = async ( ) : Promise < BlogPost [ ] > => {
4615 const revalidateConfig = { next : { revalidate : 60 } } ;
4716 const resPage1 = await FetchOfType < BlogPostsResponse > ( 'https://changelog.unitystation.org/posts/' , revalidateConfig ) ;
0 commit comments