Browse Source

restructured project (closes #5)

pull/21/head
Samuel Philipp 6 months ago
parent
commit
c89867c3d9
40 changed files with 19 additions and 35 deletions
  1. 8
      .eleventy.js
  2. 2
      package.json
  3. 8
      sites/de/404.md
  4. 8
      sites/en/404.md
  5. 0
      src/_data/services.json
  6. 0
      src/_data/site.js
  7. 0
      src/_data/strings.json
  8. 0
      src/_includes/layouts/base.njk
  9. 2
      src/_includes/layouts/home.njk
  10. 0
      src/_includes/layouts/services.njk
  11. 2
      src/_includes/profiles.html
  12. 0
      src/_includes/services-extended.html
  13. 0
      src/_includes/services-simple.html
  14. 0
      src/de/de.json
  15. 0
      src/de/imprint.html
  16. 0
      src/de/index.html
  17. 0
      src/de/privacy.html
  18. 0
      src/de/services.html
  19. 0
      src/de/services/connectivitycheck.md
  20. 0
      src/de/services/firefox-sync.md
  21. 0
      src/de/services/gitea.md
  22. 0
      src/de/services/invidious.md
  23. 0
      src/de/services/matrix.md
  24. 0
      src/de/services/searx.md
  25. 0
      src/en/en.json
  26. 0
      src/en/imprint.html
  27. 0
      src/en/index.html
  28. 0
      src/en/privacy.html
  29. 0
      src/en/services.html
  30. 0
      src/en/services/connectivitycheck.md
  31. 0
      src/en/services/firefox-sync.md
  32. 0
      src/en/services/gitea.md
  33. 0
      src/en/services/invidious.md
  34. 0
      src/en/services/matrix.md
  35. 0
      src/en/services/searx.md
  36. 0
      src/img/bg.png
  37. 0
      src/img/matrix.png
  38. 0
      src/img/samuel.png
  39. 0
      src/img/sp-codes.jpg
  40. 24
      src/scss/main.scss

8
.eleventy.js

@ -1,20 +1,20 @@
const eleventyNavigationPlugin = require("@11ty/eleventy-navigation");
module.exports = function(eleventyConfig) {
eleventyConfig.addWatchTarget("./scss/");
eleventyConfig.addWatchTarget("./src/scss/");
eleventyConfig.addPlugin(eleventyNavigationPlugin);
eleventyConfig.setUseGitIgnore(false);
eleventyConfig.addPassthroughCopy({
"img": "img",
"font": "font",
"src/img": "img",
"src/font": "font",
"node_modules/@fortawesome/fontawesome-free/webfonts/": "font",
"node_modules/flag-icon-css/flags/4x3/(de|us)*": "flags"
});
return {
dir: {
input: "sites",
input: "src",
includes: "_includes",
layouts: "_includes/layouts",
output: "dist"

2
package.json

@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "website for sp-codes.de",
"scripts": {
"compile-sass": "node-sass --output-style compressed --importer=node_modules/node-sass-tilde-importer scss/main.scss dist/css/main.css",
"compile-sass": "node-sass --output-style compressed --importer=node_modules/node-sass-tilde-importer src/scss/main.scss dist/css/main.css",
"watch:eleventy": "eleventy --serve",
"watch:sass": "npm run compile-sass -- --watch",
"start": "npm-run-all compile-sass --parallel watch:*",

8
sites/de/404.md

@ -1,8 +0,0 @@
---
layout: base.njk
key: 404
title: Nicht gefunden
---
# Nicht gefunden
Diese Seite existiert (noch) nicht. Schau später nochmal vorbei, oder fang von vorne an: [Home](/{{locale}}/)

8
sites/en/404.md

@ -1,8 +0,0 @@
---
layout: base.njk
key: 404
title: Not Found
---
# Not Found
This page does not exist (yet). Come back later or take a look at the beginning: [Home](/{{locale}}/)

sites/_data/services.json → src/_data/services.json

sites/_data/site.js → src/_data/site.js

sites/_data/strings.json → src/_data/strings.json

sites/_includes/layouts/base.njk → src/_includes/layouts/base.njk

sites/_includes/layouts/home.njk → src/_includes/layouts/home.njk

@ -3,7 +3,7 @@ layout: base.njk
---
<div class="row py-5">
<div class="col">
<img class="logo" src="/img/samuel.png">
<img class="logo" src="img/samuel.png">
</div>
</div>

sites/_includes/layouts/services.njk → src/_includes/layouts/services.njk

sites/_includes/profiles.html → src/_includes/profiles.html

@ -2,7 +2,7 @@
<div class="m-2"><a href="mailto:mail@sp-codes.de"><span
class="fas fa-fw fa-4x fa-envelope"></span></a></div>
<div class="m-2"><a href="https://matrix.to/#/@samuel-p:matrix.sp-codes.de">
<img class="matrix-icon" src="img/matrix.png" alt=""></a></div>
<img class="matrix-icon" src="../img/matrix.png" alt=""></a></div>
<div class="m-2"><a rel="me" href="https://social.tchncs.de/@samuel_p"><span
class="fab fa-fw fa-4x fa-mastodon"></span></a></div>
<div class="m-2"><a href="https://stackoverflow.com/users/9662601/samuel-p"><span

sites/_includes/services-extended.html → src/_includes/services-extended.html

sites/_includes/services-simple.html → src/_includes/services-simple.html

sites/de/de.json → src/de/de.json

sites/de/imprint.html → src/de/imprint.html

sites/de/index.html → src/de/index.html

sites/de/privacy.html → src/de/privacy.html

sites/de/services.html → src/de/services.html

sites/de/services/connectivitycheck.md → src/de/services/connectivitycheck.md

sites/de/services/firefox-sync.md → src/de/services/firefox-sync.md

sites/de/services/gitea.md → src/de/services/gitea.md

sites/de/services/invidious.md → src/de/services/invidious.md

sites/de/services/matrix.md → src/de/services/matrix.md

sites/de/services/searx.md → src/de/services/searx.md

sites/en/en.json → src/en/en.json

sites/en/imprint.html → src/en/imprint.html

sites/en/index.html → src/en/index.html

sites/en/privacy.html → src/en/privacy.html

sites/en/services.html → src/en/services.html

sites/en/services/connectivitycheck.md → src/en/services/connectivitycheck.md

sites/en/services/firefox-sync.md → src/en/services/firefox-sync.md

sites/en/services/gitea.md → src/en/services/gitea.md

sites/en/services/invidious.md → src/en/services/invidious.md

sites/en/services/matrix.md → src/en/services/matrix.md

sites/en/services/searx.md → src/en/services/searx.md

img/bg.png → src/img/bg.png

img/matrix.png → src/img/matrix.png

img/samuel.png → src/img/samuel.png

img/sp-codes.jpg → src/img/sp-codes.jpg

scss/main.scss → src/scss/main.scss

@ -1,18 +1,18 @@
@import "~bootstrap/scss/bootstrap-grid";
@import "~bootstrap/scss/bootstrap-reboot";
@import "~bootstrap/scss/utilities/align";
@import "~bootstrap/scss/utilities/spacing";
@import "~bootstrap/scss/utilities/display";
@import "~bootstrap/scss/utilities/text";
@import "~bootstrap/scss/utilities/float";
@import "node_modules/bootstrap/scss/bootstrap-grid";
@import "node_modules/bootstrap/scss/bootstrap-reboot";
@import "node_modules/bootstrap/scss/utilities/align";
@import "node_modules/bootstrap/scss/utilities/spacing";
@import "node_modules/bootstrap/scss/utilities/display";
@import "node_modules/bootstrap/scss/utilities/text";
@import "node_modules/bootstrap/scss/utilities/float";
$fa-font-path: "../font";
@import "~@fortawesome/fontawesome-free/scss/fontawesome";
@import "~@fortawesome/fontawesome-free/scss/solid";
@import "~@fortawesome/fontawesome-free/scss/brands";
@import "~@fortawesome/fontawesome-free/scss/regular";
@import "node_modules/@fortawesome/fontawesome-free/scss/fontawesome";
@import "node_modules/@fortawesome/fontawesome-free/scss/solid";
@import "node_modules/@fortawesome/fontawesome-free/scss/brands";
@import "node_modules/@fortawesome/fontawesome-free/scss/regular";
$flag-icon-rect-path: '';
@import "~flag-icon-css/sass/flag-icon";
@import "node_modules/flag-icon-css/sass/flag-icon";
html, body {
height: 100%;
Loading…
Cancel
Save