Skip to content

Commit 55f4a43

Browse files
home adjustments
1 parent 32dcb2e commit 55f4a43

File tree

5 files changed

+19
-8
lines changed

5 files changed

+19
-8
lines changed

apps/codingcatdev/src/lib/components/content/Video.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
frameborder="0"
1818
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
1919
allowfullscreen
20-
class="w-full h-full"
20+
class={`w-full h-full ${$$props.class}`}
2121
/>
2222
</div>
Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
<div
2-
style="background: linear-gradient(#d2a8ff, #a371f7 10%, #196c2e 70%, #2ea043 80%, #56d364);"
3-
class="w-[3px] h-full rounded mx-auto"
4-
/>
1+
<script>
2+
export let rotate = false;
3+
</script>
4+
5+
<div class={`w-[3px] h-full rounded mx-auto ${rotate && 'rotate-180'}`} />
6+
7+
<style>
8+
div {
9+
background: linear-gradient(
10+
rgb(var(--color-surface-800)),
11+
rgb(var(--color-surface-400)) 50%,
12+
rgb(var(--color-surface-200))
13+
);
14+
}
15+
</style>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</div>
2121
<div class="block h-[646px] flex-none" />
2222
<CodeSvg />
23-
<GitLineGradient />
23+
<GitLineGradient rotate={true} />
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">

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
>
88
<path
99
d="M88.772 3.19857C42.9732 66.8937 -46.6711 170.884 39.1679 240.067C60.1958 257.015 83.74 257.935 109.479 260.686C110.591 260.804 136.777 259.434 134.179 256.863C127.22 249.978 86.8409 208.781 113.277 235.241C116.074 238.04 138.279 253.85 137.839 257.972C136.639 269.201 92.2978 292.361 82.9803 299.861"
10-
stroke="#453488"
10+
stroke="currentColor"
1111
stroke-width="5"
1212
stroke-linecap="round"
1313
/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div class="check-out-text">Check out our latest course!</div>
2828
<div class="check-out-arrow"><CheckOutArrow /></div>
2929
<div class="block">
30-
<Video src="https://youtu.be/sp7qvtvCFv8" title="Svelte" />
30+
<Video class="rounded-2xl" src="https://youtu.be/sp7qvtvCFv8" title="Svelte" />
3131
</div>
3232
</div>
3333
</div>

0 commit comments

Comments
 (0)