|
|
|
|
@@ -1,75 +1,25 @@
|
|
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Halant } from "next/font/google";
|
|
|
|
|
import { Inter } from "next/font/google";
|
|
|
|
|
import { Poppins } from "next/font/google";
|
|
|
|
|
import "./styles/base.css";
|
|
|
|
|
import "./globals.css";
|
|
|
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
|
|
|
import Tag from "@/tag/Tag";
|
|
|
|
|
|
|
|
|
|
const halant = Halant({
|
|
|
|
|
variable: "--font-halant",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
weight: ["300", "400", "500", "600", "700"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const inter = Inter({
|
|
|
|
|
variable: "--font-inter",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const poppins = Poppins({
|
|
|
|
|
variable: "--font-poppins",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
|
|
|
|
|
variable: "--font-inter", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
|
title: "DHA Suffa University | Leading Higher Education Institution",
|
|
|
|
|
description: "Discover world-class education at DHA Suffa University. Explore programs in engineering, CS, management sciences, and humanities. Join our research-driven academic community.",
|
|
|
|
|
keywords: "DHA Suffa University, higher education, engineering, computer science, Pakistan education, research university",
|
|
|
|
|
metadataBase: new URL("https://dsu.edu.pk"),
|
|
|
|
|
alternates: {
|
|
|
|
|
canonical: "https://dsu.edu.pk",
|
|
|
|
|
},
|
|
|
|
|
openGraph: {
|
|
|
|
|
title: "DHA Suffa University - Shaping Leaders & Scholars",
|
|
|
|
|
description: "Join a globally competitive institution of higher education and research. Excellence in teaching, learning, and innovation.",
|
|
|
|
|
url: "https://dsu.edu.pk",
|
|
|
|
|
siteName: "DHA Suffa University",
|
|
|
|
|
images: [
|
|
|
|
|
{
|
|
|
|
|
url: "http://img.b2bpic.net/free-photo/water-dwelling_1127-3260.jpg",
|
|
|
|
|
alt: "DHA Suffa University Campus",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
type: "website",
|
|
|
|
|
},
|
|
|
|
|
twitter: {
|
|
|
|
|
card: "summary_large_image",
|
|
|
|
|
title: "DHA Suffa University",
|
|
|
|
|
description: "Shaping the scholars and leaders of tomorrow through world-class education and research.",
|
|
|
|
|
images: ["http://img.b2bpic.net/free-photo/water-dwelling_1127-3260.jpg"],
|
|
|
|
|
},
|
|
|
|
|
robots: {
|
|
|
|
|
index: true,
|
|
|
|
|
follow: true,
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
title: "DHA Suffa University", description: "Shaping Scholars and Leaders of Tomorrow"};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
}: {
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
}) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en" suppressHydrationWarning>
|
|
|
|
|
<ServiceWrapper>
|
|
|
|
|
<body
|
|
|
|
|
className={`${halant.variable} ${inter.variable} ${poppins.variable} antialiased`}
|
|
|
|
|
>
|
|
|
|
|
<Tag />
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<body className={inter.variable}>
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<script
|
|
|
|
|
dangerouslySetInnerHTML={{
|
|
|
|
|
__html: `
|
|
|
|
|
@@ -1437,7 +1387,6 @@ export default function RootLayout({
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</body>
|
|
|
|
|
</ServiceWrapper>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|