Skip to content

Commit 8a98492

Browse files
authored
Docs: update landing page (#837)
* feat: update landing page
1 parent b52072b commit 8a98492

30 files changed

+154
-134
lines changed

landing/public/assets/github-2.svg

Lines changed: 7 additions & 7 deletions
Loading

landing/public/assets/github-3.svg

Lines changed: 3 additions & 0 deletions
Loading

landing/public/assets/step-1.png

559 KB
Loading

landing/public/assets/step-2.png

585 KB
Loading

landing/public/assets/step-3.png

618 KB
Loading

landing/public/assets/step-4.png

636 KB
Loading

landing/src/components/CTA.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ const url = Astro.props.url;
1414
</IconBox>
1515
<h2 class="text-md font-medium">{title}</h2>
1616
<Button variant="outline" size="sm">
17-
<a href={url} class="flex flex-row items-center justify-center gap-2">
18-
<p class="text-medium text-sm">{buttonText}</p>
19-
<ArrowRight strokeWidth={2} />
17+
<a href={url} class="flex flex-row items-center justify-center">
18+
<p class="text-medium px-2 text-sm">{buttonText}</p>
19+
<ArrowRight strokeWidth={1} className="h-5 w-5 md:h-6 md:w-6" />
2020
</a>
2121
</Button>
2222
</div>

landing/src/components/DebugCasesSection.astro

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const debugCases = [
3939
<ContentWrapper
4040
className="font-aeonik text-primary flex flex-col items-center justify-center gap-10 sm:gap-14 md:gap-16 lg:gap-20"
4141
>
42-
<h1 class="text-center text-xl font-bold">Debug case</h1>
42+
<h1 class="text-center text-2xl font-bold">Debug case</h1>
4343

4444
<div
4545
class="flex flex-row flex-wrap justify-around gap-6 sm:gap-12 md:gap-14 lg:gap-16"
@@ -61,7 +61,14 @@ const debugCases = [
6161
title="Watch full video of this case"
6262
buttonText="Go to video"
6363
url="https://www.youtube.com/watch?v=mTYxjXdMoNs"
64-
>{(<Youtube strokeWidth={1} />)}
64+
>{
65+
(
66+
<Youtube
67+
className="h-7 w-7 sm:h-8 sm:w-8 md:h-10 md:w-10"
68+
strokeWidth={1}
69+
/>
70+
)
71+
}
6572
</CTA>
6673
</ContentWrapper>
6774
</section>

landing/src/components/FeaturesSection.astro

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const mainFeatures = [
4646
<ContentWrapper
4747
className="font-aeonik text-primary flex w-full flex-col items-center justify-center gap-10 max-sm:px-8 sm:gap-14 md:gap-16 lg:gap-20"
4848
>
49-
<h1 class="text-center text-xl font-bold">Main features</h1>
49+
<h1 class="text-center text-2xl font-bold">Main features</h1>
5050

5151
<div
5252
class="grid grid-cols-1 grid-rows-4 gap-y-6 md:grid-cols-2 md:grid-rows-2 md:gap-x-10 md:gap-y-10 lg:gap-x-14 lg:gap-y-14"
@@ -61,7 +61,7 @@ const mainFeatures = [
6161
description={feature.description}
6262
client:visible
6363
>
64-
<Icon />
64+
<Icon className="h-8 w-8 md:h-10 md:w-10 lg:h-11 lg:w-11 stroke-1" />
6565
</BlockWrapper>
6666
);
6767
})
@@ -70,11 +70,11 @@ const mainFeatures = [
7070

7171
<Button variant="outline" size="sm"
7272
><a
73-
href="https://hexdocs.pm/live_debugger/0.1.3/readme.html"
74-
class="flex flex-row items-center justify-center gap-1"
73+
href="https://hexdocs.pm/live_debugger/features.html"
74+
class="flex flex-row items-center justify-center gap-1 px-2"
7575
>
76-
<p class="text-thin text-sm">Explore all</p>
77-
<ArrowRight strokeWidth={2} />
76+
<p class="text-normal text-sm">Explore all</p>
77+
<ArrowRight strokeWidth={1} className="h-5 w-5 md:h-6 md:w-6" />
7878
</a></Button
7979
>
8080
</ContentWrapper>

landing/src/components/GettingStartedSection.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ const tabData = [
1212

1313
<section
1414
id="gettingstarted"
15-
class="bg-primary relative flex min-h-[500px] w-full scroll-m-10 flex-col items-center justify-center overflow-hidden py-16 max-sm:px-6 sm:py-20 md:py-36"
15+
class="bg-primary relative flex w-full scroll-m-10 flex-col items-center justify-center overflow-hidden py-16 max-md:mb-10 sm:py-20 md:py-36"
1616
>
1717
<ContentWrapper
1818
className="font-aeonik z-20 flex w-full flex-col items-center justify-center gap-10 sm:gap-14 md:gap-16 lg:gap-20"
1919
>
20-
<h1 class="text-primary-foreground text-center text-xl font-bold">
20+
<h1 class="text-primary-foreground text-center text-2xl font-bold">
2121
Getting started
2222
</h1>
2323

24-
<Tabs class="h-full w-full" tabData={tabData} client:idle>
24+
<Tabs class="relative h-full w-full" tabData={tabData} client:idle>
2525
<MixInstallTab slot="mix" client:idle />
2626
<IgniterInstallTab slot="igniter" client:idle />
2727
</Tabs>

0 commit comments

Comments
 (0)