Skip to content

Commit 10eb65c

Browse files
Merge pull request #2070 from appwrite/homepage-hotfixes
2 parents b1bf49e + aee803f commit 10eb65c

File tree

14 files changed

+25
-21
lines changed

14 files changed

+25
-21
lines changed

src/lib/components/ProductsSubmenu.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,13 @@
166166
>
167167
<header class="flex items-center justify-between">
168168
<span
169-
class="font-aeonik-fono tracking-loose text-secondary block text-xs uppercase"
169+
class="font-aeonik-fono tracking-loose text-primary block text-xs uppercase"
170170
>Customer Stories<span class="text-accent">_</span></span
171171
>
172172
<a
173173
href="/blog/category/customer-stories"
174-
class="text-primary text-caption flex items-center gap-2"
175-
>Read more customer stories" <Icon
174+
class="text-secondary text-caption flex items-center"
175+
>Read more customer stories <Icon
176176
name="chevron-right"
177177
class="transition-transform group-hover:translate-x-0.5"
178178
></Icon></a

src/routes/(marketing)/(components)/bento/(animations)/auth.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
</p>
6969
</div>
7070
<div
71-
class="relative flex h-85 items-center justify-between overflow-clip rounded-xl bg-black/24 px-8"
71+
class="relative mt-auto mb-0 flex h-85 items-center justify-between overflow-clip rounded-xl bg-black/24 px-8"
7272
>
7373
<div class="flex h-full w-full items-center justify-center">
7474
<div

src/routes/(marketing)/(components)/bento/(animations)/databases.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
</p>
166166
</div>
167167
<div
168-
class="relative flex h-85 max-h-85 flex-1 flex-col overflow-hidden rounded-xl bg-black/24 px-8"
168+
class="relative mt-auto mb-0 flex h-85 max-h-85 flex-1 flex-col overflow-hidden rounded-xl bg-black/24 px-8"
169169
>
170170
<div
171171
class="border-smooth -z-3 mt-6 flex aspect-[4/2] w-full min-w-[450px] flex-col overflow-clip rounded-2xl border bg-[#232325]/90 mask-b-from-60% mask-b-to-100% shadow-[4px_8px_20px_rgba(0,0,0,0.2)] backdrop-blur-md md:mt-12"

src/routes/(marketing)/(components)/bento/(animations)/functions.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
</p>
112112
</div>
113113
<div
114-
class="relative flex h-85 items-center justify-between overflow-clip rounded-xl bg-black/24 px-8"
114+
class="relative mt-auto mb-0 flex h-85 items-center justify-between overflow-clip rounded-xl bg-black/24 px-8"
115115
>
116116
<div
117117
class={classNames(

src/routes/(marketing)/(components)/bento/(animations)/messaging.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,13 @@
7575
</p>
7676
</div>
7777
<div
78-
class="relative flex h-85 items-center justify-center overflow-clip rounded-xl bg-black/24 px-8"
78+
class="relative mt-auto mb-0 flex h-85 items-center justify-center overflow-clip rounded-xl bg-black/24 px-8"
7979
>
8080
<div
8181
class="light absolute top-14 z-10 flex h-[65px] w-[85%] items-center justify-between gap-4 rounded-[20px] bg-white/80 px-3 py-2 shadow-[-8px_4px_32px_rgba(0,0,0,0.24)] backdrop-blur-xl"
8282
style="transform: translateY(-15px); opacity: 0; filter: blur(4px);"
8383
bind:this={notification}
84+
data-theme-ignore
8485
>
8586
<div class="flex size-8 shrink-0 items-center justify-center rounded-lg bg-black">
8687
<div class="size-3 rounded-full bg-white"></div>
@@ -99,6 +100,7 @@
99100
class="light mt-20 flex h-full w-[300px] flex-col rounded-t-[42px] border-x border-t border-white/12 bg-white/8 mask-b-from-60% mask-b-to-100% backdrop-blur-2xl"
100101
style:transform="translateY(15px)"
101102
bind:this={device}
103+
data-theme-ignore
102104
>
103105
<div class="m-2 flex-1 rounded-t-[34px] bg-[#19191C]">
104106
<div class="flex items-center justify-between px-8 pt-4">

src/routes/(marketing)/(components)/bento/(animations)/realtime.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
</p>
8383
</div>
8484
<div
85-
class="relative flex h-85 items-center justify-center overflow-hidden rounded-xl bg-black/24 px-8"
85+
class="relative mt-auto mb-0 flex h-85 items-center justify-center overflow-hidden rounded-xl bg-black/24 px-8"
8686
>
8787
<div
8888
class="relative grid aspect-square h-[240px] w-[240px] grid-cols-2 grid-rows-2 items-center justify-center"

src/routes/(marketing)/(components)/bento/(animations)/sites.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
</p>
123123
</div>
124124
<div
125-
class="relative flex h-85 flex-col items-center justify-center overflow-hidden rounded-xl bg-black/24 px-3 md:flex-1 md:px-8"
125+
class="relative mt-auto mb-0 flex h-85 flex-col items-center justify-center overflow-hidden rounded-xl bg-black/24 px-3 md:flex-1 md:px-8"
126126
>
127127
<div
128128
class="mx-auto mt-6 hidden w-full flex-col overflow-hidden rounded-[1.25rem] bg-[#232325]/90 mask-b-from-60% mask-b-to-100% px-1 pb-1 backdrop-blur-md md:mt-12 md:flex"

src/routes/(marketing)/(components)/bento/(animations)/storage.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
</p>
8181
</div>
8282
<div
83-
class="relative flex h-85 items-center justify-center overflow-clip rounded-xl bg-black/24 p-8"
83+
class="relative mt-auto mb-0 flex h-85 items-center justify-center overflow-clip rounded-xl bg-black/24 p-8"
8484
>
8585
<div class="relative h-fit border border-white/50 p-1">
8686
{#each [1, 2, 3, 4] as _, i}

src/routes/(marketing)/(components)/bento/bento.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@
5252

5353
<div class="container py-20">
5454
<div class="mx-auto mb-16 flex max-w-5xl flex-col gap-8">
55-
<h2 class="text-primary font-aeonik-pro mx-auto max-w-lg text-center text-5xl">
55+
<h2 class="text-primary font-aeonik-pro mx-auto max-w-lg text-center text-4xl md:text-5xl">
5656
All the products you need, in one platform
5757
</h2>
5858

59-
<div class="hidden justify-between gap-8 md:flex">
59+
<div class="hidden justify-between gap-8 lg:flex">
6060
<div
6161
class={classNames(
6262
'bg-card border-smooth text-primary relative flex h-10 items-center gap-4 rounded-full border border-dashed p-1 text-sm',

src/routes/(marketing)/(components)/features.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@
5454
];
5555
</script>
5656

57-
<div class="light bg-[#EDEDF0] pt-20 pb-12 md:pt-40">
57+
<div class="light mt-4 bg-[#EDEDF0] pt-20 pb-12 md:pt-40">
5858
<div class="container mx-auto">
59-
<section class="flex flex-col items-start md:flex-row">
59+
<section class="flex flex-col items-start gap-x-20 md:flex-row">
6060
<h2
6161
class="text-title-lg font-aeonik-pro text-primary max-w-[700px] leading-12 text-pretty"
6262
>
@@ -72,7 +72,7 @@
7272
<div class="container grid grid-cols-2 overflow-hidden lg:grid-cols-4">
7373
{#each features as box}
7474
<a
75-
class="text-sub-body group relative border-b border-dashed border-black/8 px-4 py-8 font-medium last-of-type:border-0 nth-of-type-[4]:border-r-0 nth-of-type-[7]:border-b-0 max-lg:even:border-r-0 md:border-r lg:nth-of-type-[5]:border-b-0 lg:nth-of-type-[6]:border-b-0 lg:nth-of-type-[8]:border-b-0"
75+
class="text-sub-body group relative border-b border-dashed border-black/8 p-8 font-medium last-of-type:border-0 nth-of-type-[4]:border-r-0 nth-of-type-[7]:border-b-0 max-lg:even:border-r-0 md:border-r lg:nth-of-type-[5]:border-b-0 lg:nth-of-type-[6]:border-b-0 lg:nth-of-type-[8]:border-b-0"
7676
href={box.href}
7777
onclick={() => {
7878
trackEvent(`feature-${box.label.toLowerCase().replace(' ', '-')}-click`);

src/routes/(marketing)/(components)/logo-list.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
>
111111
{title}
112112
</h2>
113-
<div class="relative grid grid-cols-2 gap-4 py-10 md:grid-cols-4">
113+
<div class="relative grid grid-cols-2 gap-8 py-10 md:grid-cols-4 md:gap-4">
114114
{#each logoGroups as group, i}
115115
<div class="relative flex aspect-[8/2] flex-col items-center justify-center">
116116
{#each group as { src, alt, width, height }, index}

src/routes/(marketing)/(components)/map.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
<h2 class="text-primary font-aeonik-pro text-5xl">
1616
The Appwrite Network<span class="text-accent">_</span>
1717
</h2>
18-
<p class="text-description text-secondary max-w-[90%] font-medium md:max-w-[40%]">
18+
<p
19+
class="text-description text-secondary max-w-[90%] font-medium md:max-w-[75%] lg:max-w-[40%]"
20+
>
1921
Pick one of our many cloud regions or edges to meet your project's needs and reduce
2022
latency.
2123
</p>

src/routes/(marketing)/(components)/pricing.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<div class="mt-4 flex flex-col gap-2 lg:flex-row">
6868
<Button
6969
href={getAppwriteDashboardUrl()}
70-
class="w-full! md:w-fit!"
70+
class="w-full! lg:w-fit!"
7171
onclick={() => {
7272
trackEvent(`pricing-get-started-click`);
7373
}}>Start building for free</Button
@@ -77,7 +77,7 @@
7777
trackEvent(`pricing-view-plans-click`);
7878
}}
7979
href="/pricing"
80-
class="w-full! md:w-fit!"
80+
class="w-full! lg:w-fit!"
8181
variant="secondary">View pricing plans</Button
8282
>
8383
</div>
@@ -88,7 +88,7 @@
8888
>
8989
{#each plans as { name, price, tag: label, subtitle, description, event }}
9090
{@const isEnterprise = name === 'Enterprise'}
91-
<div class="flex h-full w-full grow flex-col gap-1 px-5 py-5 md:pb-0">
91+
<div class="flex h-full w-full grow flex-col gap-1 px-5 py-5 md:py-0">
9292
<div class="flex items-center gap-2.5">
9393
<span class="text-description text-secondary font-medium">{name}</span>
9494
{#if label}

src/routes/(marketing)/(components)/scale.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
use:visible
9494
>
9595
<div class="relative z-10 container w-fit md:w-full">
96-
<div class="mt-12 max-w-xl">
96+
<div class="mt-12 md:max-w-xl">
9797
<h2 class="text-primary font-aeonik-pro text-5xl tracking-tighter text-pretty">
9898
Thousands of developers <span class="text-secondary">scale with Appwrite</span><span
9999
class="text-accent">_</span

0 commit comments

Comments
 (0)