Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functions product page #1485

Draft
wants to merge 34 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
25604cd
start functions page
thejessewinton Oct 17, 2024
022bda6
start funcs page
thejessewinton Oct 17, 2024
dd298d8
Merge branch 'main' into functions-product-page
thejessewinton Nov 4, 2024
b494c0a
functions page bento
thejessewinton Nov 4, 2024
0712cf2
Merge branch 'main' into functions-product-page
thejessewinton Nov 5, 2024
82e59d4
updates
thejessewinton Nov 5, 2024
947e938
updates
thejessewinton Nov 5, 2024
5d5fd65
Update app.css
thejessewinton Nov 5, 2024
3ff8d93
Merge branch 'main' into functions-product-page
thejessewinton Nov 6, 2024
399208a
tweaks
thejessewinton Nov 6, 2024
df6e1db
updates
thejessewinton Nov 7, 2024
c4b4a74
Merge branch 'main' into functions-product-page
thejessewinton Nov 7, 2024
4494a34
buncha component work
thejessewinton Nov 8, 2024
68d3d31
rm accidental bun
thejessewinton Nov 8, 2024
784bb00
buncha stuff for components
thejessewinton Nov 8, 2024
be4502c
Update DevelopLocally.svelte
thejessewinton Nov 8, 2024
1047ff4
update
thejessewinton Nov 8, 2024
9e28b87
Merge branch 'main' into functions-product-page
thejessewinton Nov 8, 2024
b950f34
updates
thejessewinton Nov 8, 2024
5ad2f31
finish templates section
thejessewinton Nov 8, 2024
ac8c07c
Update DeploySeamlessly.svelte
thejessewinton Nov 8, 2024
ccd8129
update spacing
thejessewinton Nov 9, 2024
b1bce30
update
thejessewinton Nov 9, 2024
5737610
add map
thejessewinton Nov 9, 2024
1aab675
update
thejessewinton Nov 9, 2024
274da92
Update Testimonials.svelte
thejessewinton Nov 9, 2024
9171508
Update app.css
thejessewinton Nov 9, 2024
1670549
Update +page.svelte
thejessewinton Nov 9, 2024
c927b9f
add regions map
thejessewinton Nov 9, 2024
bff7377
update footer
thejessewinton Nov 9, 2024
78d3c29
ready for design review
thejessewinton Nov 9, 2024
1b75e22
Update Hero.svelte
thejessewinton Nov 9, 2024
4c867ec
add bgs
thejessewinton Nov 9, 2024
b1b0582
Update Hero.svelte
thejessewinton Nov 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"svelte-check": "^3.8.1",
"svelte-markdoc-preprocess": "^2.0.0",
"svelte-markdown": "^0.4.1",
"svelte-motion": "^0.12.2",
"svgtofont": "^4.2.1",
"tailwind-merge": "^2.5.2",
"tailwindcss": "4.0.0-alpha.17",
Expand Down
74 changes: 70 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 31 additions & 1 deletion src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
--color-blue-500: calc(hsl(var(--color-blue-hue) - 1) 99% 70%);
--color-blue-700: calc(hsl(var(--color-blue-hue) - 1) 42% 42%);

/* green */
--color-green-700: #0a714f;

/* secondary */
--color-secondary-100: hsl(var(--color-secondary-hue) 99% 66%);
--color-accent-200: hsl(var(--color-secondary-hue), 78%, 60%, 0.32);
Expand Down Expand Up @@ -77,8 +80,11 @@

/* Animations */
--animate-scale-in: scale-in 200ms ease-out forwards;
--animate-caret-blink: caret-blink 1s ease-in-out infinite;
--animate-text: fade-in 0.75s ease-in-out both, blur 0.75s ease-in-out both,
up 0.75s ease-in-out both;
--animate-scroll: scroll 60s linear infinite;
--animate-fade-in: fade-in 0.5s ease-in-out both;

/* Pink polyfills */
--transition: 0.2s;
Expand All @@ -93,6 +99,18 @@
}
}

@keyframes caret-blink {
0%,
70%,
100% {
opacity: 1;
}
20%,
50% {
opacity: 0;
}
}

@keyframes blur {
0% {
filter: blur(5px);
Expand Down Expand Up @@ -120,6 +138,15 @@
}
}

@keyframes scroll {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-100%);
}
}

/* Fonts */
--font-family-sans: 'Inter', arial, sans-serif;
--font-family-mono: 'Fira Code', monospace;
Expand All @@ -128,9 +155,12 @@
--font-family-archia: 'Archia', arial, sans-serif;

/* Font sizes */
--font-size-x-micro: 0.625rem;
--font-size-x-micro--line-height: 0.875rem;
--font-size-x-micro--letter-spacing: var(--letter-spacing-tighter);
--font-size-micro: 0.75rem;
--font-size-micro--line-height: 1rem;
--font-size-micro--letter-spacing: var(--letter-spacing-loose);
--font-size-micro--letter-spacing: var(--letter-spacing-tighter);
--font-size-caption: 0.875rem;
--font-size-caption--line-height: 1.375rem;
--font-size-caption--letter-spacing: var(--letter-spacing-tight);
Expand Down
14 changes: 14 additions & 0 deletions src/lib/animations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,20 @@ export function write(text: string, cb: (v: string) => void, duration = 500) {
});
}

export function unwrite(text: string, cb: (v: string) => void, duration = 500) {
const step = duration / text.length;
let i = text.length;
return new Promise((resolve) => {
const interval = setInterval(() => {
cb(text.slice(0, --i));
if (i === 0) {
clearInterval(interval);
resolve(undefined);
}
}, step);
});
}

export function sleep(duration: number) {
return new Promise((resolve) => {
setTimeout(resolve, duration);
Expand Down
9 changes: 9 additions & 0 deletions src/lib/utils/references.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ export enum Platform {
ServerRest = 'server-rest'
}

export enum Framework {
NextJs = 'Next.js',
SvelteKit = 'SvelteKit',
VueJs = 'Vue.js',
Nuxt3 = 'Nuxt3',
Astro = 'Astro',
Remix = 'Remix'
}

export const platformMap: Record<Language | string, string> = {
[Platform.ClientApple]: 'Apple',
[Platform.ClientFlutter]: 'Flutter',
Expand Down
3 changes: 3 additions & 0 deletions src/routes/products/functions/(assets)/anonymous.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/routes/products/functions/(assets)/avatar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/routes/products/functions/(assets)/chrome.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions src/routes/products/functions/(assets)/collaboration.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions src/routes/products/functions/(assets)/customization.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading