Skip to content

Commit

Permalink
fix: remove all repeated h1 from home page
Browse files Browse the repository at this point in the history
  • Loading branch information
HamzaAmar committed Aug 12, 2024
1 parent 3eb0ea8 commit c1f9d3f
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 9 deletions.
5 changes: 5 additions & 0 deletions apps/docs/src/app/_components/footer/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@
.footer_link:hover {
text-decoration: underline 2px;
}

.footer-list {
list-style: none;
padding: 0;
}
18 changes: 12 additions & 6 deletions apps/docs/src/app/_components/footer/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ const footer = () => {
</Text>
</div>
<nav className="l_flow__sm">
<Heading transform="capitalize">Project</Heading>
<ul className="l_flow__xs">
<Text transform="capitalize" size="md" weight="medium">
Project
</Text>
<ul className="footer-list l_flow__xs">
<li>
<Text
transform="capitalize"
Expand Down Expand Up @@ -68,9 +70,11 @@ const footer = () => {
</ul>
</nav>
<nav className="l_flow__sm">
<Heading transform="capitalize">Community</Heading>
<Text transform="capitalize" size="md" weight="medium">
Community
</Text>

<ul className="l_flow__xs">
<ul className="footer-list l_flow__xs">
<li>
<Text
transform="capitalize"
Expand Down Expand Up @@ -125,9 +129,11 @@ const footer = () => {
</ul>
</nav>
<nav className="l_flow__sm">
<Heading transform="capitalize">Help</Heading>
<Text transform="capitalize" size="md" weight="medium">
Help
</Text>

<ul className="l_flow__xs">
<ul className="footer-list l_flow__xs">
<li>
<Text
transform="capitalize"
Expand Down
4 changes: 3 additions & 1 deletion apps/docs/src/app/_components/home/rtl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ export function RTLSupport() {
<Flex key={id} as="article" gap="sm" className="feature--item">
<span className="feature-icon">{icon}</span>
<div>
<Heading>{title}</Heading>
<Text weight="medium" size="md">
{title}
</Text>
<Text contrast="low" color="bg">
{description}
</Text>
Expand Down
8 changes: 6 additions & 2 deletions apps/docs/src/app/_components/home/support.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,18 @@ export function PillarSupport() {
</div>
<div className="support--second l_flow__sm">
<div className="get-started l_flow__sm">
<Heading>Lets Getting Start</Heading>
<Text weight="medium" size="lg">
Lets Getting Start
</Text>
<Text size="sm" color="bg" contrast="low">
Build faster and lighter. Experience the power of our streamlined design system.
</Text>
<Button>Get Started</Button>
</div>
<div className="get-started l_flow__sm">
<Heading>Community</Heading>
<Text weight="medium" size="lg">
Community
</Text>
<Text size="sm" color="bg" contrast="low">
Get involved in our community. Everyone is welcome!
</Text>
Expand Down

0 comments on commit c1f9d3f

Please sign in to comment.