This commit is contained in:
@@ -10,7 +10,6 @@ config.options.plugins = [
|
|||||||
config.sveltePlugin({
|
config.sveltePlugin({
|
||||||
compilerOptions: {
|
compilerOptions: {
|
||||||
css: false,
|
css: false,
|
||||||
hydratable: false,
|
|
||||||
dev: (process.argv?.length > 2 ? process.argv[2] : "build") !== "build",
|
dev: (process.argv?.length > 2 ? process.argv[2] : "build") !== "build",
|
||||||
},
|
},
|
||||||
preprocess: svelteConfig.preprocess,
|
preprocess: svelteConfig.preprocess,
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ const svelteConfig = require("./svelte.config")
|
|||||||
const esbuildSvelte = sveltePlugin({
|
const esbuildSvelte = sveltePlugin({
|
||||||
compilerOptions: {
|
compilerOptions: {
|
||||||
css: "external",
|
css: "external",
|
||||||
hydratable: true,
|
|
||||||
dev: (process.argv?.length > 2 ? process.argv[2] : "build") !== "build",
|
dev: (process.argv?.length > 2 ? process.argv[2] : "build") !== "build",
|
||||||
},
|
},
|
||||||
preprocess: svelteConfig.preprocess,
|
preprocess: svelteConfig.preprocess,
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ config.options.plugins = [
|
|||||||
compilerOptions: {
|
compilerOptions: {
|
||||||
generate: "ssr",
|
generate: "ssr",
|
||||||
css: false,
|
css: false,
|
||||||
hydratable: true,
|
|
||||||
dev: (process.argv?.length > 2 ? process.argv[2] : "build") !== "build",
|
dev: (process.argv?.length > 2 ? process.argv[2] : "build") !== "build",
|
||||||
},
|
},
|
||||||
preprocess: svelteConfig.preprocess,
|
preprocess: svelteConfig.preprocess,
|
||||||
|
|||||||
@@ -63,108 +63,6 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
gap: 1.5rem;
|
gap: 1.5rem;
|
||||||
#content-section {
|
|
||||||
padding: 0px var(--horizontal-default-margin);
|
|
||||||
max-width: var(--small-max-width);
|
|
||||||
width: 100%;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
gap: 1.5rem;
|
|
||||||
align-items: flex-start;
|
|
||||||
justify-content: flex-start;
|
|
||||||
position: relative;
|
|
||||||
#content-link-section {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
gap: 1.5rem;
|
|
||||||
align-items: flex-start;
|
|
||||||
justify-content: flex-start;
|
|
||||||
flex: 1;
|
|
||||||
position: relative;
|
|
||||||
.content {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 1.125rem;
|
|
||||||
align-items: flex-start;
|
|
||||||
justify-content: flex-start;
|
|
||||||
width: 8rem;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media @mobile {
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: flex-start;
|
|
||||||
#content-link-section {
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#newsletter-section {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 18px;
|
|
||||||
min-width: 300px;
|
|
||||||
form {
|
|
||||||
button {
|
|
||||||
width: fit-content;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#icons-section {
|
|
||||||
padding: 0px var(--horizontal-default-margin);
|
|
||||||
max-width: var(--small-max-width);
|
|
||||||
width: 100%;
|
|
||||||
margin: 0 0 0 -0.0625rem;
|
|
||||||
display: flex;
|
|
||||||
gap: 0.625rem;
|
|
||||||
align-items: flex-start;
|
|
||||||
justify-content: flex-start;
|
|
||||||
flex: 1;
|
|
||||||
position: relative;
|
|
||||||
overflow: hidden;
|
|
||||||
.payments,
|
|
||||||
.social {
|
|
||||||
display: flex;
|
|
||||||
gap: 0.75rem;
|
|
||||||
figure {
|
|
||||||
height: 1.2rem;
|
|
||||||
img {
|
|
||||||
height: 100%;
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.line {
|
|
||||||
padding: 0rem 1.5rem 0rem 1.5rem;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
gap: 1.5rem;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: flex-start;
|
|
||||||
flex: 1;
|
|
||||||
position: relative;
|
|
||||||
overflow: hidden;
|
|
||||||
.line-1,
|
|
||||||
.line-2 {
|
|
||||||
border-style: solid;
|
|
||||||
border-color: var(--text-invers-100);
|
|
||||||
border-width: 0.0625rem 0 0 0;
|
|
||||||
flex: 1;
|
|
||||||
height: 0rem;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media @mobile {
|
|
||||||
flex-direction: column-reverse;
|
|
||||||
align-items: center;
|
|
||||||
gap: 2rem;
|
|
||||||
.line {
|
|
||||||
width: 100%;
|
|
||||||
padding: 0px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#legal-section {
|
#legal-section {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
}
|
}
|
||||||
let chat = $derived(
|
let chat = $derived(
|
||||||
new WerkChatSession(generateUniqueId(), {
|
new WerkChatSession(generateUniqueId(), {
|
||||||
url: "https://2schat-server.robins-spielwiese.de/api/v1/chatbot/stream",
|
url: "https://2schat-server.kontextwerk.info/api/v1/chatbot/stream",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
export { WerkChatSession as Chat } from "@kontextwerk/web-sdk"
|
|
||||||
export type { ChatMessage, ChatOptions } from "@kontextwerk/web-sdk"
|
|
||||||
@@ -59,9 +59,3 @@
|
|||||||
</ProductCategoryFrame>
|
</ProductCategoryFrame>
|
||||||
{/snippet}
|
{/snippet}
|
||||||
</CrinkledSection>
|
</CrinkledSection>
|
||||||
|
|
||||||
<style lang="less">
|
|
||||||
section {
|
|
||||||
max-width: var(--small-max-width);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user