Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: padding and font-weight #5

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 39 additions & 13 deletions src/components/wrapper/layout-home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,29 +34,43 @@ const handleChange = (value: string) => {
const menus: MenuItem[] = [
{
key: 1,
label: <Link href="#home">HOME</Link>,
label: (
<Link href="#home">
<span className="font-semibold">HOME</span>
</Link>
),
},
{
key: 2,
label: "SERVICE",
label: <span className="font-semibold">SERVICE</span>,
},
{
key: 3,
label: <Link href="#our-clients">OUR CLIENTS</Link>,
label: (
<Link href="#our-clients">
<span className="font-semibold">OUR CLIENTS</span>
</Link>
),
},
{
key: 4,
label: "ABOUT",
label: <span className="font-semibold">ABOUT</span>,
},
{
key: 5,
label: <Link href="#blog">BLOG</Link>,
label: (
<Link href="#blog">
<span className="font-semibold">BLOG</span>
</Link>
),
},
{
key: 6,
label: (
<Link href="#contact-us">
<Button type="primary">CONTACT US</Button>
<Button type="primary">
<span className="font-semibold">CONTACT US</span>
</Button>
</Link>
),
},
Expand All @@ -71,23 +85,35 @@ const menus: MenuItem[] = [
const menus2: MenuItem[] = [
{
key: 1,
label: <Link href="#home">HOME</Link>,
label: (
<Link href="#home">
<span className="font-semibold">HOME</span>
</Link>
),
},
{
key: 2,
label: "SERVICE",
label: <span className="font-semibold">SERVICE</span>,
},
{
key: 3,
label: <Link href="#our-clients">OUR CLIENTS</Link>,
label: (
<Link href="#our-clients">
<span className="font-semibold">OUR CLIENTS</span>
</Link>
),
},
{
key: 4,
label: "ABOUT",
label: <span className="font-semibold">ABOUT</span>,
},
{
key: 5,
label: <Link href="#blog">BLOG</Link>,
label: (
<Link href="#blog">
<span className="font-semibold">BLOG</span>
</Link>
),
},
];

Expand Down Expand Up @@ -139,9 +165,9 @@ const LayoutHome = ({ children }: LayoutHome) => {
style={{ flex: 1, minWidth: 0, justifyContent: "end" }}
/>
</Header>
<Content className="py-0 px-0 sm:px-12">
<Content className="p-0">
{/* <Breadcrumb items={[{ title: "sample" }, { title: "sample1" }]} /> */}
<div className="p-0 sm:p-6">{children}</div>
<div className="p-0">{children}</div>
</Content>
<Footer
id="contact-us"
Expand Down