feat: webseite-js

This commit is contained in:
Philippe Torrel
2026-07-03 13:07:49 +02:00
parent 9a1be89bd8
commit ddaae120a7
14 changed files with 1490 additions and 36 deletions

View File

@@ -0,0 +1,8 @@
{
"workbench.colorCustomizations": {
"titleBar.activeForeground": "#333",
"titleBar.activeBackground": "#4cc354",
"titleBar.inactiveForeground": "#ddd",
"titleBar.inactiveBackground": "#28862e"
}
}

View File

@@ -0,0 +1,5 @@
body {
background-color: #333;
}
/*# sourceMappingURL=main.css.map */

View File

@@ -0,0 +1 @@
{"version":3,"sourceRoot":"","sources":["../../dev/assets/scss/main.scss"],"names":[],"mappings":"AAIA;EACE,kBAHQ","file":"main.css"}

View File

@@ -0,0 +1,19 @@
'use strict';
(() => {
// === DOM & VARS =======
const DOM = {};
// === INIT =============
const init = () => {
console.log('init ...');
};
// === EVENTHANDLER =====
// === XHR/FETCH ========
// === FUNCTIONS ========
init();
})();

View File

@@ -0,0 +1,7 @@
// sass dev/assets/scss/main.scss:assets/css/main.css
$bgColor: #333;
body {
background-color: $bgColor;
}

View File

@@ -0,0 +1,18 @@
<!doctype html>
<html lang="de">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Webseite mit SASS</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="assets/css/main.css" />
<script src="assets/js/main.js" defer></script>
</head>
<body>
<main>
<div class="container py-5">
<h1>Webseite mit SASS</h1>
</div>
</main>
</body>
</html>

1100
webseite-sass-js/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,17 @@
{
"name": "webseite-sass",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"css": "sass dev/assets/scss/main.scss:assets/css/main.css -w"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "module",
"devDependencies": {
"http-server": "^14.1.1",
"sass": "^1.101.0"
}
}