back to dynamic adapter

This commit is contained in:
Adam Sobotka 2022-10-12 15:07:39 +02:00
rodič 6481475785
revize ad44ddc458
3 změnil soubory, kde provedl 2 přidání a 149 odebrání

Zobrazit soubor

@ -13,6 +13,7 @@
"devDependencies": {
"@playwright/test": "^1.25.0",
"@sveltejs/adapter-auto": "next",
"@sveltejs/adapter-static": "next",
"@sveltejs/kit": "next",
"autoprefixer": "^10.4.12",
"eslint": "^8.16.0",

Zobrazit soubor

@ -51,80 +51,6 @@
</div>
</div>
</section>
<section class="text-gray-400 body-font bg-black">
<div class="container px-5 pb-12 mx-auto">
<div class="flex flex-wrap -m-4">
<div class="xl:w-1/4 md:w-1/2 w-full p-4">
<div class="bg-gray-800 bg-opacity-40 p-6">
<picture>
<source srcSet="/venues/ih2.avif" type="image/avif" />
<source srcSet="/venues/ih2.jpg" type="image/jpeg" />
<img
decoding="async"
loading="lazy"
class="h-40 w-full object-cover object-center mb-6 grayscale hover:grayscale-0"
src="/venues/ih2.jpg"
alt="venue"
/>
</picture>
<h3 class="tracking-widest text-gray-400 text-xs font-medium title-font">ENTRY</h3>
<h2 class="text-lg text-white font-medium title-font mb-4">nevim</h2>
</div>
</div>
<div class="xl:w-1/4 md:w-1/2 w-full p-4">
<div class="bg-gray-800 bg-opacity-40 p-6">
<picture>
<source srcSet="/venues/ih3.avif" type="image/avif" />
<source srcSet="/venues/ih3.jpg" type="image/jpeg" />
<img
decoding="async"
loading="lazy"
class="h-40 w-full object-cover object-center mb-6 grayscale hover:grayscale-0"
src="/venues/ih3.jpg"
alt="venue"
/>
</picture>
<h3 class="tracking-widest text-gray-400 text-xs font-medium title-font">ROOM</h3>
<h2 class="text-lg text-white font-medium title-font mb-4">nevim</h2>
</div>
</div>
<div class="xl:w-1/4 md:w-1/2 w-full p-4">
<div class="bg-gray-800 bg-opacity-40 p-6">
<picture>
<source srcSet="/venues/ih4.avif" type="image/avif" />
<source srcSet="/venues/ih4.jpg" type="image/jpeg" />
<img
decoding="async"
loading="lazy"
class="h-40 w-full object-cover object-center mb-6 grayscale hover:grayscale-0"
src="/venues/ih4.jpg"
alt="venue"
/>
</picture>
<h3 class="tracking-widest text-gray-400 text-xs font-medium title-font">CONFERENCE</h3>
<h2 class="text-lg text-white font-medium title-font mb-4">nevim</h2>
</div>
</div>
<div class="xl:w-1/4 md:w-1/2 w-full p-4">
<div class="bg-gray-800 bg-opacity-40 p-6">
<picture>
<source srcSet="/venues/ih5.avif" type="image/avif" />
<source srcSet="/venues/ih5.jpg" type="image/jpeg" />
<img
decoding="async"
loading="lazy"
class="h-40 w-full object-cover object-center mb-6 grayscale hover:grayscale-0"
src="/venues/ih5.jpg"
alt="venue"
/>
</picture>
<h3 class="tracking-widest text-gray-400 text-xs font-medium title-font">TERRACE</h3>
<h2 class="text-lg text-white font-medium title-font mb-4">něco</h2>
</div>
</div>
</div>
</div>
</section>
<section class="text-gray-400 bg-black body-font">
<div class="container mx-auto flex px-5 py-24 md:flex-row flex-col items-center">
<div class="lg:max-w-lg lg:w-full md:w-1/2 w-5/6 md:mb-0 mb-10">
@ -171,77 +97,3 @@
</div>
</div>
</section>
<section class="text-gray-400 body-font bg-black">
<div class="container px-5 pb-12 mx-auto">
<div class="flex flex-wrap -m-4">
<div class="xl:w-1/4 md:w-1/2 w-full p-4">
<div class="bg-gray-800 bg-opacity-40 p-6">
<picture>
<source srcSet="/venues/cc2.avif" type="image/avif" />
<source srcSet="/venues/cc2.jpg" type="image/jpeg" />
<img
decoding="async"
loading="lazy"
class="h-40 w-full object-cover object-center mb-6 grayscale hover:grayscale-0"
src="/venues/cc2.jpg"
alt="venue"
/>
</picture>
<h3 class="tracking-widest text-gray-400 text-xs font-medium title-font">ENTRY</h3>
<h2 class="text-lg text-white font-medium title-font mb-4">nevim</h2>
</div>
</div>
<div class="xl:w-1/4 md:w-1/2 w-full p-4">
<div class="bg-gray-800 bg-opacity-40 p-6">
<picture>
<source srcSet="/venues/cc3.avif" type="image/avif" />
<source srcSet="/venues/cc3.jpg" type="image/jpeg" />
<img
decoding="async"
loading="lazy"
class="h-40 w-full object-cover object-center mb-6 grayscale hover:grayscale-0"
src="/venues/cc3.jpg"
alt="venue"
/>
</picture>
<h3 class="tracking-widest text-gray-400 text-xs font-medium title-font">ROOM</h3>
<h2 class="text-lg text-white font-medium title-font mb-4">nevim</h2>
</div>
</div>
<div class="xl:w-1/4 md:w-1/2 w-full p-4">
<div class="bg-gray-800 bg-opacity-40 p-6">
<picture>
<source srcSet="/venues/cc4.avif" type="image/avif" />
<source srcSet="/venues/cc4.jpg" type="image/jpeg" />
<img
decoding="async"
loading="lazy"
class="h-40 w-full object-cover object-center mb-6 grayscale hover:grayscale-0"
src="/venues/cc4.jpg"
alt="venue"
/>
</picture>
<h3 class="tracking-widest text-gray-400 text-xs font-medium title-font">CONFERENCE</h3>
<h2 class="text-lg text-white font-medium title-font mb-4">nevim</h2>
</div>
</div>
<div class="xl:w-1/4 md:w-1/2 w-full p-4">
<div class="bg-gray-800 bg-opacity-40 p-6">
<picture>
<source srcSet="/venues/cc5.avif" type="image/avif" />
<source srcSet="/venues/cc5.jpg" type="image/jpeg" />
<img
decoding="async"
loading="lazy"
class="h-40 w-full object-cover object-center mb-6 grayscale hover:grayscale-0"
src="/venues/cc5.jpg"
alt="venue"
/>
</picture>
<h3 class="tracking-widest text-gray-400 text-xs font-medium title-font">WORKING</h3>
<h2 class="text-lg text-white font-medium title-font mb-4">něco</h2>
</div>
</div>
</div>
</div>
</section>

Zobrazit soubor

@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-static';
import adapter from '@sveltejs/adapter-auto';
import preprocess from "svelte-preprocess";
/** @type {import('@sveltejs/kit').Config} */