|
24 | 24 | </div> |
25 | 25 | <div class="basis-11/12 pt-44 mt-44 pl-4 sm:pl-2 mb-40"> |
26 | 26 | <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> |
30 | 39 | </div> |
31 | | - <h1>Unlock the power of Web Development</h1> |
32 | 40 | <div class="p-8 text-xl"> |
33 | 41 | Get the skills you need to become a better web developer today. High quality courses |
34 | 42 | with projects to show off your new skills. |
|
40 | 48 | </button> |
41 | 49 | </div> |
42 | 50 | <!-- 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 | + > |
44 | 54 | <div> |
45 | 55 | <Avatar |
46 | 56 | 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" |
48 | 58 | /> |
49 | 59 | </div> |
50 | | - <div class="-ml-8 z-10"> |
| 60 | + <div class="-ml-20 md:-ml-12 lg:-ml-8 z-10"> |
51 | 61 | <Avatar |
52 | 62 | 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" |
54 | 64 | /> |
55 | 65 | </div> |
56 | | - <div class="-ml-8 z-10"> |
| 66 | + <div class="-ml-20 md:-ml-12 lg:-ml-8 z-10"> |
57 | 67 | <Avatar |
58 | 68 | 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" |
60 | 70 | /> |
61 | 71 | </div> |
62 | | - <div class="-ml-8 z-10"> |
| 72 | + <div class="-ml-20 md:-ml-12 lg:-ml-8 z-10"> |
63 | 73 | <Avatar |
64 | 74 | 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" |
66 | 76 | /> |
67 | 77 | </div> |
68 | | - <div class="-ml-8 z-10"> |
| 78 | + <div class="-ml-20 md:-ml-12 lg:-ml-8 z-10"> |
69 | 79 | <Avatar |
70 | 80 | 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" |
72 | 82 | /> |
73 | 83 | </div> |
74 | | - <div class="-ml-8 z-10"> |
| 84 | + <div class="-ml-20 md:-ml-12 lg:-ml-8 z-10"> |
75 | 85 | <Avatar |
76 | 86 | 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" |
78 | 88 | /> |
79 | 89 | </div> |
80 | | - <div class="-ml-8 z-10"> |
| 90 | + <div class="-ml-20 md:-ml-12 lg:-ml-8 z-10"> |
81 | 91 | <Avatar |
82 | 92 | 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" |
84 | 94 | /> |
85 | 95 | </div> |
86 | 96 | </div> |
|
0 commit comments