updates
This commit is contained in:
27
frontEnd/app/about-us/AboutUsClient.tsx
Normal file
27
frontEnd/app/about-us/AboutUsClient.tsx
Normal file
@@ -0,0 +1,27 @@
|
||||
"use client";
|
||||
import Header from "@/components/shared/layout/header/Header";
|
||||
import AboutBanner from "@/components/pages/about/AboutBanner";
|
||||
import AboutServiceComponent from "@/components/pages/about/AboutService";
|
||||
import Footer from "@/components/shared/layout/footer/Footer";
|
||||
import AboutScrollProgressButton from "@/components/pages/about/AboutScrollProgressButton";
|
||||
import AboutInitAnimations from "@/components/pages/about/AboutInitAnimations";
|
||||
import AboutStarter from "@/components/pages/about/AboutStarter";
|
||||
|
||||
const AboutUsClient = () => {
|
||||
return (
|
||||
<div className="enterprise-about-page">
|
||||
<Header />
|
||||
<main>
|
||||
<AboutBanner />
|
||||
<AboutServiceComponent />
|
||||
<AboutStarter />
|
||||
</main>
|
||||
<Footer />
|
||||
<AboutScrollProgressButton />
|
||||
<AboutInitAnimations />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default AboutUsClient;
|
||||
|
||||
@@ -1,35 +1,26 @@
|
||||
"use client";
|
||||
import { useEffect } from 'react';
|
||||
import Header from "@/components/shared/layout/header/Header";
|
||||
import AboutBanner from "@/components/pages/about/AboutBanner";
|
||||
import AboutServiceComponent from "@/components/pages/about/AboutService";
|
||||
import Footer from "@/components/shared/layout/footer/Footer";
|
||||
import AboutScrollProgressButton from "@/components/pages/about/AboutScrollProgressButton";
|
||||
import AboutInitAnimations from "@/components/pages/about/AboutInitAnimations";
|
||||
import AboutStarter from "@/components/pages/about/AboutStarter";
|
||||
// Server Component - metadata export is allowed here
|
||||
import { Metadata } from 'next';
|
||||
import { generateMetadata as createMetadata } from "@/lib/seo/metadata";
|
||||
import AboutUsClient from "./AboutUsClient";
|
||||
|
||||
export const metadata: Metadata = createMetadata({
|
||||
title: "About Us - Enterprise Software Development Company",
|
||||
description: "Learn about GNX Soft - a leading enterprise software development company founded in 2020, specializing in custom software solutions, data replication, AI business intelligence, incident management, and comprehensive IT solutions for modern businesses.",
|
||||
keywords: [
|
||||
"About GNX Soft",
|
||||
"Software Development Company",
|
||||
"Enterprise Solutions Provider",
|
||||
"IT Services Company",
|
||||
"Custom Software Development",
|
||||
"Technology Company",
|
||||
"Software Engineering Team",
|
||||
"Digital Transformation Experts",
|
||||
],
|
||||
url: "/about-us",
|
||||
});
|
||||
|
||||
// Note: Since this is a client component, we'll set metadata via useEffect
|
||||
const AboutUsPage = () => {
|
||||
useEffect(() => {
|
||||
document.title = "About Us - Enterprise Software Development Company | GNX Soft";
|
||||
const metaDescription = document.querySelector('meta[name="description"]');
|
||||
if (metaDescription) {
|
||||
metaDescription.setAttribute('content', 'Learn about GNX Soft - a leading enterprise software development company with expertise in custom software, data replication, AI business intelligence, and comprehensive IT solutions.');
|
||||
}
|
||||
}, []);
|
||||
return (
|
||||
<div className="enterprise-about-page">
|
||||
<Header />
|
||||
<main>
|
||||
<AboutBanner />
|
||||
<AboutServiceComponent />
|
||||
<AboutStarter />
|
||||
</main>
|
||||
<Footer />
|
||||
<AboutScrollProgressButton />
|
||||
<AboutInitAnimations />
|
||||
</div>
|
||||
);
|
||||
return <AboutUsClient />;
|
||||
};
|
||||
|
||||
export default AboutUsPage;
|
||||
|
||||
Reference in New Issue
Block a user