Commit 815a5ac6 authored by nirgendswo's avatar nirgendswo

adding

parent 92abfc4a
This diff is collapsed.
# Allow crawling of all content
User-agent: *
Disallow: /assets/*
Disallow: /uploads/*
This source diff could not be displayed because it is too large. You can view the blob instead.
# humanstxt.org/
# The humans responsible & technology colophon
# TEAM
<name> -- <role> -- <twitter>
# THANKS
<name>
# TECHNOLOGY COLOPHON
CSS3, HTML5
Apache Server Configs, jQuery, Modernizr, Normalize.css
<div class="grid">
<div class="grid__col-xs-12 grid--justify-center">
<div class="content">
{!! $page->html() !!}
</div>
<div lass="github">
<a class="github-button" href="https://github.com/nirgendswo/fuzzy-cms/fork" data-icon="octicon-repo-forked" data-style="mega" aria-label="Fork nirgendswo/fuzzy-csm on GitHub">Fork</a>
<a class="github-button" href="https://github.com/nirgendswo/fuzzy-cms" data-icon="octicon-star" data-style="mega" aria-label="Star nirgendswo/fuzzy-csm on GitHub">Star</a>
<a class="github-button" href="https://github.com/nirgendswo/fuzzy-cms/archive/master.zip" data-icon="octicon-cloud-download" data-style="mega" aria-label="Download nirgendswo/fuzzy-csm on GitHub">Download</a>
<a class="github-button" href="https://github.com/nirgendswo/fuzzy-cms/issues" data-icon="octicon-issue-opened" data-style="mega" aria-label="Issue nirgendswo/fuzzy-csm on GitHub">Issue</a>
</div>
</div>
</div>
require('zepto');
Zepto(function($) {
$('button.button--navigation').on('click', function(event) {
var $button = $(this),
$siteNavigation = $('.site-navigation');
if ($button.hasClass('button--navigation-open')) {
$button.removeClass('button--navigation-open');
$siteNavigation.removeClass('site-navigation--open');
} else {
$button.addClass('button--navigation-open');
$siteNavigation.addClass('site-navigation--open');
}
});
});
......@@ -7,7 +7,8 @@
*/
$site-navigation-color--hover: white;
$site-navigation__item-color: $color;
$site-navigation__item-color--hover: white;
@mixin fuzzy-cms-site-navigation() {
.site-navigation {
......@@ -20,29 +21,33 @@ $site-navigation-color--hover: white;
text-align: right;
}
&--open {
display: block;
}
&__item {
color: $color;
color: $site-navigation__item-color;
display: block;
margin: 0;
margin: 15px 0 0 5px;
@media (min-width: $reflex-sm) {
display: inline-block;
margin: 15px 0 0 5px;
margin: 0 0 0 5px;
}
&--current,
&:hover {
color: $site-navigation-color--hover;
color: $site-navigation__item-color--hover;
.site-navigation__icon {
fill: $site-navigation-color--hover;
fill: $site-navigation__item-color--hover;
transform: scale(1.3) translateZ(0);
transition: fill 0.3s ease-in;
}
.site-navigation__text {
color: $site-navigation-color--hover;
color: $site-navigation__item-color--hover;
transition: color 0.3s ease-in;
}
}
......@@ -65,7 +70,9 @@ $site-navigation-color--hover: white;
}
&-button {
@extend .clearfix;
@media (max-width: $reflex-sm) {
@include clearfix();
}
}
}
}
......@@ -7,6 +7,7 @@
<header class="site-main__header">
{!! $page->html() !!}
</header>
@include('FuzzyCms.views.partials.github')
</div>
</div>
<section class="grid">
......
@inject('viewHelper', 'App\ViewHelper')
<!doctype html>
<html class="no-js">
<html lang="en-GB" class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
......@@ -8,12 +10,17 @@
@include('helpers.meta', ['page' => $page])
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="{{ $viewHelper->route($page) }}" rel="canonical">
<link href="/assets/css/styles.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Bangers%7CRoboto" rel="stylesheet">
</head>
<body class="site">
<!--[if lte IE 9]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<p class="browserupgrade">
You are using an <strong>outdated</strong> browser.
Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.
</p>
<![endif]-->
<header class="site-header">
......@@ -65,7 +72,7 @@
<div class="grid">
<div class="grid__col-xs-12">
<p>
MIT License / Copyright (c) 2017 Björn Hase / <a href="/imprint">Imprint</a>
MIT License / Copyright (c) 2017 Björn Hase / <a href="/imprint">Imprint</a> / <a href="/privacy-policy">Privacy Policy</a>
</p>
</div>
</div>
......@@ -74,6 +81,6 @@
</div>
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script type="text/javascript" src="/assets/js/scripts.js"></script>
<script async defer src="/assets/js/scripts.js"></script>
</body>
</html>
<div class="github">
<a class="github-button" href="https://github.com/nirgendswo/fuzzy-cms/fork" data-icon="octicon-repo-forked" data-size="large" aria-label="Fork nirgendswo/fuzzy-csm on GitHub">Fork</a>
<a class="github-button" href="https://github.com/nirgendswo/fuzzy-cms" data-icon="octicon-star" data-size="large" aria-label="Star nirgendswo/fuzzy-csm on GitHub">Star</a>
<a class="github-button" href="https://github.com/nirgendswo/fuzzy-cms/archive/master.zip" data-icon="octicon-cloud-download" data-size="large" aria-label="Download nirgendswo/fuzzy-csm on GitHub">Download</a>
<a class="github-button" href="https://github.com/nirgendswo/fuzzy-cms/issues" data-icon="octicon-issue-opened" data-size="large" aria-label="Issue nirgendswo/fuzzy-csm on GitHub">Issue</a>
</div>
......@@ -10,7 +10,7 @@
</div>
<nav class="site-navigation">
@foreach($pageRepository->find(
['type' => 'page', 'exclude' => ['imprint']],
['type' => 'page', 'exclude' => ['imprint', 'privacy-policy']],
['orderBy' => ['title' => 'desc']]) as $page)
<a class="site-navigation__item {{ $viewHelper->current($page, 'site-navigation__item--current') }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment