Skip to content

Commit

Permalink
fixed lighthouse reported problems
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousCI committed Apr 9, 2023
1 parent 79a7585 commit 3ae30de
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 75 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,8 @@ h2 {
.md\:h-20{
height: 5rem;
}
.md\:max-h-\[70vh\]{
max-height: 70vh;
.md\:max-h-\[40vh\]{
max-height: 40vh;
}
.md\:w-\[48\%\]{
width: 48%;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { _ } from "./_layout-324900b4.js";
import { default as default2 } from "../components/pages/_layout.svelte-c7778512.js";
import { default as default2 } from "../components/pages/_layout.svelte-36e52ff8.js";
export {
default2 as component,
_ as universal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { default as default2 } from "../components/pages/_page.svelte-e054562e.js";
import { default as default2 } from "../components/pages/_page.svelte-df61d1b0.js";
export {
default2 as component
};
Original file line number Diff line number Diff line change
Expand Up @@ -311,19 +311,19 @@ function create_default_slot_3(ctx) {
if (!src_url_equal(img0.src, img0_src_value = "muay-thai-lethwei.webp"))
attr(img0, "src", img0_src_value);
attr(img0, "alt", "World Zen");
attr(img0, "class", "max-h-screen md:max-h-[70vh] svelte-8fii8a");
attr(img0, "class", "max-h-screen md:max-h-[40vh] svelte-8fii8a");
if (!src_url_equal(img1.src, img1_src_value = "worldzen.webp"))
attr(img1, "src", img1_src_value);
attr(img1, "alt", "World Zen");
attr(img1, "class", "max-h-screen md:max-h-[70vh] svelte-8fii8a");
attr(img1, "class", "max-h-screen md:max-h-[40vh] svelte-8fii8a");
if (!src_url_equal(img2.src, img2_src_value = "m13k.webp"))
attr(img2, "src", img2_src_value);
attr(img2, "alt", "M13K");
attr(img2, "class", "max-h-screen md:max-h-[70vh] svelte-8fii8a");
attr(img2, "class", "max-h-screen md:max-h-[40vh] svelte-8fii8a");
if (!src_url_equal(img3.src, img3_src_value = "insta.webp"))
attr(img3, "src", img3_src_value);
attr(img3, "alt", "Instagram");
attr(img3, "class", "max-h-screen md:max-h-[70vh] svelte-8fii8a");
attr(img3, "class", "max-h-screen md:max-h-[40vh] svelte-8fii8a");
},
m(target, anchor) {
insert_hydration(target, img0, anchor);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -900,9 +900,9 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) {
};
const matchers = {};
const nodes = [
() => __vitePreload(() => import("./chunks/0-eedf93b1.js"), true ? ["./chunks\\0-eedf93b1.js","./chunks\\_layout-324900b4.js","./components\\pages\\_layout.svelte-c7778512.js","./chunks\\index-2f3863e0.js","./assets\\_layout-cd9e057d.css"] : void 0, import.meta.url),
() => __vitePreload(() => import("./chunks/0-c25cf430.js"), true ? ["./chunks\\0-c25cf430.js","./chunks\\_layout-324900b4.js","./components\\pages\\_layout.svelte-36e52ff8.js","./chunks\\index-2f3863e0.js","./assets\\_layout-efdd34b8.css"] : void 0, import.meta.url),
() => __vitePreload(() => import("./chunks/1-a0913cfa.js"), true ? ["./chunks\\1-a0913cfa.js","./components\\error.svelte-8a09f666.js","./chunks\\index-2f3863e0.js","./chunks\\singletons-95c5733a.js"] : void 0, import.meta.url),
() => __vitePreload(() => import("./chunks/2-ff2d4f12.js"), true ? ["./chunks\\2-ff2d4f12.js","./components\\pages\\_page.svelte-e054562e.js","./chunks\\index-2f3863e0.js","./assets\\_page-6123fc05.css"] : void 0, import.meta.url)
() => __vitePreload(() => import("./chunks/2-50a95d77.js"), true ? ["./chunks\\2-50a95d77.js","./components\\pages\\_page.svelte-df61d1b0.js","./chunks\\index-2f3863e0.js","./assets\\_page-6123fc05.css"] : void 0, import.meta.url)
];
const server_loads = [];
const dictionary = {
Expand Down
2 changes: 1 addition & 1 deletion docs/_app/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"1681065308981"}
{"version":"1681066073090"}
54 changes: 18 additions & 36 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,6 @@

<title>World Zen</title>

<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" />
<!-- <link rel="stylesheet" -->
<!-- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" /> -->
<meta name="description" content="Put your description here.">

<!-- "logo" : "https://fanglawfirm.com/wp-content/uploads/2018/12/hero_logo-01.svg", -->
<!-- "image" : "https://fanglawfirm.com/wp-content/uploads/2018/12/hero_logo-01.svg", -->
<!-- "telephone": " (303) 993-4323", -->
<!-- "openingHours" : "Mo-Sa 08:00-19:00, Sun 12:00-16:00", -->
<!-- "address": -->
<!-- { -->
<!-- "@type": "PostalAddress", -->
<!-- "streetAddress": "1515 Wynkoop Street #360", -->
<!-- "addressLocality": "Denver", -->
<!-- "addressRegion": "CO", -->
<!-- "postalCode": "80202", -->
<!-- "addressCountry": "USA" -->
<!-- }, -->
<!-- "url" : "https://worldzen.it", -->
<script type="application/ld+json">
{
"@context": "http://schema.org/",
Expand All @@ -46,25 +26,27 @@
]
}
</script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9406040528414499"
crossorigin="anonymous"></script>
<!-- <script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script> -->
<!-- <script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script> -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9406040528414499"
crossorigin="anonymous"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9406040528414499"
crossorigin="anonymous"></script>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" />

<!-- <link rel="stylesheet" -->
<!-- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" /> -->

<meta http-equiv="content-security-policy" content="">
<link href="./_app/immutable/assets/_layout-cd9e057d.css" rel="stylesheet">
<link href="./_app/immutable/assets/_layout-efdd34b8.css" rel="stylesheet">
<link href="./_app/immutable/assets/_page-6123fc05.css" rel="stylesheet">
<link rel="modulepreload" href="./_app/immutable/start-b4cedbff.js">
<link rel="modulepreload" href="./_app/immutable/start-2960f77c.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index-2f3863e0.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons-95c5733a.js">
<link rel="modulepreload" href="./_app/immutable/components/pages/_layout.svelte-c7778512.js">
<link rel="modulepreload" href="./_app/immutable/components/pages/_layout.svelte-36e52ff8.js">
<link rel="modulepreload" href="./_app/immutable/modules/pages/_layout.ts-5dd4d445.js">
<link rel="modulepreload" href="./_app/immutable/chunks/_layout-324900b4.js">
<link rel="modulepreload" href="./_app/immutable/components/pages/_page.svelte-e054562e.js">
<link rel="modulepreload" href="./_app/immutable/components/pages/_page.svelte-df61d1b0.js">
</head>

<body data-sveltekit-preload-data="hover">
Expand All @@ -84,10 +66,10 @@

<section class="w-full min-h-min p-10 bg-gradient-to-tr from-black to-red-900"><a href="https://app.worldzen.it"><h1 class="text-5xl mb-10 font-bold">Corsi
<span class="material-symbols-outlined text-5xl relative top-2">sports_martial_arts</span></h1></a>
<div class="w-full flex flex-wrap justify-center md:justify-start items-center gap-4"><img src="muay-thai-lethwei.webp" alt="World Zen" class="max-h-screen md:max-h-[70vh] svelte-8fii8a">
<img src="worldzen.webp" alt="World Zen" class="max-h-screen md:max-h-[70vh] svelte-8fii8a">
<img src="m13k.webp" alt="M13K" class="max-h-screen md:max-h-[70vh] svelte-8fii8a">
<img src="insta.webp" alt="Instagram" class="max-h-screen md:max-h-[70vh] svelte-8fii8a"></div></section>
<div class="w-full flex flex-wrap justify-center md:justify-start items-center gap-4"><img src="muay-thai-lethwei.webp" alt="World Zen" class="max-h-screen md:max-h-[40vh] svelte-8fii8a">
<img src="worldzen.webp" alt="World Zen" class="max-h-screen md:max-h-[40vh] svelte-8fii8a">
<img src="m13k.webp" alt="M13K" class="max-h-screen md:max-h-[40vh] svelte-8fii8a">
<img src="insta.webp" alt="Instagram" class="max-h-screen md:max-h-[40vh] svelte-8fii8a"></div></section>

<section class="w-full min-h-min p-10 bg-gradient-to-br from-black to-red-900"><a href="https://app.worldzen.it"><h1 class="text-5xl mb-10 font-bold">Contatti
<span class="material-symbols-outlined text-5xl relative top-2">call</span></h1></a>
Expand Down Expand Up @@ -125,14 +107,14 @@ <h2 class="text-3xl font-bold">Kru<i>Bryan Carfagna </i>:</h2>
<ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-9406040528414499" data-ad-slot="5257041353" data-ad-format="auto" data-full-width-responsive="true"></ins>


<script type="module" data-sveltekit-hydrate="a3goeb">
import { start } from "./_app/immutable/start-b4cedbff.js";
<script type="module" data-sveltekit-hydrate="10cz04j">
import { start } from "./_app/immutable/start-2960f77c.js";

start({
assets: "",
env: {},
target: document.querySelector('[data-sveltekit-hydrate="a3goeb"]').parentNode,
version: "1681065308981",
target: document.querySelector('[data-sveltekit-hydrate="10cz04j"]').parentNode,
version: "1681066073090",
hydrate: {
node_ids: [0, 2],
data: [null,null],
Expand Down
30 changes: 6 additions & 24 deletions src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,6 @@

<title>World Zen</title>

<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" />
<!-- <link rel="stylesheet" -->
<!-- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" /> -->
<meta name="description" content="Put your description here.">

<!-- "logo" : "https://fanglawfirm.com/wp-content/uploads/2018/12/hero_logo-01.svg", -->
<!-- "image" : "https://fanglawfirm.com/wp-content/uploads/2018/12/hero_logo-01.svg", -->
<!-- "telephone": " (303) 993-4323", -->
<!-- "openingHours" : "Mo-Sa 08:00-19:00, Sun 12:00-16:00", -->
<!-- "address": -->
<!-- { -->
<!-- "@type": "PostalAddress", -->
<!-- "streetAddress": "1515 Wynkoop Street #360", -->
<!-- "addressLocality": "Denver", -->
<!-- "addressRegion": "CO", -->
<!-- "postalCode": "80202", -->
<!-- "addressCountry": "USA" -->
<!-- }, -->
<!-- "url" : "https://worldzen.it", -->
<script type="application/ld+json">
{
"@context": "http://schema.org/",
Expand All @@ -46,14 +26,16 @@
]
}
</script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9406040528414499"
crossorigin="anonymous"></script>
<!-- <script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script> -->
<!-- <script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script> -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9406040528414499"
crossorigin="anonymous"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9406040528414499"
crossorigin="anonymous"></script>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" />

<!-- <link rel="stylesheet" -->
<!-- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" /> -->

%sveltekit.head%
</head>
Expand Down
8 changes: 4 additions & 4 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,18 @@
<img
src="muay-thai-lethwei.webp"
alt="World Zen"
class="max-h-screen md:max-h-[70vh]"
class="max-h-screen md:max-h-[40vh]"
/>
<img
src="worldzen.webp"
alt="World Zen"
class="max-h-screen md:max-h-[70vh]"
class="max-h-screen md:max-h-[40vh]"
/>
<img src="m13k.webp" alt="M13K" class="max-h-screen md:max-h-[70vh]" />
<img src="m13k.webp" alt="M13K" class="max-h-screen md:max-h-[40vh]" />
<img
src="insta.webp"
alt="Instagram"
class="max-h-screen md:max-h-[70vh]"
class="max-h-screen md:max-h-[40vh]"
/>
</Section>

Expand Down

0 comments on commit 3ae30de

Please sign in to comment.