diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx index c7d5c21..33cef90 100644 --- a/src/app/blog/page.tsx +++ b/src/app/blog/page.tsx @@ -23,16 +23,16 @@ type BlogPost = { const defaultPosts: BlogPost[] = [ { - id: "1", category: "Design", title: "UX review presentations", excerpt: "How do you create compelling presentations that wow your colleagues and impress your managers?", imageSrc: "/placeholders/placeholder3.avif", imageAlt: "Abstract design with purple and silver tones", authorName: "Olivia Rhye", authorAvatar: "/placeholders/placeholder3.avif", date: "20 Jan 2025", onBlogClick: () => console.log("Blog 1 clicked"), + id: "1", category: "Training", title: "The Science Behind Effective Strength Training", excerpt: "Discover the principles that make strength training effective, from progressive overload to proper recovery. Learn how to structure your training for maximum results.", imageSrc: "/placeholders/placeholder3.avif", imageAlt: "Strength training form and technique", authorName: "Personal Trainer", authorAvatar: "/placeholders/placeholder3.avif", date: "20 Jan 2025", onBlogClick: () => console.log("Blog 1 clicked"), }, { - id: "2", category: "Development", title: "Building scalable applications", excerpt: "Learn the best practices for building applications that can handle millions of users.", imageSrc: "/placeholders/placeholder4.webp", imageAlt: "Development workspace", authorName: "John Smith", authorAvatar: "/placeholders/placeholder4.webp", date: "18 Jan 2025", onBlogClick: () => console.log("Blog 2 clicked"), + id: "2", category: "Nutrition", title: "Nutrition Strategies That Support Your Fitness Goals", excerpt: "Learn how to fuel your body properly for optimal performance and recovery. From macronutrient timing to hydration strategies, discover nutrition fundamentals.", imageSrc: "/placeholders/placeholder4.webp", imageAlt: "Healthy nutrition and meal planning", authorName: "Personal Trainer", authorAvatar: "/placeholders/placeholder4.webp", date: "18 Jan 2025", onBlogClick: () => console.log("Blog 2 clicked"), }, { - id: "3", category: "Marketing", title: "Content strategy essentials", excerpt: "Discover how to create a content strategy that drives engagement and conversions.", imageSrc: "/placeholders/placeholder3.avif", imageAlt: "Marketing strategy board", authorName: "Sarah Johnson", authorAvatar: "/placeholders/placeholder3.avif", date: "15 Jan 2025", onBlogClick: () => console.log("Blog 3 clicked"), + id: "3", category: "Mindset", title: "Building the Mental Strength to Achieve Your Fitness Goals", excerpt: "Physical transformation starts with mental resilience. Explore practical strategies for overcoming obstacles, staying motivated, and building lasting habits.", imageSrc: "/placeholders/placeholder3.avif", imageAlt: "Mental resilience and fitness mindset", authorName: "Personal Trainer", authorAvatar: "/placeholders/placeholder3.avif", date: "15 Jan 2025", onBlogClick: () => console.log("Blog 3 clicked"), }, { - id: "4", category: "Product", title: "Product management 101", excerpt: "Everything you need to know to become an effective product manager in 2025.", imageSrc: "/placeholders/placeholder4.webp", imageAlt: "Product planning session", authorName: "Mike Davis", authorAvatar: "/placeholders/placeholder4.webp", date: "12 Jan 2025", onBlogClick: () => console.log("Blog 4 clicked"), + id: "4", category: "Recovery", title: "Why Recovery is Just as Important as Training", excerpt: "Rest and recovery aren't optional. Learn how sleep, stretching, and active recovery enhance your training results and prevent injury.", imageSrc: "/placeholders/placeholder4.webp", imageAlt: "Recovery and rest strategies", authorName: "Personal Trainer", authorAvatar: "/placeholders/placeholder4.webp", date: "12 Jan 2025", onBlogClick: () => console.log("Blog 4 clicked"), }, ]; @@ -65,7 +65,7 @@ export default function BlogPage() { if (Array.isArray(data) && data.length > 0) { const mappedPosts = data.map((post: any) => ({ id: post.id || String(Math.random()), - category: post.category || "General", title: post.title || "Untitled", excerpt: post.excerpt || post.content.slice(0, 30) || "", imageSrc: post.imageUrl || "/placeholders/placeholder3.avif", imageAlt: post.imageAlt || post.title || "", authorName: post.author?.name || "Anonymous", authorAvatar: post.author?.avatar || "/placeholders/placeholder3.avif", date: post.date || post.createdAt || new Date().toLocaleDateString("en-GB", { day: "numeric", month: "short", year: "numeric" }), + category: post.category || "General", title: post.title || "Untitled", excerpt: post.excerpt || post.content.slice(0, 30) || "", imageSrc: post.imageUrl || "/placeholders/placeholder3.avif", imageAlt: post.imageAlt || post.title || "", authorName: post.author?.name || "Personal Trainer", authorAvatar: post.author?.avatar || "/placeholders/placeholder3.avif", date: post.date || post.createdAt || new Date().toLocaleDateString("en-GB", { day: "numeric", month: "short", year: "numeric" }), onBlogClick: () => console.log(`Blog ${post.id} clicked`), })); setPosts(mappedPosts); @@ -102,14 +102,14 @@ export default function BlogPage() { navItems={[ { name: "Home", id: "/" }, { name: "About", id: "about" }, - { name: "Achievements", id: "achievements" }, + { name: "Certifications", id: "achievements" }, { name: "Services", id: "services" }, - { name: "Philosophy", id: "philosophy" }, + { name: "Approach", id: "philosophy" }, { name: "Contact", id: "contact" } ]} - brandName="Rory Gibbs" - bottomLeftText="Olympic Champion" - bottomRightText="hello@rorygibbs.com" + brandName="Personal Trainer" + bottomLeftText="Certified Professional" + bottomRightText="contact@trainer.com" /> {isLoading ? ( @@ -119,8 +119,8 @@ export default function BlogPage() { ) : ( ); -} +} \ No newline at end of file diff --git a/src/app/page.tsx b/src/app/page.tsx index 4cfd975..c7018bb 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -11,7 +11,7 @@ import TestimonialCardFifteen from '@/components/sections/testimonial/Testimonia import ContactSplit from '@/components/sections/contact/ContactSplit'; import FooterCard from '@/components/sections/footer/FooterCard'; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; -import { Award, Brain, Heart, Shield, TrendingUp, Trophy, Zap, Star, Clock, Flame, BookOpen, Mail, Instagram, Twitter, Linkedin, Users, Target, Briefcase } from "lucide-react"; +import { Award, Brain, Heart, Shield, TrendingUp, Trophy, Zap, Star, Clock, Flame, BookOpen, Mail, Instagram, Twitter, Linkedin, Users, Target, Briefcase, Dumbbell, Compass, Lightbulb } from "lucide-react"; export default function LandingPage() { return ( @@ -32,64 +32,64 @@ export default function LandingPage() { navItems={[ {"name": "Home", "id": "home"}, {"name": "About", "id": "about"}, - {"name": "Achievements", "id": "achievements"}, + {"name": "Certifications", "id": "achievements"}, {"name": "Services", "id": "services"}, - {"name": "Philosophy", "id": "philosophy"}, + {"name": "Approach", "id": "philosophy"}, {"name": "Contact", "id": "contact"} ]} - brandName="Rory Gibbs" - bottomLeftText="Olympic Champion" - bottomRightText="hello@rorygibbs.com" + brandName="Personal Trainer" + bottomLeftText="Certified Professional" + bottomRightText="contact@trainer.com" />
@@ -202,32 +203,32 @@ export default function LandingPage() {
); -} +} \ No newline at end of file diff --git a/src/app/services/page.tsx b/src/app/services/page.tsx index 2cc5d5f..594b301 100644 --- a/src/app/services/page.tsx +++ b/src/app/services/page.tsx @@ -6,7 +6,7 @@ import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven'; import FooterCard from '@/components/sections/footer/FooterCard'; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; -import { Instagram, Twitter, Linkedin, Mail, Briefcase } from 'lucide-react'; +import { Instagram, Twitter, Linkedin, Mail, Dumbbell } from 'lucide-react'; export default function ServicesPage() { return ( @@ -28,69 +28,69 @@ export default function ServicesPage() { navItems={[ { name: "Home", id: "/" }, { name: "About", id: "about" }, - { name: "Achievements", id: "achievements" }, + { name: "Certifications", id: "achievements" }, { name: "Services", id: "services" }, - { name: "Philosophy", id: "philosophy" }, + { name: "Approach", id: "philosophy" }, { name: "Contact", id: "contact" } ]} - brandName="Rory Gibbs" - bottomLeftText="Olympic Champion" - bottomRightText="hello@rorygibbs.com" + brandName="Personal Trainer" + bottomLeftText="Certified Professional" + bottomRightText="contact@trainer.com" />
); -} +} \ No newline at end of file