diff --git a/src/app/account/page.tsx b/src/app/account/page.tsx
index 8b69b95..353678f 100644
--- a/src/app/account/page.tsx
+++ b/src/app/account/page.tsx
@@ -89,30 +89,18 @@ export default function AccountPage() {
description="Manage your CraftRealm profile, linked accounts, security settings, and premium subscriptions. View your playtime statistics and achievement progress all in one place."
tag="Dashboard"
tagIcon={Gamepad2}
- tagAnimation="entrance-slide"
+ tagAnimation="slide-up"
accordionItems={[
{
- id: "1",
- title: "Profile & Linked Accounts",
- content: "View and manage your CraftRealm account settings. Link your Discord, Twitch, and YouTube accounts to unlock special perks and community recognition.",
- },
+ id: "1", title: "Profile & Linked Accounts", content: "View and manage your CraftRealm account settings. Link your Discord, Twitch, and YouTube accounts to unlock special perks and community recognition."},
{
- id: "2",
- title: "Security & Password",
- content: "Update your password, enable two-factor authentication, and review recent login activity. Protect your account with advanced security features.",
- },
+ id: "2", title: "Security & Password", content: "Update your password, enable two-factor authentication, and review recent login activity. Protect your account with advanced security features."},
{
- id: "3",
- title: "Premium Subscriptions",
- content: "Manage your VIP membership, view billing history, and access exclusive VIP-only features. Cancel or upgrade your subscription anytime.",
- },
+ id: "3", title: "Premium Subscriptions", content: "Manage your VIP membership, view billing history, and access exclusive VIP-only features. Cancel or upgrade your subscription anytime."},
{
- id: "4",
- title: "Statistics & Achievements",
- content: "Track your playtime across all game modes, view achievement progress, and compare stats with other players on the leaderboard.",
- },
+ id: "4", title: "Statistics & Achievements", content: "Track your playtime across all game modes, view achievement progress, and compare stats with other players on the leaderboard."},
]}
- imageSrc="http://img.b2bpic.net/free-photo/pleased-young-handsome-guy-wearing-black-t-shirt-with-headphones-playing-phone-isolated-blue-background_141793-105239.jpg?_wi=3"
+ imageSrc="http://img.b2bpic.net/free-photo/pleased-young-handsome-guy-wearing-black-t-shirt-with-headphones-playing-phone-isolated-blue-background_141793-105239.jpg"
imageAlt="Account dashboard interface"
mediaAnimation="slide-up"
useInvertedBackground={false}
@@ -126,33 +114,13 @@ export default function AccountPage() {
diff --git a/src/app/server/page.tsx b/src/app/server/page.tsx
index b241010..f6a4759 100644
--- a/src/app/server/page.tsx
+++ b/src/app/server/page.tsx
@@ -43,35 +43,20 @@ export default function ServerPage() {
description="CraftRealm features a robust, well-maintained server infrastructure designed for optimal performance and player experience. Our advanced systems ensure smooth gameplay with minimal downtime and maximum reliability."
tag="Server Details"
tagIcon={Gamepad2}
- tagAnimation="entrance-slide"
+ tagAnimation="slide-up"
accordionItems={[
{
- id: "1",
- title: "Hardware & Performance Specs",
- content: "Our dedicated server infrastructure runs on enterprise-grade hardware with 64GB RAM allocation, SSD storage, and 1Gbps network connectivity. We utilize load-balancing technology to distribute traffic efficiently and ensure consistent 48ms average ping response times across all regions.",
- },
+ id: "1", title: "Hardware & Performance Specs", content: "Our dedicated server infrastructure runs on enterprise-grade hardware with 64GB RAM allocation, SSD storage, and 1Gbps network connectivity. We utilize load-balancing technology to distribute traffic efficiently and ensure consistent 48ms average ping response times across all regions."},
{
- id: "2",
- title: "Data Security & Backups",
- content: "Player data is protected with 256-bit AES encryption and automatic backups occur every 6 hours. We maintain geographically distributed backup servers to prevent data loss. All transactions are PCI DSS compliant.",
- },
+ id: "2", title: "Data Security & Backups", content: "Player data is protected with 256-bit AES encryption and automatic backups occur every 6 hours. We maintain geographically distributed backup servers to prevent data loss. All transactions are PCI DSS compliant."},
{
- id: "3",
- title: "Anti-Cheat & Moderation",
- content: "We employ advanced anti-cheat systems including behavioral analysis, integrity checking, and machine learning detection. Our moderation team reviews reports within 24 hours. Repeat offenders face permanent bans to maintain fair gameplay.",
- },
+ id: "3", title: "Anti-Cheat & Moderation", content: "We employ advanced anti-cheat systems including behavioral analysis, integrity checking, and machine learning detection. Our moderation team reviews reports within 24 hours. Repeat offenders face permanent bans to maintain fair gameplay."},
{
- id: "4",
- title: "Custom Plugins & Optimization",
- content: "CraftRealm runs custom-optimized Paper server software with performance-tuned plugins. Our development team continuously monitors server metrics and updates plugins to prevent lag and exploit vulnerabilities.",
- },
+ id: "4", title: "Custom Plugins & Optimization", content: "CraftRealm runs custom-optimized Paper server software with performance-tuned plugins. Our development team continuously monitors server metrics and updates plugins to prevent lag and exploit vulnerabilities."},
{
- id: "5",
- title: "DDoS Protection & Redundancy",
- content: "We maintain DDoS mitigation through Cloudflare integration and multiple failover servers. If primary servers experience issues, traffic automatically routes to backup infrastructure within seconds.",
- },
+ id: "5", title: "DDoS Protection & Redundancy", content: "We maintain DDoS mitigation through Cloudflare integration and multiple failover servers. If primary servers experience issues, traffic automatically routes to backup infrastructure within seconds."},
]}
- imageSrc="http://img.b2bpic.net/free-vector/mother-earth-day-banners_23-2148092145.jpg?_wi=2"
+ imageSrc="http://img.b2bpic.net/free-vector/mother-earth-day-banners_23-2148092145.jpg"
imageAlt="Server infrastructure overview"
mediaAnimation="slide-up"
useInvertedBackground={true}
@@ -85,28 +70,16 @@ export default function ServerPage() {
diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
index f214190..f18b3db 100644
--- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
+++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
@@ -1,51 +1,51 @@
-"use client";
-
-import { memo } from "react";
-import useSvgTextLogo from "./useSvgTextLogo";
-import { cls } from "@/lib/utils";
+import React from 'react';
interface SvgTextLogoProps {
- logoText: string;
- adjustHeightFactor?: number;
- verticalAlign?: "top" | "center";
+ text: string;
className?: string;
+ fontSize?: string;
+ fill?: string;
+ fontFamily?: string;
+ fontWeight?: string;
+ letterSpacing?: string;
}
-const SvgTextLogo = memo(function SvgTextLogo({
- logoText,
- adjustHeightFactor,
- verticalAlign = "top",
- className = "",
-}) {
- const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
+const SvgTextLogo = ({
+ text,
+ className = '',
+ fontSize = '48px',
+ fill = 'currentColor',
+ fontFamily = 'system-ui, -apple-system, sans-serif',
+ fontWeight = '700',
+ letterSpacing = '0.02em',
+}: SvgTextLogoProps) => {
+ const width = text.length * 40;
+ const height = 80;
return (
);
-});
+};
-SvgTextLogo.displayName = "SvgTextLogo";
-
-export default SvgTextLogo;
+export default SvgTextLogo;
\ No newline at end of file