refactorings
Some checks failed
deploy to production / deploy (push) Failing after 11s

This commit is contained in:
2025-10-05 14:04:52 +00:00
parent 2a5a5e2121
commit 3deb4fbad0
7 changed files with 1 additions and 114 deletions

View File

@@ -63,108 +63,6 @@
position: relative;
width: 100%;
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 {
display: flex;
justify-content: center;

View File

@@ -7,7 +7,7 @@
}
let chat = $derived(
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: {
"Content-Type": "application/json",
},

View File

@@ -1,2 +0,0 @@
export { WerkChatSession as Chat } from "@kontextwerk/web-sdk"
export type { ChatMessage, ChatOptions } from "@kontextwerk/web-sdk"

View File

@@ -59,9 +59,3 @@
</ProductCategoryFrame>
{/snippet}
</CrinkledSection>
<style lang="less">
section {
max-width: var(--small-max-width);
}
</style>