Skip to content

Commit 459d26d

Browse files
author
Alex FusionAuth
committed
add buttons
1 parent deb181c commit 459d26d

1 file changed

Lines changed: 59 additions & 43 deletions

File tree

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

Lines changed: 59 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<script>
22
import Video from '$lib/components/content/Video.svelte';
3+
import { ArrowRight, ArrowTopRightOnSquare } from '@steeze-ui/heroicons';
4+
import { Icon } from '@steeze-ui/svelte-icon';
35
import CodeSvg from '../(home-campaign)/CodeSvg.svelte';
46
import GitLineGradient from '../(home-campaign)/GitLineGradient.svelte';
57
import CheckOutArrow from './CheckOutArrow.svelte';
@@ -35,54 +37,68 @@
3537
</div>
3638

3739
<!-- Lessons -->
38-
<div
39-
class="grid grid-cols-1 sm:grid-rows-2 sm:grid-cols-2 gap-4 sm:gap-8 relative py-8 sm:py-0"
40-
>
41-
<div class="hidden absolute w-full h-full sm:flex justify-center items-center -z-10">
42-
<div class="bg-surface-800-100-token rounded-full h-24 w-24" />
43-
</div>
44-
<div class="bcu-card !text-surface-800-100-token !bg-surface-100-800-token">
45-
<div class="p-4 space-y-4">
46-
<div class="text-4xl font-bold text-primary-400-500-token">01</div>
47-
<h2>What is Svelte?</h2>
48-
<article>
49-
<p>
50-
Svelte is a modern JavaScript framework that is designed to be fast, simple, and
51-
scalable.
52-
</p>
53-
</article>
40+
<div class="flex flex-col gap-8">
41+
<div
42+
class="grid grid-cols-1 sm:grid-rows-2 sm:grid-cols-2 gap-4 sm:gap-8 relative py-8 sm:py-0"
43+
>
44+
<div class="hidden absolute w-full h-full sm:flex justify-center items-center -z-10">
45+
<div class="bg-surface-800-100-token rounded-full h-24 w-24" />
5446
</div>
55-
</div>
56-
<div class="bcu-card !text-surface-800-100-token !bg-surface-100-800-token">
57-
<div class="p-4 space-y-4">
58-
<div class="text-4xl font-bold text-primary-400-500-token">02</div>
59-
<h2>Getting Started</h2>
60-
<article>
61-
<p>Explanation of Svelte vs. SvelteKit and other metaframeworks</p>
62-
</article>
47+
<div class="bcu-card !text-surface-800-100-token !bg-surface-100-800-token">
48+
<div class="p-4 space-y-4">
49+
<div class="text-4xl font-bold text-primary-400-500-token">01</div>
50+
<h2>What is Svelte?</h2>
51+
<article>
52+
<p>
53+
Svelte is a modern JavaScript framework that is designed to be fast, simple, and
54+
scalable.
55+
</p>
56+
</article>
57+
</div>
6358
</div>
64-
</div>
65-
<div class="bcu-card !text-surface-800-100-token !bg-surface-100-800-token">
66-
<div class="p-4 space-y-4">
67-
<div class="text-4xl font-bold text-primary-400-500-token">03</div>
59+
<div class="bcu-card !text-surface-800-100-token !bg-surface-100-800-token">
60+
<div class="p-4 space-y-4">
61+
<div class="text-4xl font-bold text-primary-400-500-token">02</div>
62+
<h2>Getting Started</h2>
63+
<article>
64+
<p>Explanation of Svelte vs. SvelteKit and other metaframeworks</p>
65+
</article>
66+
</div>
67+
</div>
68+
<div class="bcu-card !text-surface-800-100-token !bg-surface-100-800-token">
69+
<div class="p-4 space-y-4">
70+
<div class="text-4xl font-bold text-primary-400-500-token">03</div>
6871

69-
<h2>Starting To Code</h2>
70-
<article>
71-
<p>Setup VSCode and Get Started writing Svelte</p>
72-
</article>
72+
<h2>Starting To Code</h2>
73+
<article>
74+
<p>Setup VSCode and Get Started writing Svelte</p>
75+
</article>
76+
</div>
7377
</div>
74-
</div>
75-
<div class="bcu-card !text-surface-800-100-token !bg-surface-100-800-token">
76-
<div class="p-4 space-y-4">
77-
<div class="text-4xl font-bold text-primary-400-500-token">04</div>
78+
<div class="bcu-card !text-surface-800-100-token !bg-surface-100-800-token">
79+
<div class="p-4 space-y-4">
80+
<div class="text-4xl font-bold text-primary-400-500-token">04</div>
7881

79-
<h2>Components and Props</h2>
80-
<article>
81-
<p>
82-
Components are reusable pieces of code that can be used to build complex user
83-
interfaces, props pass data within those components.
84-
</p>
85-
</article>
82+
<h2>Components and Props</h2>
83+
<article>
84+
<p>
85+
Components are reusable pieces of code that can be used to build complex user
86+
interfaces, props pass data within those components.
87+
</p>
88+
</article>
89+
</div>
90+
</div>
91+
<div class="flex sm:justify-end">
92+
<a href="/course/svelte" class="bcu-button sm:bcu-button-xl variant-filled flex gap-1"
93+
>Begin Course <Icon src={ArrowRight} theme="solid" class="w-6" />
94+
</a>
95+
</div>
96+
<div class="flex sm:justify-start">
97+
<a
98+
href="/courses"
99+
class="bcu-button sm:bcu-button-xl variant-ghost-surface !text-on-surface-token flex gap-1"
100+
>Explore other Courses
101+
</a>
86102
</div>
87103
</div>
88104
</div>

0 commit comments

Comments
 (0)