diff --git a/api/blogs.js b/api/blogs.js
index f11ff44..068e8f5 100644
--- a/api/blogs.js
+++ b/api/blogs.js
@@ -180,3 +180,7 @@ This article provides general information only. Consult qualified immigration co
];
export default blogs;
+
+
+
+
diff --git a/components/BlogSection/BlogSection.js b/components/BlogSection/BlogSection.js
index 1286f68..9542dce 100644
--- a/components/BlogSection/BlogSection.js
+++ b/components/BlogSection/BlogSection.js
@@ -1,48 +1,64 @@
import React from "react";
-import blogs from '../../api/blogs'
+import blogs from '../../api/blogs';
import Link from "next/link";
import SectionTitle from "../SectionTitle/SectionTitle";
import Image from "next/image";
+import { useTranslation } from 'next-i18next';
+import blog from "../../utils/constant.utils";
-
-const ClickHandler = () => {
- window.scrollTo(10, 0);
-}
+const ClickHandler = () => window.scrollTo(10, 0);
const BlogSection = () => {
- return (
-
- {blog.para}
- {blogTexts.para}
-
*/}
- {blog.title}
-
+
+ {blogTexts.title}
+
+
+
info@janahanlaw.com
- {/*helloyou@gmail.com
*/} +{t("contactInfo.email")}
+1 (305) 330-7413
- {/*+1 800 123 654 987
*/} +{t("contactInfo.phone")}
We’re here to help with all your U.S. immigration and legal needs — contact Janahan Law for trusted guidance today.
+{t('contactInfo.questionDesc')}
Recent policy changes affect thousands of immigrants. Learn how temporary protected status updates...
... full content here ..." + }, + "h1b-season-2025-preparation-strategies": { + "title": "H-1B Season 2025: Preparation Strategies", + "summary": "The annual H-1B lottery approaches. Our comprehensive guide helps employers and workers navigate the process.", + "description": "The H-1B registration period for the fiscal year 2026 closed recently...
... full content here ..." + }, + "family-immigration-backlogs-alternative-options": { + "title": "Family Immigration Backlogs: Alternative Options", + "summary": "While family preference categories face delays, discover alternative pathways to reunite with loved ones.", + "description": "While family preference categories face delays...
... full content here ..." + } + } +} \ No newline at end of file diff --git a/public/locales/en/contact.json b/public/locales/en/contact.json new file mode 100644 index 0000000..ce08902 --- /dev/null +++ b/public/locales/en/contact.json @@ -0,0 +1,35 @@ +{ + "contactInfo": { + "emailTitle": "Email Us", + "email": "info@janahanlaw.com", + "callTitle": "Call Now", + "phone": "+1 (305) 330-7413", + "questionTitle": "Have Any Question?", + "questionDesc": "We’re here to help with all your U.S. immigration and legal needs — contact Janahan Law for trusted guidance today." + }, + "form": { + "namePlaceholder": "Your Name", + "emailPlaceholder": "Your Email", + "phonePlaceholder": "Your Phone", + "subjectPlaceholder": "Select Subject", + "subjectOptions": [ + "River Development", + "Village Development", + "Road Development", + "Town Development", + "Social Development" + ], + "messagePlaceholder": "Message", + "submitButton": "Submit Now", + "successMessage": "Message sent successfully!", + "failedMessage": "Failed to send message. Please try again later.", + "requiredMessages": { + "name": "Name is required", + "email": "Valid email is required", + "phone": "Phone number is required", + "subject": "Please select a subject", + "message": "Message is required", + "recaptcha": "Please complete the ReCAPTCHA" + } + } +} diff --git a/public/locales/es/blog.json b/public/locales/es/blog.json new file mode 100644 index 0000000..aad4cd9 --- /dev/null +++ b/public/locales/es/blog.json @@ -0,0 +1,22 @@ +{ + "sectionSubTitle": "Nuestro Blog", + "sectionTitle": "Últimas Noticias y Comunicados", + "knowMore": "Saber Más", + "posts": { + "new-tps-designations-what-you-need-to-know": { + "title": "Nuevas Designaciones de TPS: Lo Que Necesitas Saber", + "summary": "Cambios recientes en la política afectan a miles de inmigrantes. Descubre cómo las actualizaciones de TPS pueden impactar tu caso y qué acciones tomar.", + "description": "Los cambios recientes en la política afectan a miles de inmigrantes. Aprende cómo las actualizaciones del Estatus de Protección Temporal (TPS) pueden impactar tu caso y qué pasos debes seguir...
... contenido completo aquí ..." + }, + "h1b-season-2025-preparation-strategies": { + "title": "Temporada H-1B 2025: Estrategias de Preparación", + "summary": "Se acerca la lotería anual de visas H-1B. Nuestra guía integral ayuda a empleadores y trabajadores a navegar el proceso y mejorar sus posibilidades.", + "description": "El período de registro para la visa H-1B del año fiscal 2026 se cerró recientemente...
... contenido completo aquí ..." + }, + "family-immigration-backlogs-alternative-options": { + "title": "Retrasos en la Inmigración Familiar: Opciones Alternativas", + "summary": "Mientras las categorías de preferencia familiar enfrentan demoras, descubre vías alternativas para reunirte con tus seres queridos.", + "description": "Mientras las categorías de inmigración familiar enfrentan retrasos significativos...
... contenido completo aquí ..." + } + } +} \ No newline at end of file diff --git a/public/locales/es/contact.json b/public/locales/es/contact.json new file mode 100644 index 0000000..564bd7f --- /dev/null +++ b/public/locales/es/contact.json @@ -0,0 +1,35 @@ +{ + "contactInfo": { + "emailTitle": "Envíanos un correo", + "email": "info@janahanlaw.com", + "callTitle": "Llama ahora", + "phone": "+1 (305) 330-7413", + "questionTitle": "¿Tienes alguna pregunta?", + "questionDesc": "Estamos aquí para ayudarte con todas tus necesidades legales y de inmigración en EE. UU. — contacta a Janahan Law para obtener orientación confiable hoy." + }, + "form": { + "namePlaceholder": "Tu Nombre", + "emailPlaceholder": "Tu Correo Electrónico", + "phonePlaceholder": "Tu Teléfono", + "subjectPlaceholder": "Selecciona Asunto", + "subjectOptions": [ + "Desarrollo de Ríos", + "Desarrollo de Aldeas", + "Desarrollo de Carreteras", + "Desarrollo de Ciudades", + "Desarrollo Social" + ], + "messagePlaceholder": "Mensaje", + "submitButton": "Enviar Ahora", + "successMessage": "¡Mensaje enviado con éxito!", + "failedMessage": "Error al enviar el mensaje. Por favor, inténtalo de nuevo más tarde.", + "requiredMessages": { + "name": "El nombre es obligatorio", + "email": "Correo electrónico válido es obligatorio", + "phone": "El teléfono es obligatorio", + "subject": "Por favor selecciona un asunto", + "message": "El mensaje es obligatorio", + "recaptcha": "Por favor completa el ReCAPTCHA" + } + } +} diff --git a/utils/constant.utils.js b/utils/constant.utils.js index b4ddb25..3e5d5b7 100644 --- a/utils/constant.utils.js +++ b/utils/constant.utils.js @@ -30,6 +30,18 @@ import iconImg1 from '/public/images/home/icons/strategic-planning.webp' import iconImg2 from '/public/images/home/icons/expert-preparation.webp' import iconImg3 from '/public/images/home/icons/ongoing-support.webp' +import blogImg1 from "/public/images/blog/blog-1.webp"; +import blogImg2 from "/public/images/blog/blog-2.webp"; +import blogImg3 from "/public/images/blog/blog-3.webp"; + +import blogSingleImg1 from "/public/images/blog/blog-detail-1.webp"; +import blogSingleImg2 from "/public/images/blog/blog-detail-2.webp"; +import blogSingleImg3 from "/public/images/blog/blog-detail-3.webp"; + +import bannerImg1 from "/public/images/blog/banner-1.webp"; +import bannerImg2 from "/public/images/blog/banner-2.webp"; +import bannerImg3 from "/public/images/blog/banner-3.webp"; + export const featuresData = [ { img: iconImg1, @@ -205,3 +217,43 @@ export const MissionVision = [ }, ] +const blog = [ + { + id: '1', + slug: 'new-tps-designations-what-you-need-to-know', + bannerImg: bannerImg1, + screens: blogImg1, + blogSingleImg: blogSingleImg1, + author: 'Anne William', + authorTitle: 'Admin', + create_at: '25 Sep 2022', + comment: '35', + blClass: 'format-standard-image' + }, + { + id: '2', + slug: 'h1b-season-2025-preparation-strategies', + bannerImg: bannerImg2, + screens: blogImg2, + blogSingleImg: blogSingleImg2, + author: 'Robert Fox', + authorTitle: 'Admin', + create_at: '12 Jun 2023', + comment: '80', + blClass: 'format-standard-image' + }, + { + id: '3', + slug: 'family-immigration-backlogs-alternative-options', + bannerImg: bannerImg3, + screens: blogImg3, + blogSingleImg: blogSingleImg3, + author: 'Devon Lane', + authorTitle: 'Admin', + create_at: '03 Dec 2024', + comment: '95', + blClass: 'format-video' + } +]; + +export default blog;