Skip to content

Commit 32dcb2e

Browse files
author
Alex FusionAuth
committed
update mobile
1 parent 55f85ba commit 32dcb2e

4 files changed

Lines changed: 40 additions & 30 deletions

File tree

‎apps/codingcatdev/src/routes/(home-partials)/(home-campaign)/HomeCampaign.svelte‎

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,19 @@
2424
</div>
2525
<div class="basis-11/12 pt-44 mt-44 pl-4 sm:pl-2 mb-40">
2626
<div class="flex w-full justify-center">
27-
<div class="max-w-lg flex flex-col gap-8 text-center relative items-center">
28-
<div class="absolute w-16 h-16 -top-8 -left-2 -z-10">
29-
<StarSvg />
27+
<div class="max-w-lg flex flex-col gap-8 text-center items-center">
28+
<div>
29+
<h1>
30+
<span class="relative">
31+
<div
32+
class="absolute w-8 h-8 -top-3 -left-3 sm:w-12 sm:h-12 sm:-top-4 sm:-left-6 md:w-16 md:h-16 md:-top-6 md:-left-8 -z-10"
33+
>
34+
<StarSvg />
35+
</div>
36+
U</span
37+
>nlock the power of Web Development
38+
</h1>
3039
</div>
31-
<h1>Unlock the power of Web Development</h1>
3240
<div class="p-8 text-xl">
3341
Get the skills you need to become a better web developer today. High quality courses
3442
with projects to show off your new skills.
@@ -40,47 +48,49 @@
4048
</button>
4149
</div>
4250
<!-- TODO: Replace with actual users -->
43-
<div class="flex">
51+
<div
52+
class="snap-x scroll-px-4 snap-mandatory scroll-smooth sm:flex gap-4 overflow-x-auto py-10 justify-center hidden"
53+
>
4454
<div>
4555
<Avatar
4656
src="https://media.codingcat.dev/image/upload/v1682988242/main-codingcatdev-photo/podcast-guest/whitep4nth3r.jpg"
47-
class="border-2 border-primary-500"
57+
class="snap-center shrink-0 border-2 border-primary-500"
4858
/>
4959
</div>
50-
<div class="-ml-8 z-10">
60+
<div class="-ml-20 md:-ml-12 lg:-ml-8 z-10">
5161
<Avatar
5262
src="https://media.codingcat.dev/image/upload/v1683058098/main-codingcatdev-photo/podcast-guest/guillermo-rauch.jpg"
53-
class="border-2 border-primary-500"
63+
class="snap-center shrink-0 border-2 border-primary-500"
5464
/>
5565
</div>
56-
<div class="-ml-8 z-10">
66+
<div class="-ml-20 md:-ml-12 lg:-ml-8 z-10">
5767
<Avatar
5868
src="https://media.codingcat.dev/image/upload/v1683044362/main-codingcatdev-photo/podcast-guest/jlengstorf.jpg"
59-
class="border-2 border-primary-500"
69+
class="snap-center shrink-0 border-2 border-primary-500"
6070
/>
6171
</div>
62-
<div class="-ml-8 z-10">
72+
<div class="-ml-20 md:-ml-12 lg:-ml-8 z-10">
6373
<Avatar
6474
src="https://media.codingcat.dev/image/upload/v1683042894/main-codingcatdev-photo/podcast-guest/jonmeyers_io.jpg"
65-
class="border-2 border-primary-500"
75+
class="snap-center shrink-0 border-2 border-primary-500"
6676
/>
6777
</div>
68-
<div class="-ml-8 z-10">
78+
<div class="-ml-20 md:-ml-12 lg:-ml-8 z-10">
6979
<Avatar
7080
src="https://media.codingcat.dev/image/upload/v1683044101/main-codingcatdev-photo/podcast-guest/jeffdelaney23.jpg"
71-
class="border-2 border-primary-500"
81+
class="snap-center shrink-0 border-2 border-primary-500"
7282
/>
7383
</div>
74-
<div class="-ml-8 z-10">
84+
<div class="-ml-20 md:-ml-12 lg:-ml-8 z-10">
7585
<Avatar
7686
src="https://media.codingcat.dev/image/upload/v1682991864/main-codingcatdev-photo/podcast-guest/cassidoo.jpg"
77-
class="border-2 border-primary-500"
87+
class="snap-center shrink-0 border-2 border-primary-500"
7888
/>
7989
</div>
80-
<div class="-ml-8 z-10">
90+
<div class="-ml-20 md:-ml-12 lg:-ml-8 z-10">
8191
<Avatar
8292
src="https://media.codingcat.dev/image/upload/v1683033670/main-codingcatdev-photo/podcast-guest/maxcell.jpg"
83-
class="border-2 border-primary-500"
93+
class="snap-center shrink-0 border-2 border-primary-500"
8494
/>
8595
</div>
8696
</div>

‎apps/codingcatdev/src/routes/(home-partials)/(home-latest-course)/HomeLatestCourse.svelte‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@
1414
<GitLineGradient />
1515
</div>
1616
<div class="basis-11/12 pt-44 pl-4 sm:pl-2 -mt-80">
17-
<div class="max-w-6xl -mt-80 flex flex-col gap-24 text-surface-50-900-token relative">
17+
<div
18+
class="max-w-6xl -mt-80 flex flex-col gap-8 sm:gap-24 text-surface-50-900-token relative"
19+
>
1820
<div class="max-w-lg flex flex-col gap-8 text-center relative items-center mx-auto">
1921
<h2>Svelte Front-to-Back</h2>
20-
<p>
22+
<p class="!text-lg sm:!text-xl">
2123
Learn how to build performant full-stack web applications using the Svelte framework
2224
from start to production
2325
</p>

‎apps/codingcatdev/src/routes/(home-partials)/(home-reviews)/HomeReviews.svelte‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66
<section class="relative">
77
<div class="absolute top-0 left-0 w-full -my-32">
8-
<div class="snap-x scroll-px-4 snap-mandatory scroll-smooth flex gap-4 overflow-x-auto py-10">
8+
<div
9+
class="snap-x scroll-px-4 snap-mandatory scroll-smooth flex gap-4 overflow-x-auto py-10 justify-center"
10+
>
911
<ReviewCard
1012
position="left"
1113
stars={5}

‎apps/codingcatdev/src/routes/(layout-partials)/CcdFooter.svelte‎

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
</script>
66

77
<hr />
8-
<footer class="md:mx-12 md:my-4 md:gap-16 flex justify-center md:p-8 p-2">
8+
<footer
9+
class="grid justify-center grid-cols-1 px-8 pt-12 mx-auto gap-2 2xl:gap-10 2xl:min-h-768 max-w-7xl"
10+
>
911
<div class="flex flex-col gap-6 md:gap-10">
1012
<section class="flex flex-col md:flex-row justify-between gap-8 md:space-y-0 items-center">
1113
<p class="text-xs">
@@ -72,9 +74,9 @@
7274
action="https://buttondown.email/api/emails/embed-subscribe/codingcatdev"
7375
method="post"
7476
target="popupwindow"
75-
class="embeddable-buttondown-form flex flex-col flex-1"
77+
class="embeddable-buttondown-form flex flex-col flex-1 space-y-3"
7678
>
77-
<label for="email" class="bcu-label">Email</label>
79+
<label for="email" class="bcu-label"><h6>Email</h6></label>
7880
<div class="flex gap-4 md:gap-8 flex-col md:flex-row">
7981
<input type="email" name="email" placeholder="you@example.com" class="text-black input" />
8082
<input type="hidden" value="1" name="embed" />
@@ -89,9 +91,3 @@
8991
</section>
9092
</div>
9193
</footer>
92-
93-
<style lang="postcss">
94-
a {
95-
@apply !no-underline;
96-
}
97-
</style>

0 commit comments

Comments
 (0)