Skip to content

Commit deb181c

Browse files
author
Alex FusionAuth
committed
nav update
1 parent fb894d7 commit deb181c

3 files changed

Lines changed: 72 additions & 4 deletions

File tree

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import { Avatar } from '@codingcatdev/blackcatui';
1111
import Block from './Block.svelte';
1212
import Circle from './Circle.svelte';
13-
import CatLooking from './CatLooking.svelte';
13+
import AjPrimary from '$lib/components/global/icons/AJPrimary.svelte';
1414
</script>
1515

1616
<!-- Absolutes -->
@@ -20,16 +20,17 @@
2020
<div class="hidden lg:block w-12 h-12 absolute text-primary-500 top-64 right-0">
2121
<Circle />
2222
</div>
23-
<div class="hidden lg:block w-72 h-72 absolute text-primary-600 top-[30rem] right-0">
24-
<CatLooking />
25-
</div>
23+
2624
<section
2725
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 relative"
2826
>
2927
<div class="flex">
3028
<div class="flex flex-col basis-1/12 relative">
3129
<div class="top-0 left-[calc(50%-14px)] h-[646px] absolute">
3230
<LinesHero />
31+
<div class="absolute text-primary-600 top-0 left-20 -z-10">
32+
<AjPrimary cls="block w-48" />
33+
</div>
3334
</div>
3435
<div class="block h-[646px] flex-none" />
3536
<CodeSvg />
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<script>
2+
import Courses from '$lib/components/global/icons/nav/Courses.svelte';
3+
</script>
4+
5+
<div class="mx-auto my-3">
6+
<div class="relative d-inline-block z-1">
7+
<Courses />
8+
<span class="absolute left-0 top-0 h-full w-full bg-surface-900-50-token -z-10 blur-lg" />
9+
</div>
10+
</div>

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

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<script>
22
import Video from '$lib/components/content/Video.svelte';
3+
import CodeSvg from '../(home-campaign)/CodeSvg.svelte';
34
import GitLineGradient from '../(home-campaign)/GitLineGradient.svelte';
45
import CheckOutArrow from './CheckOutArrow.svelte';
6+
import CoursesSvg from './CoursesSvg.svelte';
57
</script>
68

79
<div class=" bg-surface-800-100-token h-[800px]" />
@@ -12,6 +14,8 @@
1214
<div class="flex">
1315
<div class="flex flex-col basis-1/12 relative">
1416
<GitLineGradient />
17+
<CoursesSvg />
18+
<GitLineGradient rotate={true} />
1519
</div>
1620
<div class="basis-11/12 pt-44 pl-4 sm:pl-2 -mt-80">
1721
<div
@@ -29,6 +33,59 @@
2933
<div class="block">
3034
<Video class="rounded-2xl" src="https://youtu.be/sp7qvtvCFv8" title="Svelte" />
3135
</div>
36+
37+
<!-- 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>
54+
</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>
63+
</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>
68+
69+
<h2>Starting To Code</h2>
70+
<article>
71+
<p>Setup VSCode and Get Started writing Svelte</p>
72+
</article>
73+
</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+
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>
86+
</div>
87+
</div>
88+
</div>
3289
</div>
3390
</div>
3491
</div>

0 commit comments

Comments
 (0)