diff --git a/src/App.jsx b/src/App.jsx index 2f9f3ed..22d1aee 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -5,6 +5,7 @@ import Home from './pages/Home'; import How from './pages/How'; import GetStarted from './pages/GetStarted'; import Technology from './pages/Technology'; +import Freezone from './pages/Freezone'; import Blog from './pages/Blog'; import BlogPost from './pages/BlogPost'; import './App.css'; @@ -20,11 +21,13 @@ function App() { } /> } /> } /> + } /> } /> } /> } /> } /> } /> + } /> diff --git a/src/assets/inthezone.jpg b/src/assets/inthezone.jpg deleted file mode 100644 index 9d734ea..0000000 Binary files a/src/assets/inthezone.jpg and /dev/null differ diff --git a/src/assets/inthezone.png b/src/assets/inthezone.png new file mode 100644 index 0000000..95e07d4 Binary files /dev/null and b/src/assets/inthezone.png differ diff --git a/src/blogs/freezone_ultimate-convenience-and-features.md b/src/blogs/freezone_ultimate-convenience-and-features.md new file mode 100644 index 0000000..8563d96 --- /dev/null +++ b/src/blogs/freezone_ultimate-convenience-and-features.md @@ -0,0 +1,17 @@ +--- +title: Ultimate in Convenience and Features +description: Experience unparalleled convenience and a rich suite of features designed to make your business life fun again within a digital freezone. +image: /src/assets/stresssfree.jpg +--- + +Imagine a business environment where every tool you need is at your fingertips, processes are streamlined, and innovation thrives. A digital freezone delivers this reality, offering an ultimate blend of convenience and advanced features that transform the way you work. + +**Key Features for a Better Business Life:** + +* **Integrated Digital Tools:** Access a comprehensive suite of integrated tools for communication, collaboration, project management, and financial operations, all within a secure ecosystem. +* **Automated Compliance:** Leverage AI-driven systems that automate compliance checks and regulatory filings, significantly reducing administrative burden and ensuring adherence to digital freezone laws. +* **Seamless Global Transactions:** Conduct international transactions with ease, benefiting from low fees, rapid settlements, and support for various digital currencies. +* **Personalized AI Agents:** Utilize intelligent AI agents that learn your preferences and automate routine tasks, freeing up your time to focus on strategic initiatives and creative endeavors. +* **Vibrant Community and Ecosystem:** Connect with a global community of innovators, entrepreneurs, and digital nomads, fostering collaboration and new opportunities. + +A digital freezone is more than just a legal framework; it's a dynamic ecosystem designed to enhance productivity, reduce stress, and inject enjoyment back into your business life. \ No newline at end of file diff --git a/src/components/Navigation.jsx b/src/components/Navigation.jsx index e5e902c..ac92060 100644 --- a/src/components/Navigation.jsx +++ b/src/components/Navigation.jsx @@ -19,6 +19,7 @@ const Navigation = () => { { path: '/how', label: 'HOW' }, { path: '/get-started', label: 'GET STARTED' }, { path: '/technology', label: 'TECHNOLOGY' }, + { path: '/freezone', label: 'FREEZONE' }, { path: '/blog', label: 'BLOG' }, ]; diff --git a/src/pages/Freezone.jsx b/src/pages/Freezone.jsx new file mode 100644 index 0000000..2caa89f --- /dev/null +++ b/src/pages/Freezone.jsx @@ -0,0 +1,175 @@ +import React, { useEffect, useState } from 'react'; +import { motion } from 'framer-motion'; +import { Link } from 'react-router-dom'; +import { Gavel, Wallet, ShieldCheck, Smile } from 'lucide-react'; // Appropriate icons for Freezone +import HeroSection from '../components/HeroSection'; +import Section from '../components/Section'; +import FeatureCard from '../components/FeatureCard'; +import matter from 'gray-matter'; + +// Import images +const freezoneBackground = new URL('../assets/inthezone.png', import.meta.url).href; +const freezoneImage = new URL('../assets/freezone.jpg', import.meta.url).href; +const theworldImage = new URL('../assets/world.jpg', import.meta.url).href; +const disputeresolutionImage = new URL('../assets/disputeresolution.jpg', import.meta.url).href; +const stresssfreeImage = new URL('../assets/stresssfree.jpg', import.meta.url).href; + +// Use Vite's import.meta.glob to import all freezone markdown files +const freezoneModules = import.meta.glob('../blogs/freezone_*.md', { query: '?raw', import: 'default', eager: true }); + +const Freezone = () => { + const [articles, setArticles] = useState([]); + const [loading, setLoading] = useState(true); + + useEffect(() => { + const loadArticles = async () => { + try { + const loadedArticles = []; + + for (const path in freezoneModules) { + const content = freezoneModules[path]; + const { data: frontmatter } = matter(content); + + // Map icon strings to actual components + const iconMap = { + 'Gavel': , + 'Wallet': , + 'ShieldCheck': , + 'Smile': + }; + + // Map image paths to actual imports + const imageMap = { + '/src/assets/freezone.jpg': freezoneImage, + '/src/assets/theworld.jpg': theworldImage, + '/src/assets/disputeresolution.jpg': disputeresolutionImage, + '/src/assets/stresssfree.jpg': stresssfreeImage + }; + + loadedArticles.push({ + icon: iconMap[frontmatter.icon] || , // Default icon + title: frontmatter.title, + description: frontmatter.description, + image: imageMap[frontmatter.image] || freezoneImage, // Default image + order: frontmatter.order || 999, + slug: frontmatter.slug || frontmatter.title.toLowerCase().replace(/\s+/g, '-') + }); + } + + // Sort by order (if order is defined in frontmatter) + loadedArticles.sort((a, b) => a.order - b.order); + setArticles(loadedArticles); + } catch (error) { + console.error('Error loading freezone articles:', error); + // Fallback to static data if loading fails (optional, but good for robustness) + setArticles([ + { + icon: , + title: "Legal and Financial Sovereignty", + description: "Understand how a digital freezone provides unparalleled legal and financial sovereignty for your operations.", + image: freezoneImage, + slug: "legal-and-financial-sovereignty" + }, + { + icon: , + title: "Keep Your Assets Safe Now and in Future", + description: "Discover how a digital freezone provides robust protection for your assets against current and future threats.", + image: theworldImage, + slug: "keep-your-assets-safe-now-and-in-future" + }, + { + icon: , + title: "Dispute Resolution (AI & People)", + description: "Explore the innovative dispute resolution mechanisms available within a digital freezone, combining AI efficiency with human oversight.", + image: disputeresolutionImage, + slug: "dispute-resolution" + }, + { + icon: , + title: "Ultimate in Convenience and Features", + description: "Experience unparalleled convenience and a rich suite of features designed to make your business life fun again within a digital freezone.", + image: stresssfreeImage, + slug: "ultimate-convenience-and-features" + } + ]); + } finally { + setLoading(false); + } + }; + + loadArticles(); + }, []); + + return ( +
+ {/* Hero Section */} + + + {/* Freezone Articles Section */} +
+
+ + Why a Digital Freezone? + + + Explore the core benefits of operating your HERO from a digital freezone. + +
+ +
+ {loading ? ( + // Loading skeleton + Array.from({ length: 4 }).map((_, index) => ( + +
+
+
+
+
+ )) + ) : ( + articles.map((article, index) => ( + + + + )) + )} +
+
+
+ ); +}; + +export default Freezone; \ No newline at end of file diff --git a/src/pages/Technology.jsx b/src/pages/Technology.jsx index 776fb9c..fdacbe5 100644 --- a/src/pages/Technology.jsx +++ b/src/pages/Technology.jsx @@ -15,7 +15,7 @@ import securityImage from '../assets/person.jpg'; // Digital privacy import swarmImage from '../assets/swarm.jpg'; // AI Agent Creation // Use Vite's import.meta.glob to import all tech markdown files -const techModules = import.meta.glob('../blogs/tech_*.md', { as: 'raw', eager: true }); +const techModules = import.meta.glob('../blogs/tech_*.md', { query: '?raw', import: 'default', eager: true }); const Technology = () => { const [technologies, setTechnologies] = useState([]);