Repository navigation
Expand file tree
/
Copy pathminecraft.ts
More file actions
105 lines (98 loc) · 2.89 KB
/
Copy pathminecraft.ts
File metadata and controls
105 lines (98 loc) · 2.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
import { GamePlanSpec } from "@/packages/core/types/servers/game";
/**
* MINECRAFT PLAN LIST
* @type {GamePlanSpec} The Gameplan Typing Spec
*/
export const MINECRAFT_PLANS: GamePlanSpec[] = [
{
id: "ember",
priceGBP: 4,
ramGB: 4,
storageGB: 40,
url: "https://billing.nodebyte.host/products/minecraft-server-hosting/ember",
},
{
id: "blaze",
priceGBP: 6,
ramGB: 6,
storageGB: 60,
url: "https://billing.nodebyte.host/products/minecraft-server-hosting/blaze",
},
{
id: "inferno",
priceGBP: 7.5,
ramGB: 8,
storageGB: 80,
popular: true,
url: "https://billing.nodebyte.host/products/minecraft-server-hosting/inferno",
},
{
id: "firestorm",
priceGBP: 15,
ramGB: 16,
storageGB: 160,
popular: true,
url: "https://billing.nodebyte.host/products/minecraft-server-hosting/firestorm",
},
{
id: "supernova",
priceGBP: 30,
ramGB: 32,
storageGB: 320,
popular: true,
url: "https://billing.nodebyte.host/products/minecraft-server-hosting/supernova",
},
]
/**
* Plan feature keys — maps to `games.minecraft.planFeatures.<key>` in translations.
* "ram" and "storage" are parametric (use plan.ramGB / plan.storageGB).
*/
export const MINECRAFT_PLAN_FEATURE_KEYS = [
"cpu",
"ram",
"storage",
"databases",
"ddos",
"panel",
"jars",
"uptime",
] as const
export type MinecraftPlanFeatureKey = (typeof MINECRAFT_PLAN_FEATURE_KEYS)[number]
/** Feature section keys — maps to `games.minecraft.pageFeatures.<key>.*` in translations. */
export const MINECRAFT_FEATURE_KEYS = [
{ key: "modLoaders", icon: "Settings" as const },
{ key: "hardware", icon: "Cpu" as const },
{ key: "ddos", icon: "Shield" as const },
{ key: "instant", icon: "Zap" as const },
{ key: "ftp", icon: "HardDrive" as const },
{ key: "slots", icon: "Users" as const },
] as const
/** FAQ keys — maps to `games.minecraft.faqs.<key>.{question,answer}` in translations. */
export const MINECRAFT_FAQ_KEYS = [
"versions",
"mods",
"upload",
"playerLimit",
"upgrade",
"refunds",
"location",
] as const
/** Static hero feature pills. */
export const MINECRAFT_HERO_FEATURES = [
"Forge & Fabric",
"Unlimited Players",
"DDoS Protection",
"24/7 Support",
] as const
/** Visual + display config for the Minecraft hosting pages */
export const MINECRAFT_CONFIG = {
name: "Minecraft",
description:
"High performance Minecraft server hosting with instant setup, one click mod loaders, and enterprise grade DDoS protection. Java & Bedrock support.",
banner: "/games/minecraft.png",
/** String name matching a lucide-react icon — instantiate in the page component */
iconName: "Blocks",
tagColor: "bg-primary/10 border border-primary/20 text-primary",
headerGradient: "from-primary/20 via-primary/10 to-accent/5",
headerIconBg: "bg-primary/10 text-primary",
} as const