diff --git a/src/app/blog/[slug]/page.tsx b/src/app/blog/[slug]/page.tsx new file mode 100644 index 0000000..ab058da --- /dev/null +++ b/src/app/blog/[slug]/page.tsx @@ -0,0 +1,263 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import { Metadata } from "next"; +import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; +import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal'; + +// Mock blog content for dynamic page +const BLOG_ARTICLES: Record = { + "first-post": { + title: "Mastering Your Job Search in Georgia", category: "Career Advice", authorName: "Ana Japaridze", date: "July 15, 2024", imageSrc: "http://img.b2bpic.net/free-photo/education-skills-recruitment-word-search_53876-127810.jpg", imageAlt: "Job search strategies", content: ` +

Landing your dream job in Georgia requires a strategic approach. The market is dynamic, with opportunities spanning various sectors from IT to tourism. Here’s how you can stand out:

+

1. Optimize Your Resume and Profile

+

Utilize JobGeorgia's AI Resume Builder to create a compelling CV. Pay attention to keywords relevant to your target industry. A strong, keyword-rich profile on our platform increases your visibility to recruiters.

+

2. Network Effectively

+

While online applications are crucial, don't underestimate the power of networking. Attend industry events, webinars, and connect with professionals on LinkedIn. Georgian business culture values personal connections.

+

3. Tailor Your Applications

+

Generic applications rarely succeed. Use our AI Cover Letter Generator to customize your application for each specific role. Highlight how your skills and experience align with the job description and company values.

+

4. Prepare for Interviews

+

Research the company thoroughly and be ready to discuss your experience, problem-solving skills, and career aspirations. Practice common interview questions and prepare insightful questions to ask the interviewer.

+

By following these steps, you'll significantly improve your chances of securing a desirable position in Georgia's competitive job market.

+ `, + excerpt: "Unlock the secrets to a successful job hunt with our expert tips tailored for the Georgian market.", keywords: ["job search Georgia", "career advice", "resume optimization", "networking", "interview tips"], + }, + "second-post": { + title: "The Rise of Tech Jobs in Tbilisi: What You Need to Know", category: "Industry Insights", authorName: "Davit Gabunia", date: "July 20, 2024", imageSrc: "http://img.b2bpic.net/free-photo/engineer-coding-workstation-solar-panel-manufacturing-plant_482257-125829.jpg", imageAlt: "Tbilisi skyline with tech elements", content: ` +

Tbilisi is rapidly emerging as a regional tech hub, attracting both local talent and international investment. This growth is creating a wealth of opportunities for skilled professionals.

+

Booming Sectors

+

Key areas experiencing significant growth include software development, cybersecurity, fintech, and IT services. Many international companies are establishing branches in Tbilisi, alongside a vibrant startup ecosystem.

+

In-Demand Skills

+

Employers are actively seeking candidates proficient in programming languages like Python, JavaScript, and Go. Cloud computing (AWS, Azure, GCP), data science, and AI/ML expertise are also highly valued. Soft skills such as problem-solving, adaptability, and teamwork are equally crucial.

+

Educational Opportunities

+

Georgian universities and private academies are increasingly offering specialized tech programs to meet the demand. Continuous learning and upskilling are essential to stay competitive in this fast-evolving landscape.

+

JobGeorgia is committed to connecting tech talent with these exciting opportunities. Explore our listings to find your next challenge in Tbilisi's burgeoning tech scene.

+ `, + excerpt: "Explore the booming tech sector in Georgia's capital and discover in-demand skills.", keywords: ["tech jobs Tbilisi", "Georgia tech industry", "software development Georgia", "fintech Tbilisi", "IT jobs Georgia"], + }, + "third-post": { + title: "Navigating Remote Work in Georgia: A Guide for Employers and Employees", category: "Company Culture", authorName: "Mariam Davitashvili", date: "July 25, 2024", imageSrc: "http://img.b2bpic.net/free-photo/asian-manager-virtual-meeting-night_482257-124219.jpg", imageAlt: "Remote team collaboration", content: ` +

Remote work has become a permanent fixture in the global landscape, and Georgia is no exception. Both employers and employees need to adapt to new strategies to ensure productivity and engagement.

+

For Employers

+

Establishing clear communication channels, investing in reliable collaboration tools, and fostering a culture of trust are paramount. Regular check-ins, performance metrics, and opportunities for virtual team-building can help maintain cohesion and morale.

+

For Employees

+

Self-discipline, time management, and setting boundaries between work and personal life are crucial. Create a dedicated workspace, minimize distractions, and proactively communicate with your team and manager. Leverage tools for task management and virtual meetings to stay organized and connected.

+

The Georgian Context

+

Georgia's favorable tax environment for freelancers and digital nomads, combined with a growing digital infrastructure, makes it an attractive location for remote work. JobGeorgia facilitates connections for remote roles, helping businesses find talent and individuals discover flexible opportunities.

+

Embracing remote work effectively can lead to increased flexibility, broader talent pools, and enhanced work-life balance for all involved.

+ `, + excerpt: "Best practices and challenges of remote work models in the Georgian business environment.", keywords: ["remote work Georgia", "remote jobs", "employer guide remote work", "employee guide remote work", "digital nomad Georgia"], + }, +}; + +function getBlogPostBySlug(slug: string) { + return BLOG_ARTICLES[slug]; +} + +// Function to get all slugs for static generation +export async function generateStaticParams() { + return Object.keys(BLOG_ARTICLES).map(slug => ({ + slug + })); +} + +// Dynamically generated metadata based on the slug +export async function generateMetadata({ params }: { params: { slug: string } }): Promise { + const post = getBlogPostBySlug(params.slug); + + if (!post) { + return { + title: "Article Not Found", description: "The requested blog article could not be found."}; + } + + return { + title: `${post.title} | JobGeorgia Blog`, + description: post.excerpt, + keywords: post.keywords, + openGraph: { + title: `${post.title} | JobGeorgia Blog`, + description: post.excerpt, + url: `https://www.jobgeorgia.ge/blog/${params.slug}`, + siteName: "JobGeorgia", images: [{ + url: post.imageSrc, + alt: post.imageAlt + }], + type: "article"}, + twitter: { + card: "summary_large_image", title: `${post.title} | JobGeorgia Blog`, + description: post.excerpt, + images: [post.imageSrc], + }, + }; +} + +export default function BlogArticlePage({ params }: { params: { slug: string } }) { + const post = getBlogPostBySlug(params.slug); + + if (!post) { + return ( + + +
+

Article Not Found

+

The blog post you are looking for does not exist.

+ Go back to blog list +
+
+
+ ); + } + + return ( + + + + +
+
+ {post.imageAlt} +
+

{post.category} • {post.date}

+

{post.title}

+

By {post.authorName}

+ + + + + + + ); +}