feat: add launch on PH on sites

This commit is contained in:
Rotimi Best
2024-12-20 12:11:25 +01:00
parent 097daa786c
commit f9bce74254
4 changed files with 49 additions and 65 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
"svelte-sequential-preprocessor": "^2.0.1", "svelte-sequential-preprocessor": "^2.0.1",
"tailwindcss": "^3.3.3", "tailwindcss": "^3.3.3",
"typescript": "^5.0.0", "typescript": "^5.0.0",
"vite": "^5.0.0" "vite": "^5.4.4"
}, },
"type": "module", "type": "module",
"engines": { "engines": {
+10 -2
View File
@@ -12,7 +12,7 @@
]; ];
let animate = false; let animate = false;
let titleIndex = 0; let titleIndex = 0;
let timeout: NodeJS.Timer; let timeout: NodeJS.Timeout;
onMount(() => { onMount(() => {
setTimeout(() => { setTimeout(() => {
@@ -33,14 +33,22 @@
<div class="hero-bg relative border-b-2 text-center bg-[#F5F8FE] h-full mt-[5%] w-full"> <div class="hero-bg relative border-b-2 text-center bg-[#F5F8FE] h-full mt-[5%] w-full">
<div class="pt-24 w-full"> <div class="pt-24 w-full">
<div class="mb-10 ml-[5%] lg:ml-0 flex w-full items-center justify-start lg:justify-center"> <div class="mb-10 ml-[5%] lg:ml-0 flex w-full items-center justify-start lg:justify-center">
<a <!-- <a
target="_blank" target="_blank"
rel="noopener noreferrer nofollow" rel="noopener noreferrer nofollow"
href="/github" href="/github"
style="color: rgb(75, 85, 99);" style="color: rgb(75, 85, 99);"
class="rounded-full border-2 border-[#C2D2FF] px-4 py-1 text-sm font-medium bg-[#DCE5FF] text-[#4B5563] hover:underline" class="rounded-full border-2 border-[#C2D2FF] px-4 py-1 text-sm font-medium bg-[#DCE5FF] text-[#4B5563] hover:underline"
>We are <span class="text-blue-700">100%</span> open source</a >We are <span class="text-blue-700">100%</span> open source</a
> -->
<a
href="https://www.producthunt.com/posts/courseapp?embed=true&utm_source=badge-featured&utm_medium=badge&utm_souce=badge-courseapp"
target="_blank"
rel="noopener noreferrer nofollow"
class="rounded-full border-2 border-[#ff6154]/60 px-4 py-1 text-sm font-medium bg-[#ff6154] text-white hover:underline"
> >
We are live on Product Hunt
</a>
</div> </div>
<div class="justify-between w-[90%] absolute top-[10%] left-[5%] hidden lg:flex"> <div class="justify-between w-[90%] absolute top-[10%] left-[5%] hidden lg:flex">
+13 -2
View File
@@ -92,6 +92,16 @@
<CardBody <CardBody
className="py-10 max-w-4xl mx-auto flex flex-col items-center justify-center px-30 gap-2 md:gap-5" className="py-10 max-w-4xl mx-auto flex flex-col items-center justify-center px-30 gap-2 md:gap-5"
> >
<div class="flex w-full items-center justify-start lg:ml-0 lg:justify-center">
<a
href="https://www.producthunt.com/posts/courseapp?embed=true&utm_source=badge-featured&utm_medium=badge&utm_souce=badge-courseapp"
target="_blank"
rel="noopener noreferrer nofollow"
class="rounded-full border-2 border-[#ff6154]/60 bg-[#ff6154] px-4 py-1 text-sm font-medium text-white hover:underline"
>
We are live on Product Hunt
</a>
</div>
<BlurIn <BlurIn
class="pointer-events-none flex max-w-2xl flex-col items-center whitespace-pre-wrap bg-gradient-to-b from-black to-gray-300/80 bg-clip-text text-center text-2xl font-semibold leading-none tracking-tighter text-transparent md:mb-4 md:block md:text-4xl lg:text-6xl" class="pointer-events-none flex max-w-2xl flex-col items-center whitespace-pre-wrap bg-gradient-to-b from-black to-gray-300/80 bg-clip-text text-center text-2xl font-semibold leading-none tracking-tighter text-transparent md:mb-4 md:block md:text-4xl lg:text-6xl"
> >
@@ -101,8 +111,9 @@
</BlurIn> </BlurIn>
<BlurFade delay={0.25}> <BlurFade delay={0.25}>
<p class="text-md text-center max-w-[500px]"> <p class="text-md max-w-[500px] text-center">
With our prebuilt templates, you can setup a fully functional customer educational website for your product & idea in minutes.<br /> With our prebuilt templates, you can setup a fully functional customer educational
website for your product & idea in minutes.<br />
<span> <span>
Similar to the likes of Similar to the likes of
+25 -60
View File
@@ -137,10 +137,10 @@ importers:
version: 3.0.0(@sveltejs/[email protected]) version: 3.0.0(@sveltejs/[email protected])
'@sveltejs/kit': '@sveltejs/kit':
specifier: ^2.0.0 specifier: ^2.0.0
version: 2.0.0(@sveltejs/[email protected])([email protected])(vite@5.0.0) version: 2.0.0(@sveltejs/[email protected])([email protected])(vite@5.4.11)
'@sveltejs/vite-plugin-svelte': '@sveltejs/vite-plugin-svelte':
specifier: ^3.0.0 specifier: ^3.0.0
version: 3.0.0([email protected])(vite@5.0.0) version: 3.0.0([email protected])(vite@5.4.11)
autoprefixer: autoprefixer:
specifier: ^10.4.15 specifier: ^10.4.15
version: 10.4.15([email protected]) version: 10.4.15([email protected])
@@ -169,8 +169,8 @@ importers:
specifier: ^5.0.0 specifier: ^5.0.0
version: 5.1.6 version: 5.1.6
vite: vite:
specifier: ^5.0.0 specifier: ^5.4.4
version: 5.0.0 version: 5.4.11(@types/[email protected])
apps/course-app: apps/course-app:
dependencies: dependencies:
@@ -6183,7 +6183,7 @@ packages:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
/@sveltejs/[email protected](@sveltejs/[email protected])([email protected])(vite@5.0.0): /@sveltejs/[email protected](@sveltejs/[email protected])([email protected])(vite@5.4.11):
resolution: {integrity: sha512-/GFxvit+q7PztRbgGTFXhVB6jvb0fZSeWuz5f4siQ2r/5BVhxYh7++Bw3/ZUjiOuyoZFiNBmOPcRNQbkzEce0g==} resolution: {integrity: sha512-/GFxvit+q7PztRbgGTFXhVB6jvb0fZSeWuz5f4siQ2r/5BVhxYh7++Bw3/ZUjiOuyoZFiNBmOPcRNQbkzEce0g==}
engines: {node: '>=18.13'} engines: {node: '>=18.13'}
hasBin: true hasBin: true
@@ -6193,7 +6193,7 @@ packages:
svelte: ^4.0.0 || ^5.0.0-next.0 svelte: ^4.0.0 || ^5.0.0-next.0
vite: ^5.0.3 vite: ^5.0.3
dependencies: dependencies:
'@sveltejs/vite-plugin-svelte': 3.0.0([email protected])(vite@5.0.0) '@sveltejs/vite-plugin-svelte': 3.0.0([email protected])(vite@5.4.11)
'@types/cookie': 0.6.0 '@types/cookie': 0.6.0
cookie: 0.6.0 cookie: 0.6.0
devalue: 4.3.2 devalue: 4.3.2
@@ -6206,7 +6206,7 @@ packages:
sirv: 2.0.3 sirv: 2.0.3
svelte: 4.1.2 svelte: 4.1.2
tiny-glob: 0.2.9 tiny-glob: 0.2.9
vite: 5.0.0 vite: 5.4.11(@types/[email protected])
dev: true dev: true
/@sveltejs/[email protected](@sveltejs/[email protected])([email protected])([email protected]): /@sveltejs/[email protected](@sveltejs/[email protected])([email protected])([email protected]):
@@ -6304,7 +6304,7 @@ packages:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
/@sveltejs/[email protected](@sveltejs/[email protected])([email protected])(vite@5.0.0): /@sveltejs/[email protected](@sveltejs/[email protected])([email protected])(vite@5.4.11):
resolution: {integrity: sha512-9QX28IymvBlSCqsCll5t0kQVxipsfhFFL+L2t3nTWfXnddYwxBuAEtTtlaVQpRz9c37BhJjltSeY4AJSC03SSg==} resolution: {integrity: sha512-9QX28IymvBlSCqsCll5t0kQVxipsfhFFL+L2t3nTWfXnddYwxBuAEtTtlaVQpRz9c37BhJjltSeY4AJSC03SSg==}
engines: {node: ^18.0.0 || >=20} engines: {node: ^18.0.0 || >=20}
peerDependencies: peerDependencies:
@@ -6312,10 +6312,10 @@ packages:
svelte: ^4.0.0 || ^5.0.0-next.0 svelte: ^4.0.0 || ^5.0.0-next.0
vite: ^5.0.0 vite: ^5.0.0
dependencies: dependencies:
'@sveltejs/vite-plugin-svelte': 3.0.0([email protected])(vite@5.0.0) '@sveltejs/vite-plugin-svelte': 3.0.0([email protected])(vite@5.4.11)
debug: 4.3.4([email protected]) debug: 4.3.4([email protected])
svelte: 4.1.2 svelte: 4.1.2
vite: 5.0.0 vite: 5.4.11(@types/[email protected])
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: true dev: true
@@ -6387,22 +6387,22 @@ packages:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
/@sveltejs/[email protected]([email protected])(vite@5.0.0): /@sveltejs/[email protected]([email protected])(vite@5.4.11):
resolution: {integrity: sha512-Th0nupxk8hl5Rcg9jm+1xWylwco4bSUAvutWxM4W4bjOAollpXLmrYqSSnYo9pPbZOO6ZGRm6sSqYa/v1d/Saw==} resolution: {integrity: sha512-Th0nupxk8hl5Rcg9jm+1xWylwco4bSUAvutWxM4W4bjOAollpXLmrYqSSnYo9pPbZOO6ZGRm6sSqYa/v1d/Saw==}
engines: {node: ^18.0.0 || >=20} engines: {node: ^18.0.0 || >=20}
peerDependencies: peerDependencies:
svelte: ^4.0.0 || ^5.0.0-next.0 svelte: ^4.0.0 || ^5.0.0-next.0
vite: ^5.0.0 vite: ^5.0.0
dependencies: dependencies:
'@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/[email protected])([email protected])(vite@5.0.0) '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/[email protected])([email protected])(vite@5.4.11)
debug: 4.3.4([email protected]) debug: 4.3.4([email protected])
deepmerge: 4.3.1 deepmerge: 4.3.1
kleur: 4.1.5 kleur: 4.1.5
magic-string: 0.30.8 magic-string: 0.30.8
svelte: 4.1.2 svelte: 4.1.2
svelte-hmr: 0.15.3([email protected]) svelte-hmr: 0.15.3([email protected])
vite: 5.0.0 vite: 5.4.11(@types/[email protected])
vitefu: 0.2.5(vite@5.0.0) vitefu: 0.2.5(vite@5.4.11)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: true dev: true
@@ -18379,41 +18379,6 @@ packages:
optionalDependencies: optionalDependencies:
fsevents: 2.3.3 fsevents: 2.3.3
/[email protected]:
resolution: {integrity: sha512-ESJVM59mdyGpsiNAeHQOR/0fqNoOyWPYesFto8FFZugfmhdHx8Fzd8sF3Q/xkVhZsyOxHfdM7ieiVAorI9RjFw==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
peerDependencies:
'@types/node': ^18.0.0 || >=20.0.0
less: '*'
lightningcss: ^1.21.0
sass: '*'
stylus: '*'
sugarss: '*'
terser: ^5.4.0
peerDependenciesMeta:
'@types/node':
optional: true
less:
optional: true
lightningcss:
optional: true
sass:
optional: true
stylus:
optional: true
sugarss:
optional: true
terser:
optional: true
dependencies:
esbuild: 0.19.12
postcss: 8.4.38
rollup: 4.27.3
optionalDependencies:
fsevents: 2.3.3
dev: true
/[email protected]: /[email protected]:
resolution: {integrity: sha512-WgEq8WEKpZ8c0DL4M1+E+kBZEJyjBmGVrul6z8Ljfhv+PPbNF4aGq014DwNYxGz2FGq6NKL0N8usdiESWd2l2w==} resolution: {integrity: sha512-WgEq8WEKpZ8c0DL4M1+E+kBZEJyjBmGVrul6z8Ljfhv+PPbNF4aGq014DwNYxGz2FGq6NKL0N8usdiESWd2l2w==}
engines: {node: ^18.0.0 || >=20.0.0} engines: {node: ^18.0.0 || >=20.0.0}
@@ -18545,17 +18510,6 @@ packages:
dependencies: dependencies:
vite: 4.4.8(@types/[email protected])([email protected]) vite: 4.4.8(@types/[email protected])([email protected])
/[email protected]([email protected]):
resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==}
peerDependencies:
vite: ^3.0.0 || ^4.0.0 || ^5.0.0
peerDependenciesMeta:
vite:
optional: true
dependencies:
vite: 5.0.0
dev: true
/[email protected]([email protected]): /[email protected]([email protected]):
resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==} resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==}
peerDependencies: peerDependencies:
@@ -18567,6 +18521,17 @@ packages:
vite: 5.0.3 vite: 5.0.3
dev: true dev: true
/[email protected]([email protected]):
resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==}
peerDependencies:
vite: ^3.0.0 || ^4.0.0 || ^5.0.0
peerDependenciesMeta:
vite:
optional: true
dependencies:
vite: 5.4.11(@types/[email protected])
dev: true
/[email protected]([email protected]): /[email protected]([email protected]):
resolution: {integrity: sha512-y6zEE3PQf6uu/Mt6DTJ9ih+kyJLr4XcSgHR2zUkM8SWDhuixEJxfJ6CZGMHh1Ec3vPLoEA0IHU5oWzVqw8ulow==} resolution: {integrity: sha512-y6zEE3PQf6uu/Mt6DTJ9ih+kyJLr4XcSgHR2zUkM8SWDhuixEJxfJ6CZGMHh1Ec3vPLoEA0IHU5oWzVqw8ulow==}
peerDependencies: peerDependencies: