Skip to content

Commit

Permalink
feat: replace h1 to label
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangtaofeng committed Jan 25, 2024
1 parent 47bac09 commit ffef2ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/components/banner/siderBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ export const BannerSidebar = ({ shouldShowBanner }) => {
<img src={image} alt={text} loading="lazy" />
</Link>

<h2 className={clsx("text-2xl font-semibold", "text-gray-0")}>{text}</h2>
<label className={clsx("text-2xl font-semibold", "text-gray-0")}>
{text}
</label>
<p className={clsx("text-base", "text-gray-100")}>{description}</p>
</div>
)
Expand Down
4 changes: 2 additions & 2 deletions src/components/blog/discord-and-github-banner/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ const DiscordAndGithubBanner = () => {
<div className="flex flex-col md:flex-row justify-between items-center gap-7 h-auto bg-[#5865F2] w-full rounded-2xl px-7 py-7 bg-violet-800">
<div className="flex items-center gap-16">
<div className="flex flex-col font-bold max-w-md text-center md:text-left gap-3.5">
<h1 className="text-3xl font-bold font-['Inter'] mb-0">
<label className="text-2xl font-bold font-['Inter'] mb-0">
Start Building apps with ILLA Cloud
</h1>
</label>
<p className="text-white text-opacity-90 text-xs leading-[1.5] font-normal font-['Inter'] mb-0">
Build the internal tools you need(Dashboard, Workflow Management,
CRM, Support and Billing management...) in minutes.
Expand Down

0 comments on commit ffef2ce

Please sign in to comment.