mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 10:51:36 +01:00
Create new root directory in web app for template styles
This commit is contained in:
@@ -20,6 +20,7 @@ let
|
|||||||
cp package.json $out/web-app
|
cp package.json $out/web-app
|
||||||
cp -r node_modules $out/web-app
|
cp -r node_modules $out/web-app
|
||||||
cp -r build/* $out/web-app
|
cp -r build/* $out/web-app
|
||||||
|
cp -r template-styles $out/web-app
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ const generateStaticFiles = async (websiteData: any, isPreview: boolean = true)
|
|||||||
await writeFile(join(uploadDir, "articles", `${articleFileName}.html`), articleFileContents);
|
await writeFile(join(uploadDir, "articles", `${articleFileName}.html`), articleFileContents);
|
||||||
}
|
}
|
||||||
|
|
||||||
const styles = await readFile(`${process.cwd()}/src/lib/templates/blog/styles.css`, {
|
const styles = await readFile(`${process.cwd()}/template-styles/blog-styles.css`, {
|
||||||
encoding: "utf-8"
|
encoding: "utf-8"
|
||||||
});
|
});
|
||||||
await writeFile(join(uploadDir, "styles.css"), styles);
|
await writeFile(join(uploadDir, "styles.css"), styles);
|
||||||
|
|||||||
@@ -15,4 +15,4 @@ svg,
|
|||||||
video {
|
video {
|
||||||
max-inline-size: 100%;
|
max-inline-size: 100%;
|
||||||
block-size: auto;
|
block-size: auto;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user