Skip to content

Commit 34c9430

Browse files
authored
Merge pull request #6 from NodeByteHosting/Rust-Page
feat(add): rust page
2 parents cdb291a + b5c9b4b commit 34c9430

27 files changed

Lines changed: 733 additions & 211 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

bun.lockb

6.39 KB
Binary file not shown.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"@radix-ui/react-separator": "^1.1.1",
2525
"@radix-ui/react-slot": "^1.1.1",
2626
"@react-spring/web": "^9.7.5",
27+
"acron": "^1.0.5",
2728
"atropos": "^2.0.2",
2829
"axios": "^1.7.7",
2930
"cheerio": "^1.0.0",
@@ -61,6 +62,7 @@
6162
"remark": "^15.0.1",
6263
"remark-gfm": "^4.0.0",
6364
"sass": "^1.83.4",
65+
"shiki": "^3.8.1",
6466
"swr": "^2.2.5",
6567
"unist-util-visit": "^5.0.0",
6668
"whmcs-sdk": "^0.1.4"
@@ -80,4 +82,4 @@
8082
"tailwindcss-animate": "^1.0.7",
8183
"typescript": "^5.6.3"
8284
}
83-
}
85+
}

src/app/(pages)/home/sections/FAQ/FAQ.tsx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@ export const FAQ: FC = ({ }) => {
1212
content: "text-gray text-sm md:text-md",
1313
};
1414
const DATA_ACCORDION = [
15-
{
16-
title: "What is a Virtual Private Server (VPS)?",
17-
text: "A Virtual Private Server (VPS) is a virtualized server that acts like a dedicated server within a larger physical server. It provides dedicated resources and greater control compared to shared hosting, making it ideal for businesses and developers who need reliable and scalable hosting solutions.",
18-
},
19-
{
20-
title: "How do I set up my VPS?",
21-
text: "Setting up your VPS is straightforward. Once you purchase a VPS plan, you will receive login credentials and access to a control panel where you can manage your server. You can install your preferred operating system, configure settings, and deploy applications as needed.",
22-
},
2315
{
2416
title: "What are the benefits of using a dedicated Minecraft server?",
2517
text: "A dedicated Minecraft server offers better performance, reliability, and customization options compared to shared hosting. It allows you to have full control over server settings, mods, and plugins, ensuring a smooth and enjoyable gaming experience for you and your players.",
@@ -33,8 +25,8 @@ export const FAQ: FC = ({ }) => {
3325
text: "Yes, we offer 24/7 customer support to assist you with any issues or questions you may have. Our dedicated support team is available via discord, email and support tickets to ensure that you receive timely and effective assistance.",
3426
},
3527
{
36-
title: "Can I upgrade or downgrade my VPS plan?",
37-
text: "Yes, our VPS plans are scalable, allowing you to upgrade or downgrade your plan as needed. You can easily adjust your resources through the control panel to accommodate your changing requirements.",
28+
title: "Can I upgrade or downgrade my plan?",
29+
text: "Yes, all our plans are scalable, allowing you to upgrade or downgrade your plan as needed. You can easily adjust your resources through the billing panel to accommodate your changing requirements.",
3830
}
3931
];
4032
// Animation

src/app/(pages)/home/sections/advantages/Advantages.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ import { motion } from "framer-motion";
33
import AdvantageCard from "ui/AdvantageCard";
44
import s from "styling/modules/Advantages/global.module.scss";
55
import { useButtonScrollContext } from "@/src/providers/ButtonScroll";
6-
import { Server, Gamepad2, Shield, Settings, Clock, DollarSign } from "lucide-react";
6+
import { AppWindow, Gamepad2, Shield, Settings, Clock, DollarSign } from "lucide-react";
77

88
export const Advantages: FC = ({ }) => {
99
const { targetRef } = useContext(useButtonScrollContext);
1010
const DATA_CARDS = [
1111
{
12-
icon: <Server strokeWidth={1.5} size={24} />,
13-
title: "VPS Excellence",
14-
content: "Achieve unparalleled performance and reliability with our VPS solutions, boasting scalable resources and a 99.6% uptime.",
12+
icon: <AppWindow strokeWidth={1.5} size={24} />,
13+
title: "BytePanel",
14+
content: "Our Game Panel offers easy server management with an intuitive interface and powerful features.",
1515
},
1616
{
1717
icon: <Gamepad2 strokeWidth={1.5} size={24} />,

src/app/(pages)/home/sections/hero/Hero.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ export const Hero: FC = ({ }) => {
3434
className="text-white "
3535
>
3636
<div className="border-1 border-gray/20 rounded-full py-2 px-3 bg-black_secondary">
37-
Welcome to the{" "}
38-
<span className="font-bold">exciting </span>
39-
new <span className="font-bold">NodeByte </span> experience!
37+
<span className="font-bold">Rust Hosting </span>
38+
is now available!
4039
</div>
4140
</motion.h2>
4241
<motion.h1

src/app/(pages)/home/sections/services/Services.tsx

Lines changed: 40 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -11,59 +11,55 @@ import { ButtonGradient } from "ui/Button/ButtonGradient";
1111
export const Services: FC = ({ }) => {
1212
const DATA_CARDS = [
1313
{
14-
title: "Minecraft Servers",
15-
info: "Grab yourself a Minecraft server and start playing with your friends.",
14+
title: "Minecraft",
15+
info: "Launch your own Minecraft world instantly. Play with friends or build a community—no experience needed.",
1616
features: [
1717
{
18-
text: "99.6% Uptime SLA",
18+
text: "99.6% Uptime SLA"
1919
},
20-
{
21-
text: "Highly Modified Pterodactyl Panel",
20+
{
21+
text: "BytePanel"
2222
},
23-
{
24-
text: "FyfeWeb Net",
23+
{
24+
text: "FyfeWeb Net"
25+
},
26+
{
27+
text: "SSD Storage"
2528
},
2629
{
27-
text: "SSD Storage",
30+
text: "Java and Bedrock Supported"
31+
},
32+
{
33+
text: "Unlimited Players (You set the limit)"
2834
}
2935
],
30-
link: "https://billing.nodebyte.host/store/minecraft-server-hosting"
36+
link: "/services/mc"
3137
},
32-
// {
33-
// title: "Virtual Private Servers",
34-
// info: "Grab yourself a VPS and start hosting your own services.",
35-
// features: [
36-
// {
37-
// text: "99.6% Uptime SLA",
38-
// },
39-
// {
40-
// text: "Virtualizor Panel",
41-
// },
42-
// {
43-
// text: "FyfeWeb Net",
44-
// },
45-
// {
46-
// text: "SSD Storage",
47-
// }
48-
// ],
49-
// link: "https://billing.nodebyte.host/store/vps-hosting"
50-
// },
51-
// {
52-
// title: "Custom Minecraft Plans",
53-
// info: "Grab yourself a custom Minecraft Plan and start hosting with specs you want!",
54-
// features: [
55-
// {
56-
// text: "Custom Specs",
57-
// },
58-
// {
59-
// text: "For Minecraft Hosting Only",
60-
// },
61-
// {
62-
// text: "Full Support!",
63-
// },
64-
// ],
65-
// link: "https://billing.nodebyte.host/submitticket.php?step=2&deptid=3"
66-
// }
38+
{
39+
title: "Rust",
40+
info: "Host a Rust server with full modding support and unbeatable performance. Grow your own epic community.",
41+
features: [
42+
{
43+
text: "99.6% Uptime SLA"
44+
},
45+
{
46+
text: "BytePanel"
47+
},
48+
{
49+
text: "FyfeWeb Net"
50+
},
51+
{
52+
text: "SSD Storage"
53+
},
54+
{
55+
text: "Modding Support"
56+
},
57+
{
58+
text: "Rust+ Support"
59+
}
60+
],
61+
link: "/services/rust"
62+
}
6763
];
6864
const DATA_ITEMS_MARQUEE = [
6965
{ title: "Purpur" },
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { Metadata } from "next";
2+
import ServicesHero from '@/src/components/Layouts/Services/rust/Hero';
23
import ButtonScrollProvider from "providers/ButtonScroll";
3-
import ServicesHero from 'components/Layouts/Services/vps/Hero';
4-
import WhyChooseUs from "components/Layouts/Services/vps/Benefits";
5-
import ServersList from "components/Layouts/Services/vps/Servers";
6-
import { FAQ } from "components/Layouts/Services/vps/GeneralFAQs";
4+
import WhyChooseUs from "@/src/components/Layouts/Services/rust/Benefits";
5+
import ServersList from "@/src/components/Layouts/Services/rust/Servers";
6+
import { FAQ } from "@/src/components/Layouts/Services/rust/GeneralFAQs";
77
import { absoluteUrl } from "hooks/absoluteUrl";
88

99
export const metadata: Metadata = {

src/app/styles/modules/Header/global.module.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
.Nav {
3838
display: grid;
39-
grid-template-columns: repeat(3, auto);
39+
grid-template-columns: repeat(4, auto);
4040
justify-content: center;
4141
align-items: center;
4242

@@ -53,7 +53,6 @@
5353
display: grid;
5454
grid-template-columns: repeat(4, auto);
5555
grid-column-gap: 30px;
56-
margin-right: 20px;
5756

5857
li {
5958
a {

0 commit comments

Comments
 (0)