Browse Source

restructured project (closes #5)

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

+ 4
- 4
.eleventy.js View File

@ -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"

+ 1
- 1
package.json View File

@ -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:*",

+ 0
- 8
sites/de/404.md View File

@ -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}}/)

+ 0
- 8
sites/en/404.md View File

@ -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 View File


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


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


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


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

@ -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 View File


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

@ -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 View File


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


sites/de/de.json → src/de/de.json View File


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


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


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


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


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


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


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


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


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


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


sites/en/en.json → src/en/en.json View File


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


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


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


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


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


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


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


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


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


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


img/bg.png → src/img/bg.png View File


img/matrix.png → src/img/matrix.png View File


img/samuel.png → src/img/samuel.png View File


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


scss/main.scss → src/scss/main.scss View File

@ -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