@@ -2,46 +2,15 @@ import LandingText from "./landingText";
2
2
import { BlogPost } from "../../types/blogPost" ;
3
3
import { BlogPostsResponse } from "../../types/blogPostsResponse" ;
4
4
import FetchOfType from "../../utils/fetchOfType" ;
5
- import PageSection from "../common/uiLibrary/pageSection" ;
6
5
import LandingButtonsServer from "./LandingButtonsServer" ;
7
6
import DownloadButtonClient from "./DownloadButtonClient" ;
8
7
import LatestNews from "./latestNews" ;
9
8
import ContactInformation from "./contactInformation" ;
10
- import FeaturesList , { FeatureData } from "./featuresList" ;
11
9
import React from "react" ;
12
- import { RiGamepadLine , RiRefreshLine , RiRocket2Line , RiTeamLine } from "react-icons/ri" ;
13
10
import dynamic from 'next/dynamic' ;
14
11
15
12
const mainText = "Welcome to Unitystation!" ;
16
13
const 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
-
45
14
const fetchLatestBlogPost = async ( ) : Promise < BlogPost [ ] > => {
46
15
const revalidateConfig = { next : { revalidate : 60 } } ;
47
16
const resPage1 = await FetchOfType < BlogPostsResponse > ( 'https://changelog.unitystation.org/posts/' , revalidateConfig ) ;
0 commit comments