Skip to content

Commit 748e3ac

Browse files
committed
fix: mobile version for landing page
1 parent 423bc9b commit 748e3ac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/cards/Numbered.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ interface NumberedProps {
2727
*/
2828
export default function Numbered({ index = 1, title = "", text = "" }: NumberedProps): ReactElement {
2929
return (
30-
<div>
31-
<div className="hidden xl:block md:block">
30+
<div className="flex items-center md:flex-col md:items-start gap-2.5">
31+
<div className="block">
3232
<div className="w-14 h-14 border border-solid border-gray-400 text-gray-400 font-medium rounded-full flex items-center justify-center">{index}</div>
3333
</div>
34-
<div className="mt-2.5">
34+
<div>
3535
<span className="font-medium">{title}</span> <span>{text}</span>
3636
</div>
3737
</div>

src/components/sections/homepage/Main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default function MainSection(): ReactElement {
4141
<Section type="default" padding="p-0">
4242
<div className="w-full lg:py-24 pt-24 pb-8">
4343
<h1 className="lg:text-8xl md:text-6xl text-5xl leading-none tracking-tighter">{t("page.index.main.title")}</h1>
44-
<p className="lg:text-8xl md:text-6xl text-2xl py-2 lg:py-0 md:py-0 sm:py-0 text-black lg:text-gray-400 md:text-gray-400 sm:text-gray-400 tracking-tighter leading-none">
44+
<p className="lg:text-8xl md:text-6xl text-[40px] py-2 lg:py-0 md:py-0 sm:py-0 text-gray-400 tracking-tighter leading-none">
4545
{t("page.index.main.subtitle")}
4646
</p>
4747
</div>

0 commit comments

Comments
 (0)