Skip to content

Commit

Permalink
Built
Browse files Browse the repository at this point in the history
  • Loading branch information
TommasoPrinetti committed Jan 20, 2025
1 parent c64f67b commit 571a7e7
Show file tree
Hide file tree
Showing 11 changed files with 120 additions and 86 deletions.
2 changes: 1 addition & 1 deletion .svelte-kit/generated/server/internal.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const options = {
app: ({ head, body, assets, nonce, env }) => "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n " + head + "\n\n <noscript>\n <style>\n /**\n * Reinstate scrolling for non-JS clients\n */\n .simplebar-content-wrapper {\n scrollbar-width: auto;\n -ms-overflow-style: auto;\n }\n\n .simplebar-content-wrapper::-webkit-scrollbar,\n .simplebar-hide-scrollbar::-webkit-scrollbar {\n display: initial;\n width: initial;\n height: initial;\n }\n </style>\n </noscript>\n </head>\n <body data-sveltekit-preload-data=\"hover\">\n <div class=\"major_div\" style=\"display: contents\">" + body + "</div>\n </body>\n</html>\n\n<style></style>\n",
error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<title>" + message + "</title>\n\n\t\t<style>\n\t\t\tbody {\n\t\t\t\t--bg: white;\n\t\t\t\t--fg: #222;\n\t\t\t\t--divider: #ccc;\n\t\t\t\tbackground: var(--bg);\n\t\t\t\tcolor: var(--fg);\n\t\t\t\tfont-family:\n\t\t\t\t\tsystem-ui,\n\t\t\t\t\t-apple-system,\n\t\t\t\t\tBlinkMacSystemFont,\n\t\t\t\t\t'Segoe UI',\n\t\t\t\t\tRoboto,\n\t\t\t\t\tOxygen,\n\t\t\t\t\tUbuntu,\n\t\t\t\t\tCantarell,\n\t\t\t\t\t'Open Sans',\n\t\t\t\t\t'Helvetica Neue',\n\t\t\t\t\tsans-serif;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t.error {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmax-width: 32rem;\n\t\t\t\tmargin: 0 1rem;\n\t\t\t}\n\n\t\t\t.status {\n\t\t\t\tfont-weight: 200;\n\t\t\t\tfont-size: 3rem;\n\t\t\t\tline-height: 1;\n\t\t\t\tposition: relative;\n\t\t\t\ttop: -0.05rem;\n\t\t\t}\n\n\t\t\t.message {\n\t\t\t\tborder-left: 1px solid var(--divider);\n\t\t\t\tpadding: 0 0 0 1rem;\n\t\t\t\tmargin: 0 0 0 1rem;\n\t\t\t\tmin-height: 2.5rem;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\n\t\t\t.message h1 {\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t@media (prefers-color-scheme: dark) {\n\t\t\t\tbody {\n\t\t\t\t\t--bg: #222;\n\t\t\t\t\t--fg: #ddd;\n\t\t\t\t\t--divider: #666;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div class=\"error\">\n\t\t\t<span class=\"status\">" + status + "</span>\n\t\t\t<div class=\"message\">\n\t\t\t\t<h1>" + message + "</h1>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n</html>\n"
},
version_hash: "aebfub"
version_hash: "qq4wkz"
};

export async function get_hooks() {
Expand Down
3 changes: 2 additions & 1 deletion .svelte-kit/output/server/.vite/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@
"_app/immutable/assets/qualifying.xyV88Pxw.webp",
"_app/immutable/assets/qualifying.DbZTSVnW.jpeg",
"_app/immutable/assets/qualifying.Dlmd4Baz.jpeg",
"_app/immutable/assets/CIRCLE.CC6PWjGr.svg",
"_app/immutable/assets/enhanced_logoImage.BVKc8-Qg.avif",
"_app/immutable/assets/enhanced_logoImage.Qfmesbrl.avif",
"_app/immutable/assets/enhanced_logoImage.Cbf4PYtl.webp",
Expand All @@ -530,7 +531,7 @@
"_escaping.js"
],
"css": [
"_app/immutable/assets/_page.CCvGm7zw.css"
"_app/immutable/assets/_page.DBYAb7Al.css"
]
}
}
2 changes: 1 addition & 1 deletion .svelte-kit/output/server/chunks/internal.js
Original file line number Diff line number Diff line change
Expand Up @@ -1491,7 +1491,7 @@ const options = {
<div class="error">
<span class="status">` + status + '</span>\n <div class="message">\n <h1>' + message + "</h1>\n </div>\n </div>\n </body>\n</html>\n"
},
version_hash: "cg81kj"
version_hash: "qq4wkz"
};
async function get_hooks() {
let handle;
Expand Down
142 changes: 88 additions & 54 deletions .svelte-kit/output/server/entries/pages/_page.server.js

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions .svelte-kit/output/server/entries/pages/_page.svelte.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ function Capitols($$payload, $$props) {
let isProjCover = data.isProjCover;
if (isProjCover === false) {
$$payload.out += "<!--[-->";
const each_array_1 = ensure_array_like(data.Content);
$$payload.out += `<section class="card_container svelte-ix5yqz" draggable="true" aria-label="Draggable Card"${attr("data-section", data.Title)}><p class="h0 svelte-ix5yqz" style="z-index: 7;">${escape_html(data.Title)}</p> <p class="caption svelte-ix5yqz">BLOCK ${escape_html(data.IndexNum)}</p> <img data-sveltekit-preload-data="" class="card_corner_logo svelte-ix5yqz"${attr("src", condensed_logo)} alt="EL2MP Logo"> <div class="description_container svelte-ix5yqz"${attr("style", `background-color: ${stringify(data.bgColor)}; border: 5px solid ${stringify(data.bgColor)};`)}><p class="h4 svelte-ix5yqz" id="description">${escape_html(data.Description)}</p></div> <div class="card_scrollable_container svelte-ix5yqz" data-simplebar="" data-simplebar-auto-hide="false"${attr("data-section", data.Title)}><div class="card_scroll_flex svelte-ix5yqz"${attr("data-section", data.Title)}>`;
const each_array_1 = ensure_array_like(data.Content ?? []);
$$payload.out += `<section class="card_container svelte-1iqw5gb" draggable="true" aria-label="Draggable Card"${attr("data-section", data.Title)}><p class="h0 svelte-1iqw5gb" style="z-index: 7;">${escape_html(data.Title)}</p> <p class="caption svelte-1iqw5gb">BLOCK ${escape_html(data.IndexNum)}</p> <img data-sveltekit-preload-data="" class="card_corner_logo svelte-1iqw5gb"${attr("src", condensed_logo)} alt="EL2MP Logo"> <div class="description_container svelte-1iqw5gb"${attr("style", `background-color: ${stringify(data.bgColor)}; border: 5px solid ${stringify(data.bgColor)};`)}><p class="h4 svelte-1iqw5gb" id="description">${escape_html(data.Description)}</p></div> <div class="card_scrollable_container svelte-1iqw5gb" data-simplebar="" data-simplebar-auto-hide="false"${attr("data-section", data.Title)}><div class="card_scroll_flex svelte-1iqw5gb"${attr("data-section", data.Title)}>`;
if (data.CoverImg) {
$$payload.out += "<!--[-->";
$$payload.out += `<div class="duotone_container">`;
Expand All @@ -55,7 +55,7 @@ function Capitols($$payload, $$props) {
$$payload.out += "<!--[-->";
for (let index = 0, $$length = each_array_1.length; index < $$length; index++) {
let section = each_array_1[index];
$$payload.out += `<div class="section_container svelte-ix5yqz" data-sveltekit-preload-data=""${attr("data-section", `Ex ${index + 1}`)}>`;
$$payload.out += `<div class="section_container svelte-1iqw5gb" data-sveltekit-preload-data=""${attr("data-section", `Ex ${index + 1}`)}>`;
if (section.subtitle) {
$$payload.out += "<!--[-->";
$$payload.out += `<p class="h4">${escape_html(section.subtitle)}</p>`;
Expand All @@ -67,7 +67,7 @@ function Capitols($$payload, $$props) {
$$payload.out += "<!--[-->";
if (typeof section.picture === "string") {
$$payload.out += "<!--[-->";
$$payload.out += `<img data-sveltekit-preload-data="" class="article_image svelte-ix5yqz"${attr("src", section.picture.img.src)} alt="People"${attr("width", section.picture.img.w)}${attr("height", section.picture.img.h)}>`;
$$payload.out += `<img data-sveltekit-preload-data="" class="article_image svelte-1iqw5gb"${attr("src", section.picture.img.src)} alt="People"${attr("width", section.picture.img.w)}${attr("height", section.picture.img.h)}>`;
} else {
$$payload.out += "<!--[!-->";
const each_array_2 = ensure_array_like(Object.entries(section.picture.sources));
Expand All @@ -76,7 +76,7 @@ function Capitols($$payload, $$props) {
let [format, srcset] = each_array_2[$$index_1];
$$payload.out += `<source${attr("srcset", srcset)}${attr("type", "image/" + format)}>`;
}
$$payload.out += `<!--]--> <img data-sveltekit-preload-data="" class="article_image svelte-ix5yqz"${attr("src", section.picture.img.src)} alt="People"${attr("width", section.picture.img.w)}${attr("height", section.picture.img.h)}></picture>`;
$$payload.out += `<!--]--> <img data-sveltekit-preload-data="" class="article_image svelte-1iqw5gb"${attr("src", section.picture.img.src)} alt="People"${attr("width", section.picture.img.w)}${attr("height", section.picture.img.h)}></picture>`;
}
$$payload.out += `<!--]-->`;
} else {
Expand All @@ -98,7 +98,7 @@ function Capitols($$payload, $$props) {
$$payload.out += `<!--]--></div></div></section>`;
} else {
$$payload.out += "<!--[!-->";
$$payload.out += `<section class="card_container svelte-ix5yqz" id="cover_description" draggable="true" style="color: white;"><p class="h0 svelte-ix5yqz">${escape_html(data.Title)}</p> <img class="card_corner_logo svelte-ix5yqz" style="position: absolute; left: 0; bottom: 0; width: 25%; opacity: 1;"${attr("src", condensed_logo)} alt="EL2MP Logo"> <div class="card_scrollable_container svelte-ix5yqz"><div class="card_scroll_flex svelte-ix5yqz"><p class="h4">${escape_html(data.Description)}</p></div></div> <a class="x_arrow svelte-ix5yqz"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 21 21" fill="none"><path d="M1 1L20 20M1 20L20 1" stroke="white" stroke-width="2"></path></svg></a></section>`;
$$payload.out += `<section class="card_container svelte-1iqw5gb" id="cover_description" draggable="true" style="color: white;"><p class="h0 svelte-1iqw5gb">${escape_html(data.Title)}</p> <img class="card_corner_logo svelte-1iqw5gb" style="position: absolute; left: 0; bottom: 0; width: 25%; opacity: 1;"${attr("src", condensed_logo)} alt="EL2MP Logo"> <div class="card_scrollable_container svelte-1iqw5gb"><div class="card_scroll_flex svelte-1iqw5gb"><p class="h4">${escape_html(data.Description)}</p></div></div> <a class="x_arrow svelte-1iqw5gb"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 21 21" fill="none"><path d="M1 1L20 20M1 20L20 1" stroke="white" stroke-width="2"></path></svg></a></section>`;
}
$$payload.out += `<!--]-->`;
bind_props($$props, {
Expand Down Expand Up @@ -128,7 +128,7 @@ function Position_marker_button($$payload, $$props) {
return allExercises.indexOf(ex) <= currentIndex;
});
const each_array = ensure_array_like(exercises);
$$payload.out += `<button class="position_button svelte-ysxopc"><p class="s1">${escape_html(selectedCardTitle)}</p> <p class="s1">/</p> <!--[-->`;
$$payload.out += `<button class="position_button svelte-1c8sxos"><p class="s1">${escape_html(selectedCardTitle)}</p> <p class="s1">/</p> <!--[-->`;
for (let index = 0, $$length = each_array.length; index < $$length; index++) {
let exercise = each_array[index];
$$payload.out += `<p class="s1">${escape_html(exercise.label)}</p> `;
Expand All @@ -145,13 +145,13 @@ function Position_marker_button($$payload, $$props) {
}
function Reset_button($$payload, $$props) {
let reset_function = $$props["reset_function"];
$$payload.out += `<button class="reset_button svelte-w2z4mc"><p class="s1">Reset everything!</p></button>`;
$$payload.out += `<button class="reset_button svelte-ph3ac6"><p class="s1">Reset everything!</p></button>`;
bind_props($$props, { reset_function });
}
function Time_button($$payload, $$props) {
let time = $$props["time"];
console.log("Current DateTime:", time);
$$payload.out += `<button class="time_button svelte-vk8p0k"><p class="s1">${escape_html(time)}</p></button>`;
$$payload.out += `<button class="time_button svelte-1r84moi"><p class="s1">${escape_html(time)}</p></button>`;
bind_props($$props, { time });
}
function Floating_card($$payload, $$props) {
Expand Down Expand Up @@ -320,7 +320,7 @@ function _page($$payload, $$props) {
const each_array_1 = ensure_array_like(Object.values(data.floatersDb));
$$payload.out += `<div class="content_container">`;
Logo_button($$payload, { data, switch_sidebar });
$$payload.out += `<!----> <section class="host"><button class="closing_icon svelte-b5cb45"><svg width="50px" height="50px" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M480-154.15 328.62-305.54l26.3-26.31L480-206.77l125.08-125.08 26.3 26.31L480-154.15ZM354.92-628.46l-26.3-26.31L480-806.15l151.38 151.38-26.3 26.31L480-753.54 354.92-628.46Z"></path></svg></button> `;
$$payload.out += `<!----> <section class="host"><button class="closing_icon svelte-hkz2rh"><svg width="50px" height="50px" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M480-154.15 328.62-305.54l26.3-26.31L480-206.77l125.08-125.08 26.3 26.31L480-154.15ZM354.92-628.46l-26.3-26.31L480-806.15l151.38 151.38-26.3 26.31L480-753.54 354.92-628.46Z"></path></svg></button> `;
Position_marker_button($$payload, {
data,
selectedCardTitle: activeMarker,
Expand Down Expand Up @@ -350,7 +350,7 @@ function _page($$payload, $$props) {
color: currentCardColor
});
}
$$payload.out += `<!--]--> <div class="mobile_desc_container svelte-b5cb45"><div class="mobile_text svelte-b5cb45"><p class="s1">This website is meant to be seen from a desktop device. <br> Meanwhile, if you need informations on what EL2MP is, read below:</p></div> <div class="mobile_description svelte-b5cb45"><p class="p2">${html(data.projectDescription)}</p></div></div></section></div> `;
$$payload.out += `<!--]--> <div class="mobile_desc_container svelte-hkz2rh"><div class="mobile_text svelte-hkz2rh"><p class="s1">This website is meant to be seen from a desktop device. <br> Meanwhile, if you need informations on what EL2MP is, read below:</p></div> <div class="mobile_description svelte-hkz2rh"><p class="p2">${html(data.projectDescription)}</p></div></div></section></div> `;
if (typeof data.backgroundImage === "string") {
$$payload.out += "<!--[-->";
$$payload.out += `<img class="background_image"${attr("src", data.backgroundImage.img.src)} alt="DotsDotsDots?"${attr("width", data.backgroundImage.img.w)}${attr("height", data.backgroundImage.img.h)}>`;
Expand Down
Loading

0 comments on commit 571a7e7

Please sign in to comment.