I will now update src/types.ts to include the new page types (like 'vps'), currency formatting support, plan types, and modal state types.
Now let's create src/data/plans.ts which will contain all the required plans exactly as specified:
- Minecraft Hosting Plans (11 plans: STARTER to INFINITY)
- Discord Bot Hosting Plans (5 plans: BOT STARTER to BOT ELITE)
- VPS Hosting Plans (3 categories: AMD EPYC VPS, RYZEN 7 7700X VPS, RYZEN 9 9950X VPS)
Let's create src/data/plans.ts.
All prices are in ₹ (INR Rupees).I will now create src/data/plans.ts containing the complete new pricing plans for Minecraft Hosting, Discord Bot Hosting, and VPS Hosting (AMD EPYC, Ryzen 7 7700X, and Ryzen 9 9950X), deleting all old plans.
Now let's create the animated SpaceBackground component src/components/SpaceBackground.tsx with:
- Floating twinkling stars
- Deep space nebulae
- Animated shooting meteors throwing across the space background!
- Space glow effects
Let's create src/components/SpaceBackground.tsx.I will now create src/components/SpaceBackground.tsx which provides an animated space background with twinkling stars, blue/cyan nebulae, and shooting meteors across the space background.
Now let's update src/index.css to add:
- The meteor shooting animation (
meteor-trail and @keyframes meteor)
- Twinkling star animation (
@keyframes starTwinkle)
- Very subtle attractive font gradient class (
text-gradient-subtle or applying a very subtle gradient to headings/text)
- Enhanced typography and animations
Let's inspect and update src/index.css.I will now edit src/index.css to add the meteor shooting animations, space starfield twinkling animations, subtle premium typography gradient styles, and enhanced card hover animations.
Now let's create the two modal components required:
src/components/AccessRestrictedModal.tsx for the "Access Restricted" popup:
- Title:
"Access Restricted"
- Message:
"You need to purchase a service first before accessing the Panel."
- Button:
"View Plans" -> redirects to the pricing/plans page (which we can route to 'store' or let them choose Minecraft / Discord / VPS).
src/components/CheckoutModal.tsx for when a user clicks "Purchase" / "Order" on any plan card, allowing them to complete checkout and activate their service (hasActiveService = true), or simulate instant activation!
Let's create src/components/AccessRestrictedModal.tsx.I will now create src/components/AccessRestrictedModal.tsx to display the "Access Restricted" popup when a user without an active service attempts to open the Panel.
Now let's create src/components/CheckoutModal.tsx so when the user clicks a purchase button on any plan, it opens an interactive checkout modal. When they click "Complete Purchase" (or "Order Now"), it sets hasActiveService = true, displays a celebratory confirmation, and allows them to navigate directly to their newly unlocked Panel!
Let's create src/components/CheckoutModal.tsx.I will now create src/components/CheckoutModal.tsx to handle purchasing any plan and activating Panel access.
Now let's update src/components/Navbar.tsx to:
- Rename
"Client Area" to "Panel" everywhere (in desktop CTA buttons, mobile menu, dropdown, and links).
- Intercept clicking
"Panel" (or "panel" page / client area):
- Check if
hasActiveService is true.
- If
hasActiveService === false, do NOT allow access! Call onRestrictedAccess() which opens the "Access Restricted" popup!
- If
hasActiveService === true, navigate to 'panel'.
- Add
"VPS Hosting" to the hosting dropdown and menu.
- Add smooth animations for dropdowns and header tab switching.
Let's inspect and update src/components/Navbar.tsx.I will now update src/components/Navbar.tsx to rename "Client Area" to "Panel", add VPS Hosting to the menu and dropdown, add smooth animations, and enforce the access restriction check when clicking on "Panel".
Now let's update src/components/Footer.tsx to:
- Rename "Client Area" to "Panel"
- Add "VPS Hosting" link under Hosting
- Add smooth hover animations and ₹ INR default pricing references.
Let's inspect and update src/components/Footer.tsx.I will now update src/components/Footer.tsx to rename "Client Area" to "Panel", add VPS Hosting to the links, and enhance the space glow footer styling.
Now let's create a reusable, modern PricingCard component that we can use across all pages (Store, Minecraft, Discord Bot, VPS, and Home) so the design is consistent, beautiful, responsive, and includes the purchase button on every plan!
Let's create src/components/PricingCard.tsx.I will now create src/components/PricingCard.tsx which renders a modern pricing card with highlighted badges for popular plans, plan specs (RAM, NVMe SSD, CPU, location, DDoS protection), monthly ₹ INR price, and a purchase button connected to the checkout modal.
Now let's update all the pages to use our new plans, ₹ INR default pricing, and animated category tabs!
Let's start with src/pages/StorePage.tsx which will be our main comprehensive Hosting / Pricing Store Page:
- Displays category tabs:
Minecraft Hosting, Discord Bot Hosting, VPS Hosting
- Smooth animations when switching categories
- Responsive mobile layout
- Highlighted badges for popular plans
- Connects purchase buttons with existing checkout system
Let's create/update src/pages/StorePage.tsx.I will now replace src/pages/StorePage.tsx to display all the new Minecraft, Discord Bot, and VPS Hosting plans with animated category tabs, search/filter, and purchase buttons.
Now let's update src/pages/MinecraftPage.tsx so that it:
- Deletes all old plans and old pricing data
- Uses
MINECRAFT_PLANS from src/data/plans.ts (11 plans: STARTER to INFINITY in ₹ INR, India location)
- Displays modern pricing cards with purchase buttons connected to
onPurchase
- Features the space theme styling!
Let's inspect and replace src/pages/MinecraftPage.tsx.I will now replace src/pages/MinecraftPage.tsx to display all 11 new Minecraft Hosting plans (STARTER through INFINITY, ₹160 to ₹3840/month) with India location, removing all old plans.
Now let's update src/pages/DiscordBotPage.tsx to:
- Delete all old plans and old pricing data
- Use
DISCORD_PLANS from src/data/plans.ts (5 plans: BOT STARTER to BOT ELITE in ₹ INR, ₹49 to ₹499/mo)
- Include purchase buttons connected to
onPurchase
- Use the space theme styling!
Let's inspect and replace src/pages/DiscordBotPage.tsx.I will now replace src/pages/DiscordBotPage.tsx to display all 5 new Discord Bot Hosting plans (BOT STARTER through BOT ELITE, ₹49 to ₹499/month), deleting all old bot pricing data.
Now let's create a dedicated src/pages/VpsPage.tsx for VPS Hosting Plans (AMD EPYC, Ryzen 7 7700X, and Ryzen 9 9950X VPS categories in ₹ INR):
Let's create src/pages/VpsPage.tsx.I will now create src/pages/VpsPage.tsx to showcase all 3 VPS categories (AMD EPYC VPS, RYZEN 7 7700X VPS, RYZEN 9 9950X VPS) with smooth category switching and purchase buttons.
Now let's update src/pages/HomePage.tsx to:
- Show pricing in ₹ INR
- Update hosting category cards to include:
- Minecraft Hosting (Starting at ₹160/mo)
- Discord Bot Hosting (Starting at ₹49/mo)
- VPS Hosting (Starting at ₹899/mo)
- Include space theme styling and meteor references.
Let's inspect and update src/pages/HomePage.tsx.I will now update src/pages/HomePage.tsx to feature the new ₹ INR pricing, add the VPS category card, and enhance the space theme styling.
Now let's update src/pages/ClientAreaPage.tsx to:
- Be titled "Panel" instead of "Client Area" everywhere!
- Display the user's active services (including any newly purchased service!), invoices in ₹ INR, and support tickets!
- Provide an interactive tab or switch to the full control panel view if they want to manage their server.
Let's inspect and replace src/pages/ClientAreaPage.tsx.I will now update src/pages/ClientAreaPage.tsx so that it is titled "Panel", shows prices in ₹ INR, and displays the user's purchased services.
Let's fix the minor closing tag typo in src/pages/ClientAreaPage.tsx around line 218 (</p> check). Let's edit src/pages/ClientAreaPage.tsx.I will now fix the JSX closing tag syntax in src/pages/ClientAreaPage.tsx.
Now let's update src/App.tsx!
Let's review everything App.tsx needs to do:
- Render
<SpaceBackground /> for the animated space stars and shooting meteors background!
- Track
purchasedServices: PlanItem[].
- Track
hasActiveService: boolean (which starts false by default until they purchase a plan, OR if purchasedServices.length > 0).
- Track modal states:
isRestrictedModalOpen: boolean — opened when they click on "Panel" without an active service!
selectedPlanForCheckout: PlanItem | null — opened when they click "Purchase Now" on any plan!
isCheckoutModalOpen: boolean
notification: { title: string; message: string } | null — for celebrating a successful deployment!
- When
AccessRestrictedModal "View Plans" button is clicked:
- Close modal and redirect user to
'store' pricing plans page.
- Connect all routing including
'vps' page!
- Ensure "Client Area" is renamed to "Panel" everywhere.
Let's inspect src/App.tsx and replace it with this complete implementation.I will now update src/App.tsx to integrate the SpaceBackground component, support the VPS Hosting page, enforce the Panel restriction popup, and handle checkout modal flows for purchasing plans.
Let's clean up the unused import warning in src/App.tsx:
We can remove import { PanelPreviewPage } from './pages/PanelPreviewPage'; or make it accessible if they want to preview Pterodactyl. Let's remove the unused import so there are no lint errors.I will now edit src/App.tsx to remove the unused import and ensure clean typescript compilation.
Now let's check for any remaining lint or TypeScript errors across the project, and then build the project to verify! Let's run build_project.I will now run build_project to test and confirm that the entire updated web application compiles and bundles without errors.
The project built cleanly and successfully (✓ built in 2.30s).
Let's review all the changes made to ensure every single requirement from the user was fulfilled:
-
Space Theme & Animations:
- Added an animated
<SpaceBackground /> component (src/components/SpaceBackground.tsx) featuring deep space glowing nebulae, twinkling stars (animate-star-twinkle), and shooting meteors (meteor-trail throwing across the background in space).
- Added attractive, subtle font gradient typography (
text-gradient-subtle) for a premium futuristic feel.
- Added Framer Motion page transition animations when switching pages, categories/tabs, clicking navbar items, and opening dropdowns.
-
Default Currency in INR (₹ Rupees):
- All pricing across the website is displayed in ₹ INR (Rupees) by default (Minecraft, Discord Bot, VPS, Store, Homepage, and Invoices).
-
Renamed "Client Area" to "Panel" everywhere:
- In the Navbar, Footer, button labels, mobile slide-out navigation, and the page title.
-
Access Restricted Popup for "Panel":
- When a user clicks on
"Panel", we check if hasActiveService is true.
- If
false, access is blocked and the popup notification modal (AccessRestrictedModal) appears with:
- Title: "Access Restricted"
- Message: "You need to purchase a service first before accessing the Panel."
- Button: "View Plans" which immediately redirects to the plans/store page upon clicking.
- Once a user clicks any "Purchase Now" button and completes the checkout modal (
CheckoutModal), their service is deployed (hasActiveService = true), and clicking "Panel" allows full access!
-
Old Plans Removed & Complete New Pricing Plans Added:
- All old plans were deleted and replaced in
src/data/plans.ts:
- 11 Minecraft Hosting Plans:
STARTER (₹160/mo) through INFINITY (₹3840/mo), with RAM, NVMe SSD storage, CPU %, India Location, and DDoS Protection Included.
- 5 Discord Bot Hosting Plans:
BOT STARTER (₹49/mo) through BOT ELITE (₹499/mo).
- 12 VPS Hosting Plans across 3 categories:
Files built: src/types.ts, src/data/plans.ts, src/components/SpaceBackground.tsx, src/index.css, src/components/AccessRestrictedModal.tsx, src/components/CheckoutModal.tsx, src/components/Navbar.tsx, src/components/Footer.tsx, src/components/PricingCard.tsx, src/pages/StorePage.tsx, src/pages/MinecraftPage.tsx, src/pages/DiscordBotPage.tsx, src/pages/VpsPage.tsx, src/pages/HomePage.tsx, src/pages/ClientAreaPage.tsx, src/App.tsx