Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 472b8597c7 | |||
|
|
ffd0505d5d | ||
| 8ac106b929 | |||
| 06cd5a6848 | |||
| 7f159b05b5 |
@@ -4,7 +4,6 @@ import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import "@/lib/gsap-setup";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||
import { Montserrat } from "next/font/google";
|
||||
|
||||
@@ -55,7 +54,7 @@ export default function RootLayout({
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${montserrat.variable} antialiased`}>
|
||||
<Tag />
|
||||
|
||||
{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
|
||||
@@ -66,6 +66,7 @@ export default function LandingPage() {
|
||||
background={{
|
||||
variant: "cell-wave",
|
||||
}}
|
||||
badgeText="Trusted by 5000+ students"
|
||||
title="Unlock Your Potential in Tech"
|
||||
description="Master in-demand IT skills with expert-led courses, hands-on projects, and career support tailored for your success."
|
||||
avatars={[
|
||||
|
||||
@@ -29,6 +29,7 @@ type HeroCenteredBackgroundProps = Extract<
|
||||
interface HeroCenteredProps {
|
||||
title: string;
|
||||
description: string;
|
||||
badgeText?: string;
|
||||
background: HeroCenteredBackgroundProps;
|
||||
avatars: Avatar[];
|
||||
avatarText?: string;
|
||||
@@ -58,6 +59,7 @@ interface HeroCenteredProps {
|
||||
const HeroCentered = ({
|
||||
title,
|
||||
description,
|
||||
badgeText,
|
||||
background = { variant: "plain" },
|
||||
avatars,
|
||||
avatarText,
|
||||
@@ -90,6 +92,11 @@ const HeroCentered = ({
|
||||
>
|
||||
<HeroBackgrounds {...background} />
|
||||
<div className={cls("w-content-width mx-auto relative z-10", containerClassName)}>
|
||||
{badgeText && (
|
||||
<div className="flex justify-center mb-3">
|
||||
<div className="glasmorphic-badge">{badgeText}</div>
|
||||
</div>
|
||||
)}
|
||||
<TextBox
|
||||
title={title}
|
||||
description={description}
|
||||
|
||||
Reference in New Issue
Block a user