Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
54ec4c0
feat: open source and yomei reference page
phiaal Nov 24, 2020
48b6385
feat: missed screen
phiaal Nov 24, 2020
ae93004
feat: removed script tag
phiaal Nov 24, 2020
83b0dcb
feat: use roll up to build pproject; for pplugins like swiper
phiaal Nov 24, 2020
d18d662
feat: missed bullet timeline
phiaal Nov 29, 2020
7c0bb53
feat: updated sites
phiaal Nov 29, 2020
f3fd4fd
feat: small changes in swiper js
phiaal Nov 29, 2020
4e91df2
feat: initial how-we-work site
phiaal Nov 29, 2020
8c469f8
feat: updated styles of timeline
phiaal Nov 30, 2020
3525449
feat: symbols for timeline
phiaal Nov 30, 2020
1f864db
feat: updated pages
phiaal Nov 30, 2020
97fde55
feat: updated timeline; how-we-work
phiaal Nov 30, 2020
178629c
feat: how-we-work phases textblocks
phiaal Nov 30, 2020
be288fd
feat: how-we-work phases textblocks
phiaal Nov 30, 2020
2081e17
feat: updated yomei reference; example
phiaal Nov 30, 2020
0a242c6
feat: updated yomei reference; example
phiaal Nov 30, 2020
e40e607
feat: updated yomei reference; some removed bold texts
phiaal Nov 30, 2020
61911e1
feat: anforderungen small changes
phiaal Nov 30, 2020
337f267
feat: orderbucket reference initial; updates layouts
phiaal Dec 1, 2020
6325d00
feat: missing imports of swiper plugin; autoplay and pagination
phiaal Dec 1, 2020
80df43c
feat: updated swiper autoplay and default; updated layout
phiaal Dec 1, 2020
991d2f7
feat: updated how we work
phiaal Dec 21, 2020
9c9bd5c
feat: updated open source layout and content
phiaal Dec 21, 2020
53c6886
feat: updated navigation; text in how we work
phiaal Dec 22, 2020
be91432
feat: references
phiaal Dec 22, 2020
35c34df
feat: updated layout and some fixes
phiaal Dec 22, 2020
f5205af
feat: mobile device; some layout fixes
phiaal Dec 22, 2020
2c4efe0
fix: missing image
phiaal Jan 3, 2021
b4eeca4
fix: open source hero background
phiaal Jan 3, 2021
8f69543
fix: mobile table
phiaal Jan 3, 2021
e7d948f
fix: navigation shadow and oppacity
phiaal Feb 22, 2021
074e46b
fix: references; yomei oderbucket layout
phiaal Apr 6, 2021
03b0479
fix: references; yomei oderbucket layout
phiaal Apr 6, 2021
bffb8f7
feat: texts; typos; mobile-touch
phiaal Apr 6, 2021
84d4352
feat: typos; structure; open-source
phiaal Apr 6, 2021
314783b
fix: image references; yomei new screenshots without shadow and tiny png
phiaal Apr 12, 2021
601d696
fix: requirement
phiaal Apr 12, 2021
70847fa
fix: netlifly run build for rollup js build; swiper
phiaal Apr 12, 2021
8fb1464
fix: netlifly reverted; eleventy.js build:js
phiaal Apr 12, 2021
9e9937f
fix: build scrippts with build:js
phiaal Apr 12, 2021
47f52fe
fix: build scrippts with build:js
phiaal Apr 12, 2021
7cf8e7a
fix: yomei tiny; new screenshots; title image
phiaal Apr 12, 2021
70b73a4
fix: orderbucket tiny; new screenshots
phiaal Apr 12, 2021
72af4c2
fix: swiper pagination
phiaal Apr 12, 2021
ca54680
fix: yomei-reference image further reduced
phiaal Apr 12, 2021
8866c88
feat: website in ref; yomei and oderbucket
phiaal Apr 12, 2021
04520f7
fix: typos
phiaal Apr 12, 2021
9f1b1a8
fix: mobile view; specs and technologie
phiaal Apr 12, 2021
e2cd739
fix: technology stack
phiaal Apr 12, 2021
ac5a75b
fix: full height container
phiaal Apr 12, 2021
a05df79
fix: icons how-we-work in mobile
phiaal Apr 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 6 additions & 16 deletions .eleventy.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
const { DateTime } = require("luxon");
const fs = require("fs");
const { promises: fs, readFileSync } = require("fs");
const pluginRss = require("@11ty/eleventy-plugin-rss");
const pluginSyntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight");
const pluginNavigation = require("@11ty/eleventy-navigation");
const markdownIt = require("markdown-it");
const markdownItAnchor = require("markdown-it-anchor");
const pluginSass = require("eleventy-plugin-sass");
const htmlmin = require("html-minifier");

const { exec } = require("child_process");

module.exports = function(eleventyConfig) {

Expand Down Expand Up @@ -49,18 +49,8 @@ module.exports = function(eleventyConfig) {
return array.slice(0, n);
});

// compress and combine js files
eleventyConfig.addFilter("jsmin", function(code) {
const UglifyJS = require("uglify-js");
let minified = UglifyJS.minify(code);
if( minified.error ) {
console.log("UglifyJS error: ", minified.error);
return code;
}
return minified.code;
});

eleventyConfig.addPassthroughCopy("src/**/*.jpg");
eleventyConfig.addPassthroughCopy("src/**/*.jpeg");
eleventyConfig.addPassthroughCopy("src/**/*.ico");
eleventyConfig.addPassthroughCopy("src/**/*.png");
eleventyConfig.addPassthroughCopy("src/**/*.svg");
Expand All @@ -80,12 +70,11 @@ module.exports = function(eleventyConfig) {
// minify html
eleventyConfig.addTransform("htmlmin", function(content, outputPath) {
if( outputPath.endsWith(".html") ) {
let minified = htmlmin.minify(content, {
return htmlmin.minify(content, {
useShortDoctype: true,
removeComments: true,
collapseWhitespace: true
});
return minified;
}
return content;
});
Expand All @@ -96,13 +85,14 @@ module.exports = function(eleventyConfig) {
port: 5555,
callbacks: {
ready: function(err, browserSync) {
const content_404 = fs.readFileSync('_site/404/index.html');
const content_404 = readFileSync('_site/404/index.html');

browserSync.addMiddleware("*", (req, res) => {
// Provides the 404 content without redirect.
res.write(content_404);
res.end();
});
exec("npm run build:js");
}
}
});
Expand Down
1 change: 1 addition & 0 deletions .eleventyignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
README.md
_11ty/
tmp/
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build]
publish = "_site"
command = "DEBUG=* eleventy"
command = "npm run debug"
[[redirects]]
from = "/*"
to = "/404/"
Expand Down
15 changes: 13 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
"version": "2.0.0",
"description": "Static generator for company website",
"scripts": {
"build": "npx eleventy",
"build": "npx eleventy && npm run build:js",
"watch": "npx eleventy --watch",
"serve": "npx eleventy --serve",
"debug": "DEBUG=* npx eleventy"
"debug": "DEBUG=* eleventy && npm run build:js",
"build:js": "rollup -c"
},
"repository": {
"type": "git",
Expand All @@ -28,6 +29,16 @@
"luxon": "^1.25.0",
"markdown-it": "^8.4.2",
"markdown-it-anchor": "^5.3.0",
"rollup-plugin-terser": "^7.0.2",
"uglify-js": "^3.11.1"
},
"dependencies": {
"@babel/core": "^7.12.8",
"@babel/preset-env": "^7.12.7",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"aos": "^2.3.4",
"rollup": "^2.33.3",
"swiper": "^6.3.5"
}
}
18 changes: 18 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import nodeResolve from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import { terser } from "rollup-plugin-terser";

module.exports = {
input: "src/_js/main.js",
sourceMap: true,
plugins: [
nodeResolve(),
commonjs()
],
output: {
file: "_site/main.js",
format: "iife",
sourceMap: true,
plugins: [terser()]
}
};
17 changes: 15 additions & 2 deletions src/_includes/footer.njk
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@

<footer class="footer">
<div class="container">
<div class="columns is-vcentered">
<div class="column is-6">
<div class="columns">
<div class="column is-vcentered is-6">
<img class="small-footer-logo" src="/img/logo-light.png" alt="">
<p class="moto">made with ♥ in Hamburg &copy; 2020</p>
</div>
Expand All @@ -54,6 +54,19 @@
showExcerpt: false
}) | safe }}
</div>
<div class="column">
<h2>Unternehmen</h2>
{{ collections["footer_company"] | eleventyNavigation | eleventyNavigationToHtml({
listElement: "ul",
listItemElement: "li",

listClass: "footer-nav",
listItemClass: "footer-nav-link",
activeListItemClass: "active",
activeKey: eleventyNavigation.key,
showExcerpt: false
}) | safe }}
</div>
<div class="column">
<h2>Profile</h2>
<ul>
Expand Down
33 changes: 33 additions & 0 deletions src/_includes/layouts/base-fixed-hero.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ renderData.title or title or metadata.title }}</title>
<meta name="robots" content="index,follow">
<meta name="generator" content="Eleventy">
<meta name="Description" content="{{ renderData.description or description or metadata.description }}">
<meta property="og:type" content="website">
<meta property="og:title" content="{{ renderData.title or title or metadata.title }}">
<meta property="og:description" content="{{ renderData.description or description or metadata.description }}">
<meta property="og:image" content="{{ metadata.url }}/img/og-previews/{{ renderData.ogImage or ogImage or metadata.ogImage }}">
<link rel="shortcut icon" type="image/x-icon" href="/img/favicon.ico">
<link rel="stylesheet" href="{{ '/css/style.css' | url }}">
{% if embed %}{{ embed | safe }}{% endif %}
</head>
<body{% if templateClass %} class="{{ templateClass }}"{% endif %}>

{% include "navbar.njk" %}

{{ content | safe }}


<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<script src="/main.js"></script>

<script>
AOS.init();
</script>

</body>
</html>
11 changes: 5 additions & 6 deletions src/_includes/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@

{% include "footer.njk" %}

<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<script src="/main.js"></script>

{% set js %}
{% include "js/cookieconsent.js" %}
{% include "js/tracking.js" %}
{% include "js/main.js" %}
{% endset %}
<script>
AOS.init();
</script>

<script>{{ js | jsmin | safe }}</script>
</body>
</html>
24 changes: 22 additions & 2 deletions src/_includes/navbar.njk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

<div id="navbar-menu" class="navbar-menu">


{{ collections.main | eleventyNavigation | eleventyNavigationToHtml({
listElement: "div",
listItemElement: "div",
Expand All @@ -25,6 +24,27 @@
activeKey: eleventyNavigation.key,
showExcerpt: false
}) | safe }}
</div>


<div class="navbar-item has-dropdown is-hoverable is-mega">
<div class="navbar-link">
<p class="navbar-title">Unternehmen</p>
</div>
<div class="navbar-dropdown">
<div class="navbar-dropdown-content">
{{ collections.company | eleventyNavigation | eleventyNavigationToHtml({
listElement: "div",
listItemElement: "div",
listClass: "nav-block",
listItemClass: "navbar-item",
activeListItemClass: "active",
activeKey: eleventyNavigation.key,
showExcerpt: false
}) | safe }}
</div>
</div>
</div>

</div>
</div>
</nav>
File renamed without changes.
5 changes: 4 additions & 1 deletion src/_includes/js/main.js → src/_js/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
// {% raw %}
import "./cookieconsent";
import "./swiper";
import "./tracking";

// Event DOM ready
var callback = function(){
// trigger events on Dom ready.
Expand Down
27 changes: 27 additions & 0 deletions src/_js/swiper.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import Swiper, { Pagination, Autoplay} from 'swiper';

// configure Swiper to use modules
Swiper.use([Pagination, Autoplay]);

var swiperAuto = new Swiper('.swiper-autoplay', {
spaceBetween: 30,
centeredSlides: true,
autoplay: {
delay: 2500,
disableOnInteraction: false,
},
pagination: {
el: '.swiper-pagination',
clickable: true,
}
});

var swiper = new Swiper('.swiper-default', {
slidesPerView: 1,
spaceBetween: 30,
loop: true,
pagination: {
el: '.swiper-pagination',
clickable: true,
}
});
File renamed without changes.
6 changes: 3 additions & 3 deletions src/about/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
layout: layouts/home.njk
eleventyNavigation:
key: about
order: 50
title: Über uns
order: 50

date: Last Modified
tags:
- main
- footer
- company
- footer_company


title: rocketbase.io - Über uns
Expand Down
24 changes: 24 additions & 0 deletions src/css/_custom/_background.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@
text-shadow: 2px 2px 4px #fff, -2px -2px 4px #fff;
}

.collaborative-background-image {
@media all and (max-width: 800px) {
background-image: url("/open-source/opensource-collaboration.jpeg");
}
@media all and (min-width: 801px) {
background-image: url("/open-source/opensource-collaboration.jpeg");
}
@media all and (min-width: 1201px) {
background-image: url("/open-source/opensource-collaboration.jpeg");
}
background-size: cover;
text-shadow: 2px 2px 4px #fff, -2px -2px 4px #fff;
}

.team-background-image {
@media all and (max-width: 800px) {
background-image: url("../img/background/team-800.jpg");
Expand Down Expand Up @@ -48,6 +62,10 @@
margin: 80px 1.8vw 1.8vw 1.8vw;
}

.framed-margin-top {
margin: 53px 0;
}

.frame-1 {
background-image: url("../img/background/frame-1.svg");
background-size: 100% 100%;
Expand All @@ -63,10 +81,16 @@
}

.main-frame-wrapper {
height: 100%;
position: relative;
margin: -2px -2px -2px -2px;
}

.light-gray-bg {
background-color: $light-grey;
}

.overflow-section {
background-color: white;
position: relative;
}
Loading