This commit is contained in:
Jesse Winton
2024-11-26 10:00:10 -05:00
parent 9361dd3629
commit 2da4791625
5 changed files with 43 additions and 52 deletions

View File

@@ -48,7 +48,7 @@
</script> </script>
<section <section
class="dark web-code-snippet mx-auto !max-w-[90vw] md:min-w-2xl" class="dark web-code-snippet mx-auto md:min-w-2xl lg:!max-w-[90vw]"
aria-label="code-snippet panel" aria-label="code-snippet panel"
style={`width: ${width ? width / 16 + 'rem' : 'inherit'}; height: ${ style={`width: ${width ? width / 16 + 'rem' : 'inherit'}; height: ${
height ? height / 16 + 'rem' : 'inherit' height ? height / 16 + 'rem' : 'inherit'

View File

@@ -39,7 +39,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="web-big-padding-section-level-2 light mt-20 !pt-0 pb-20"> <div class="web-big-padding-section-level-2 light mt-20 !-mb-8 !pt-0 pb-20">
<div class="container web-u-max-width-993"> <div class="container web-u-max-width-993">
<div class="mt-20 overflow-hidden"> <div class="mt-20 overflow-hidden">
<div <div

View File

@@ -0,0 +1,25 @@
<section class="container grid grid-cols-1 place-items-center gap-16 pt-20 md:grid-cols-2">
<div class="hidden md:block">
<img src="/images/pages/storage/product-shot-3.png" width="687" alt="" />
</div>
<div class="mx-auto max-w-[580px]">
<h2 class="text-title font-aeonik-pro text-primary">Optimized for small and large files</h2>
<p class="text-body mt-4 font-medium">
Appwrite offers chunked uploads for large files and several compression options for
optimized upload times.
</p>
<div class="mt-8 flex gap-2">
<a href="/" class="web-button is-secondary is-full-width-mobile">
<span class="text">Learn more</span>
</a>
</div>
</div>
<div class="block md:hidden">
<img
src="/images/pages/storage/product-shot-3.png"
width="100%"
alt=""
class="mx-auto block max-w-[580px]"
/>
</div>
</section>

View File

@@ -26,7 +26,7 @@
class="relative bg-right-top bg-no-repeat pt-32 pb-40 md:bg-[url(/images/bgs/mint-gradient.png)]" class="relative bg-right-top bg-no-repeat pt-32 pb-40 md:bg-[url(/images/bgs/mint-gradient.png)]"
> >
<section <section
class="container relative flex flex-col items-center justify-between gap-x-32 gap-y-12 md:flex-row" class="container relative grid grid-cols-1 items-center justify-between gap-x-16 gap-y-12 md:grid-cols-2"
> >
<div class="max-w-md"> <div class="max-w-md">
<h2 class="text-title font-aeonik-pro text-primary"> <h2 class="text-title font-aeonik-pro text-primary">

View File

@@ -14,6 +14,7 @@
import { PUBLIC_APPWRITE_DASHBOARD } from '$env/static/public'; import { PUBLIC_APPWRITE_DASHBOARD } from '$env/static/public';
import HeroImage from './(assets)/hero-image.png'; import HeroImage from './(assets)/hero-image.png';
import ProductCards from '$lib/components/product-pages/product-cards.svelte'; import ProductCards from '$lib/components/product-pages/product-cards.svelte';
import Optimized from './(components)/Optimized.svelte';
const title = 'Storage' + TITLE_SUFFIX; const title = 'Storage' + TITLE_SUFFIX;
const description = DEFAULT_DESCRIPTION; const description = DEFAULT_DESCRIPTION;
@@ -60,41 +61,15 @@
/> />
<PreviewFiles /> <PreviewFiles />
<div class="e-bg-image-pattern-bottom relative"> <div
<div> class="relative bg-[url('/images/pages/storage/pattern-1.png')] [background-size:1500px] [background-position:center_bottom_-50%] bg-no-repeat md:[background-size:1350px] md:[background-position:center_bottom]"
<section class="container hero-flipped web-u-padding-block-end-0"> >
<div class="web-is-only-desktop"> <Optimized />
<img src="/images/pages/storage/product-shot-3.png" width="687" alt="" />
</div>
<div class="web-u-max-width-580 mx-auto">
<h2 class="text-title font-aeonik-pro text-primary">
Optimized for small and large files
</h2>
<p class="web-main-body-500 mt-4">
Appwrite offers chunked uploads for large files and several compression
options for optimized upload times.
</p>
<div class="mt-8 flex gap-2">
<a href="/" class="web-button is-secondary is-full-width-mobile">
<span class="text">Learn more</span>
</a>
</div>
</div>
<div class="web-is-only-mobile">
<img
src="/images/pages/storage/product-shot-3.png"
width="100%"
alt=""
class="u-block web-u-max-width-580 mx-auto"
/>
</div>
</section>
</div>
<Permissions /> <Permissions />
</div> </div>
<div class="web-big-padding-section-level-1 web-white-section light relative"> <div class="web-big-padding-section-level-1 web-white-section light relative">
<div class="web-big-padding-section-level-2 max-sm:!py-20"> <div class="web-big-padding-section-level-2 max-lg:py-20">
<div class="container"> <div class="container">
<div class="web-hero is-center !max-w-xl"> <div class="web-hero is-center !max-w-xl">
<span class="web-badges web-eyebrow !text-white">Dashboard_</span> <span class="web-badges web-eyebrow !text-white">Dashboard_</span>
@@ -119,7 +94,7 @@
<div class="web-big-padding-section-level-2 !my-0"> <div class="web-big-padding-section-level-2 !my-0">
<div class="container"> <div class="container">
<div class="flex flex-col gap-8 md:flex-row"> <div class="flex flex-col gap-8 lg:flex-row">
<div class="flex flex-1 flex-col gap-8"> <div class="flex flex-1 flex-col gap-8">
<div class="web-u-max-width-580 mx-auto flex flex-col gap-2"> <div class="web-u-max-width-580 mx-auto flex flex-col gap-2">
<h3 class="web-main-body-500 web-u-color-text-primary"> <h3 class="web-main-body-500 web-u-color-text-primary">
@@ -171,17 +146,15 @@
<div <div
class="web-big-padding-section-level-1 web-white-section light bg-[url(/images/bgs/purple-gradient.png)] bg-left bg-no-repeat pb-20" class="web-big-padding-section-level-1 web-white-section light bg-[url(/images/bgs/purple-gradient.png)] bg-left bg-no-repeat pb-20"
> >
<div class="web-big-padding-section-level-2 !my-0 max-sm:py-20"> <div class="web-big-padding-section-level-2 !my-0 py-20">
<div class="container"> <div class="container">
<div class="web-grid-1-1 u-row-gap-64"> <div class="grid grid-cols-1 gap-16 lg:grid-cols-2">
<div class="web-hero is-align-start web-u-max-width-580 web-mx-auto-mobile"> <div class="web-hero is-align-start mb-12 md:mb-0">
<span class="web-badges web-eyebrow !text-white">APIs_</span> <span class="web-badges web-eyebrow !text-white">APIs_</span>
<h2 class="web-title web-u-color-text-primary web-u-max-width-380"> <h2 class="web-title text-primary">
What you can do with Storage APIs What you can do with Storage APIs
</h2> </h2>
<p <p class="text-body font-medium">
class="web-main-body-500 web-u-margin-block-start-0 web-u-max-width-380"
>
Appwrite's Storage APIs allow you to create and update your files, Appwrite's Storage APIs allow you to create and update your files,
apply image transformations, and more. apply image transformations, and more.
</p> </p>
@@ -198,7 +171,9 @@
</div> </div>
</div> </div>
</div> </div>
<div class="py-12">
<Testimonials /> <Testimonials />
</div>
<OpenSource /> <OpenSource />
</div> </div>
@@ -245,13 +220,4 @@
} }
} }
} }
.e-bg-image-pattern-bottom {
background: url('/images/pages/storage/pattern-1.png') no-repeat center bottom;
background-size: 1350px;
@media (max-width: 650px) {
background-size: 1500px;
background-position: center bottom -50%;
}
}
</style> </style>