Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5ca2ee122e | |||
| 54bb7c56d1 | |||
| 8c3fefe3f1 |
@@ -36,7 +36,9 @@ export default function LandingPage() {
|
|||||||
{ name: "Courses", id: "courses" },
|
{ name: "Courses", id: "courses" },
|
||||||
{ name: "About", id: "about" },
|
{ name: "About", id: "about" },
|
||||||
{ name: "Team", id: "team" },
|
{ name: "Team", id: "team" },
|
||||||
{ name: "Contact", id: "contact" }
|
{ name: "Contact", id: "contact" },
|
||||||
|
|
||||||
|
{ name: "Blog", id: "/blog" },
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import { Plus } from "lucide-react";
|
|||||||
import { NavbarProps } from "@/types/navigation";
|
import { NavbarProps } from "@/types/navigation";
|
||||||
import { useScrollState } from "./useScrollState";
|
import { useScrollState } from "./useScrollState";
|
||||||
import { cls } from "@/lib/utils";
|
import { cls } from "@/lib/utils";
|
||||||
|
import Link from "next/link";
|
||||||
|
|
||||||
const SCROLL_THRESHOLD = 50;
|
const SCROLL_THRESHOLD = 50;
|
||||||
|
|
||||||
@@ -74,6 +75,10 @@ const NavbarStyleApple = ({
|
|||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
/>
|
/>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
<Link href="/menu" className="hidden md:flex items-center gap-6">
|
||||||
|
<ButtonTextUnderline text="Menu" href="/menu" className="!text-base" />
|
||||||
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<MobileMenu
|
<MobileMenu
|
||||||
|
|||||||
@@ -246,4 +246,42 @@ const BlogCardOne = ({
|
|||||||
|
|
||||||
BlogCardOne.displayName = "BlogCardOne";
|
BlogCardOne.displayName = "BlogCardOne";
|
||||||
|
|
||||||
export default BlogCardOne;
|
export default function Page() {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<BlogCardOne
|
||||||
|
title="Blog Posts"
|
||||||
|
description="Explore our latest blog posts."
|
||||||
|
tag="Blog"
|
||||||
|
tagIcon="Tag"
|
||||||
|
buttons={[
|
||||||
|
{ label: "Read More", href: "/blog" },
|
||||||
|
]}
|
||||||
|
textboxLayout="vertical"
|
||||||
|
useInvertedBackground="inverted"
|
||||||
|
ariaLabel="Blog section"
|
||||||
|
className="w-content-width mx-auto"
|
||||||
|
containerClassName="w-content-width mx-auto"
|
||||||
|
cardClassName="w-full"
|
||||||
|
imageWrapperClassName="w-full"
|
||||||
|
imageClassName="w-full"
|
||||||
|
categoryClassName="text-sm"
|
||||||
|
cardTitleClassName="text-2xl font-medium"
|
||||||
|
excerptClassName="text-base"
|
||||||
|
authorContainerClassName="flex items-center gap-3"
|
||||||
|
authorAvatarClassName="h-9 w-auto aspect-square rounded-theme object-cover"
|
||||||
|
authorNameClassName="text-sm font-medium"
|
||||||
|
dateClassName="text-xs"
|
||||||
|
textBoxTitleClassName="text-2xl font-medium"
|
||||||
|
textBoxTitleImageWrapperClassName="w-full"
|
||||||
|
textBoxTitleImageClassName="w-full"
|
||||||
|
textBoxDescriptionClassName="text-base"
|
||||||
|
textBoxTagClassName="text-sm"
|
||||||
|
textBoxButtonContainerClassName="flex items-center gap-3"
|
||||||
|
textBoxButtonClassName="text-sm font-medium"
|
||||||
|
textBoxButtonTextClassName="text-sm font-medium"
|
||||||
|
/>
|
||||||
|
{/* FAQ section */}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user