Compare commits
4 Commits
9c71629910
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 19208e00fe | |||
| 527285a487 | |||
| 2aef815c81 | |||
| ed25b0e8ba |
@@ -262,12 +262,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
yarn build
|
yarn build
|
||||||
|
|
||||||
- name: build admin
|
|
||||||
env:
|
|
||||||
FORCE_COLOR: "true"
|
|
||||||
run: |
|
|
||||||
yarn build:admin
|
|
||||||
|
|
||||||
- name: build ssr
|
- name: build ssr
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: "true"
|
FORCE_COLOR: "true"
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
delete tempForm[undefined]
|
delete tempForm[undefined]
|
||||||
context.smtp.sendMail({
|
context.smtp.sendMail({
|
||||||
to: "info@allkids-erfurt.de",
|
to: "info@allkids-erfurt.de",
|
||||||
from: "mail@webmakers.de",
|
from: "info@allkids-erfurt.de",
|
||||||
subject: "AllKids " + formTitle,
|
subject: "AllKids " + formTitle,
|
||||||
html: context.tpl.execute(context.fs.readFile("templates/form_mail.html"), {
|
html: context.tpl.execute(context.fs.readFile("templates/form_mail.html"), {
|
||||||
context: context,
|
context: context,
|
||||||
|
|||||||
22
esbuild.config.admin.js
Normal file
22
esbuild.config.admin.js
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
const config = require("./esbuild.config.js")
|
||||||
|
const svelteConfig = require("./svelte.config.js")
|
||||||
|
|
||||||
|
config.options.minify = false
|
||||||
|
config.options.entryPoints = ["./frontend/src/admin.ts"]
|
||||||
|
config.options.outfile = "./" + config.distDir + "/admin.mjs"
|
||||||
|
delete config.options.outdir
|
||||||
|
config.options.splitting = false
|
||||||
|
config.options.plugins = [
|
||||||
|
config.sveltePlugin({
|
||||||
|
compilerOptions: {
|
||||||
|
css: false,
|
||||||
|
hydratable: false,
|
||||||
|
dev: (process.argv?.length > 2 ? process.argv[2] : "build") !== "build",
|
||||||
|
},
|
||||||
|
preprocess: svelteConfig.preprocess,
|
||||||
|
cache: true,
|
||||||
|
}),
|
||||||
|
config.resolvePlugin,
|
||||||
|
]
|
||||||
|
|
||||||
|
module.exports = config
|
||||||
@@ -21,10 +21,7 @@
|
|||||||
>
|
>
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="icon">
|
<div class="icon">
|
||||||
<svg
|
<img id="mySvgObject{i}" src="{`${apiBaseURL}content/${pageId}/${col.iconInfoBoard.icon?.src}`}" />
|
||||||
id="mySvgObject{i}"
|
|
||||||
fill="var(--link-font-color)"
|
|
||||||
data-src="{`${apiBaseURL}content/${pageId}/${col.iconInfoBoard.icon?.src}`}"></svg>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="title">
|
<div class="title">
|
||||||
{col.iconInfoBoard.title}
|
{col.iconInfoBoard.title}
|
||||||
@@ -49,9 +46,9 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
.icon {
|
.icon {
|
||||||
width: 64px;
|
width: 48px;
|
||||||
height: 64px;
|
height: 48px;
|
||||||
svg {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
|
|||||||
Reference in New Issue
Block a user