Skip to content

Commit 49f4fb6

Browse files
author
Alex FusionAuth
committed
new homepage campaign
1 parent 0c8f33f commit 49f4fb6

12 files changed

Lines changed: 323 additions & 28 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<div class="mx-auto my-3">
2+
<div class="relative d-inline-block z-1">
3+
<svg
4+
aria-hidden="true"
5+
height="24"
6+
viewBox="0 0 24 24"
7+
version="1.1"
8+
width="24"
9+
data-view-component="true"
10+
class="inline-block overflow-visible align-text-bottom fill-on-primary-token"
11+
>
12+
<path
13+
d="M15.22 4.97a.75.75 0 0 1 1.06 0l6.5 6.5a.75.75 0 0 1 0 1.06l-6.5 6.5a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L21.19 12l-5.97-5.97a.75.75 0 0 1 0-1.06Zm-6.44 0a.75.75 0 0 1 0 1.06L2.81 12l5.97 5.97a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215l-6.5-6.5a.75.75 0 0 1 0-1.06l6.5-6.5a.75.75 0 0 1 1.06 0Z"
14+
/>
15+
</svg>
16+
<span class="absolute left-0 top-0 h-full w-full bg-surface-900-50-token -z-10 blur-lg" />
17+
</div>
18+
</div>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
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+
/>
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
<script>
2+
import LinesHero from './LinesHeroSvg.svelte';
3+
import CodeSvg from './CodeSvg.svelte';
4+
import GitLineGradient from './GitLineGradient.svelte';
5+
6+
import { Icon } from '@steeze-ui/svelte-icon';
7+
import { ArrowRight } from '@steeze-ui/heroicons';
8+
import StarSvg from './StarSvg.svelte';
9+
10+
import { Avatar } from '@codingcatdev/blackcatui';
11+
</script>
12+
13+
<section
14+
class="grid justify-center grid-cols-1 p-8 mx-auto gap-2 2xl:gap-10 2xl:min-h-768 max-w-7xl"
15+
>
16+
<div class="flex">
17+
<div class="flex flex-col basis-1/12 relative">
18+
<div class="top-0 left-[calc(50%-14px)] h-[646px] absolute">
19+
<LinesHero />
20+
</div>
21+
<div class="block h-[646px] flex-none" />
22+
<CodeSvg />
23+
<GitLineGradient />
24+
</div>
25+
<div class="basis-11/12 pt-44 mt-44 pl-4 sm:pl-2">
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 />
30+
</div>
31+
<h1>Unlock the power of Web Development</h1>
32+
<div class="p-8 text-xl">
33+
Get the skills you need to become a better web developer today. High quality courses
34+
with projects to show off your new skills.
35+
</div>
36+
<div>
37+
<button class="bcu-button gap-1 variant-filled">
38+
Start learning for <span class="uppercase">free</span>
39+
<Icon src={ArrowRight} theme="mini" class="w-6" />
40+
</button>
41+
</div>
42+
<div>
43+
<p>Join 5,000+ students and level up your skills</p>
44+
</div>
45+
<!-- TODO: Replace with actual users -->
46+
<div class="flex">
47+
<div>
48+
<Avatar
49+
src="https://media.codingcat.dev/image/upload/v1684688346/main-codingcatdev-photo/podcast-guest/james_r_perkins.jpg"
50+
class="border-2 border-primary-500"
51+
/>
52+
</div>
53+
<div class="-ml-8 z-10">
54+
<Avatar
55+
src="https://media.codingcat.dev/image/upload/v1683058098/main-codingcatdev-photo/podcast-guest/guillermo-rauch.jpg"
56+
class="border-2 border-primary-500"
57+
/>
58+
</div>
59+
<div class="-ml-8 z-10">
60+
<Avatar
61+
src="https://media.codingcat.dev/image/upload/v1683044362/main-codingcatdev-photo/podcast-guest/jlengstorf.jpg"
62+
class="border-2 border-primary-500"
63+
/>
64+
</div>
65+
<div class="-ml-8 z-10">
66+
<Avatar
67+
src="https://media.codingcat.dev/image/upload/v1683042894/main-codingcatdev-photo/podcast-guest/jonmeyers_io.jpg"
68+
class="border-2 border-primary-500"
69+
/>
70+
</div>
71+
<div class="-ml-8 z-10">
72+
<Avatar
73+
src="https://media.codingcat.dev/image/upload/v1683044101/main-codingcatdev-photo/podcast-guest/jeffdelaney23.jpg"
74+
class="border-2 border-primary-500"
75+
/>
76+
</div>
77+
<div class="-ml-8 z-10">
78+
<Avatar
79+
src="https://media.codingcat.dev/image/upload/v1645887998/main-codingcatdev-photo/authors/alex_headshot.png"
80+
class="border-2 border-primary-500"
81+
/>
82+
</div>
83+
<div class="-ml-8 z-10">
84+
<Avatar
85+
src="https://media.codingcat.dev/image/upload/v1648041803/main-codingcatdev-photo/authors/brittney.jpg"
86+
class="border-2 border-primary-500"
87+
/>
88+
</div>
89+
</div>
90+
</div>
91+
</div>
92+
</div>
93+
</div>
94+
</section>
Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
<svg width="443" height="646" viewBox="0 0 443 646" fill="none" xmlns="http://www.w3.org/2000/svg">
2+
<line
3+
x1="13.5361"
4+
y1="644.5"
5+
x2="13.5361"
6+
y2="221.5"
7+
stroke="url(#paint0_linear_120_10502)"
8+
stroke-width="3"
9+
stroke-linecap="round"
10+
/>
11+
<path
12+
d="M433 14.5V52.6914C433 157.626 347.934 242.691 243 242.691H143C71.203 242.691 13 300.894 13 372.692V426.201"
13+
stroke="url(#paint1_linear_120_10502)"
14+
stroke-width="3"
15+
stroke-linecap="round"
16+
/>
17+
<g filter="url(#filter0_dd_120_10502)">
18+
<ellipse
19+
cx="13.4278"
20+
cy="219.9"
21+
rx="8"
22+
ry="5"
23+
transform="rotate(-15 13.4278 219.9)"
24+
fill="white"
25+
/>
26+
<path
27+
d="M20.1892 218.088C20.4251 218.969 20.1042 220.066 19.0755 221.169C18.0581 222.26 16.4448 223.233 14.463 223.764C12.4812 224.295 10.5979 224.259 9.17118 223.823C7.7286 223.382 6.90219 222.592 6.66627 221.712C6.43036 220.831 6.75129 219.734 7.78 218.631C8.79739 217.54 10.4107 216.567 12.3925 216.036C14.3743 215.505 16.2576 215.541 17.6843 215.977C19.1269 216.418 19.9533 217.208 20.1892 218.088Z"
28+
stroke="#9A74D0"
29+
stroke-width="2"
30+
/>
31+
</g>
32+
<g filter="url(#filter1_dd_120_10502)">
33+
<ellipse
34+
cx="432.428"
35+
cy="11.3301"
36+
rx="8"
37+
ry="5"
38+
transform="rotate(-30 432.428 11.3301)"
39+
fill="white"
40+
/>
41+
<path
42+
d="M438.49 7.83012C438.946 8.61951 438.92 9.76215 438.212 11.0942C437.512 12.4115 436.205 13.7684 434.428 14.7942C432.651 15.8201 430.823 16.2732 429.332 16.221C427.824 16.1682 426.822 15.6195 426.366 14.8301C425.91 14.0407 425.936 12.8981 426.644 11.5661C427.345 10.2487 428.651 8.89188 430.428 7.86602C432.205 6.84017 434.033 6.38702 435.524 6.43922C437.032 6.49201 438.035 7.04074 438.49 7.83012Z"
43+
stroke="#9A74D0"
44+
stroke-width="2"
45+
/>
46+
</g>
47+
<defs>
48+
<filter
49+
id="filter0_dd_120_10502"
50+
x="0.591797"
51+
y="209.644"
52+
width="23.6719"
53+
height="18.5122"
54+
filterUnits="userSpaceOnUse"
55+
color-interpolation-filters="sRGB"
56+
>
57+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
58+
<feColorMatrix
59+
in="SourceAlpha"
60+
type="matrix"
61+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
62+
result="hardAlpha"
63+
/>
64+
<feOffset dx="-1" dy="-1" />
65+
<feGaussianBlur stdDeviation="2" />
66+
<feComposite in2="hardAlpha" operator="out" />
67+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0" />
68+
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_120_10502" />
69+
<feColorMatrix
70+
in="SourceAlpha"
71+
type="matrix"
72+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
73+
result="hardAlpha"
74+
/>
75+
<feOffset dx="-1" dy="-1" />
76+
<feGaussianBlur stdDeviation="1" />
77+
<feComposite in2="hardAlpha" operator="out" />
78+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0" />
79+
<feBlend
80+
mode="normal"
81+
in2="effect1_dropShadow_120_10502"
82+
result="effect2_dropShadow_120_10502"
83+
/>
84+
<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_120_10502" result="shape" />
85+
</filter>
86+
<filter
87+
id="filter1_dd_120_10502"
88+
x="420.061"
89+
y="0.435181"
90+
width="22.7354"
91+
height="19.7899"
92+
filterUnits="userSpaceOnUse"
93+
color-interpolation-filters="sRGB"
94+
>
95+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
96+
<feColorMatrix
97+
in="SourceAlpha"
98+
type="matrix"
99+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
100+
result="hardAlpha"
101+
/>
102+
<feOffset dx="-1" dy="-1" />
103+
<feGaussianBlur stdDeviation="2" />
104+
<feComposite in2="hardAlpha" operator="out" />
105+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0" />
106+
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_120_10502" />
107+
<feColorMatrix
108+
in="SourceAlpha"
109+
type="matrix"
110+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
111+
result="hardAlpha"
112+
/>
113+
<feOffset dx="-1" dy="-1" />
114+
<feGaussianBlur stdDeviation="1" />
115+
<feComposite in2="hardAlpha" operator="out" />
116+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0" />
117+
<feBlend
118+
mode="normal"
119+
in2="effect1_dropShadow_120_10502"
120+
result="effect2_dropShadow_120_10502"
121+
/>
122+
<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_120_10502" result="shape" />
123+
</filter>
124+
<linearGradient
125+
id="paint0_linear_120_10502"
126+
x1="15.0361"
127+
y1="646"
128+
x2="15.0362"
129+
y2="220"
130+
gradientUnits="userSpaceOnUse"
131+
>
132+
<stop stop-color="#D2A8FF" />
133+
<stop offset="0.0908581" stop-color="#A371F7" />
134+
<stop offset="0.599056" stop-color="#6639BA" />
135+
<stop offset="0.902019" stop-color="#6639BA" />
136+
<stop offset="1" stop-color="#D2A8FF" stop-opacity="0" />
137+
</linearGradient>
138+
<linearGradient
139+
id="paint1_linear_120_10502"
140+
x1="-118"
141+
y1="546"
142+
x2="400.987"
143+
y2="-33.662"
144+
gradientUnits="userSpaceOnUse"
145+
>
146+
<stop stop-color="#A371F7" />
147+
<stop offset="0.00733964" stop-color="#9E72D3" />
148+
<stop offset="0.251918" stop-color="#6639BA" stop-opacity="0" />
149+
<stop offset="0.325848" stop-color="#6639BA" />
150+
<stop offset="0.945217" stop-color="#6639BA" />
151+
<stop offset="1" stop-color="#6639BA" stop-opacity="0" />
152+
</linearGradient>
153+
</defs>
154+
</svg>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<svg
2+
width="100%"
3+
height="100%"
4+
viewBox="0 0 131 128"
5+
fill="none"
6+
xmlns="http://www.w3.org/2000/svg"
7+
>
8+
<path
9+
d="M54.1896 6.96001C59.1693 -1.82795 71.8307 -1.82795 76.8104 6.96001L81.7505 15.6782C84.4242 20.3966 89.7461 22.9594 95.102 22.1079L104.998 20.5346C114.974 18.9487 122.868 28.8477 119.102 38.2202L115.366 47.5183C113.344 52.5505 114.659 58.3092 118.664 61.9658L126.064 68.7221C133.524 75.5325 130.706 87.8763 121.03 90.7757L111.432 93.652C106.236 95.2087 102.554 99.8268 102.192 105.238L101.524 115.236C100.85 125.315 89.4427 130.808 81.1432 125.051L72.9095 119.34C68.4534 116.249 62.5466 116.249 58.0905 119.34L49.8568 125.051C41.5573 130.808 30.1499 125.315 29.4763 115.236L28.808 105.238C28.4463 99.8268 24.7635 95.2087 19.5685 93.652L9.96959 90.7757C0.293875 87.8763 -2.52353 75.5325 4.936 68.7221L12.3363 61.9658C16.3414 58.3092 17.6558 52.5505 15.6339 47.5183L11.8979 38.2202C8.13196 28.8477 16.0262 18.9487 26.0017 20.5346L35.898 22.1079C41.2539 22.9594 46.5758 20.3966 49.2495 15.6782L54.1896 6.96001Z"
10+
/>
11+
</svg>
12+
13+
<style>
14+
:global(.dark) svg {
15+
fill: rgb(var(--color-surface-500));
16+
}
17+
svg {
18+
fill: rgb(var(--color-surface-300));
19+
}
20+
</style>

apps/codingcatdev/src/routes/(home-partials)/BreakBarLeft.svelte renamed to apps/codingcatdev/src/routes/(old-home-partials)/BreakBarLeft.svelte

File renamed without changes.

apps/codingcatdev/src/routes/(home-partials)/BreakBarRight.svelte renamed to apps/codingcatdev/src/routes/(old-home-partials)/BreakBarRight.svelte

File renamed without changes.

apps/codingcatdev/src/routes/(home-partials)/HomeHero.svelte renamed to apps/codingcatdev/src/routes/(old-home-partials)/HomeHero.svelte

File renamed without changes.

apps/codingcatdev/src/routes/(home-partials)/LightChange.svelte renamed to apps/codingcatdev/src/routes/(old-home-partials)/LightChange.svelte

File renamed without changes.

apps/codingcatdev/src/routes/(home-partials)/Skills.svelte renamed to apps/codingcatdev/src/routes/(old-home-partials)/Skills.svelte

File renamed without changes.

0 commit comments

Comments
 (0)