From ea7f3c9c9ca72ee6efa9c345506ea9c92cdf1691 Mon Sep 17 00:00:00 2001 From: horus Date: Sun, 19 Apr 2020 18:28:17 +0200 Subject: Add footer with about page. --- resources/sass/_navbar.scss | 4 ++ resources/sass/_utility.scss | 16 +++++++- resources/views/about.blade.php | 54 ++++++++++++++++++++++++++ resources/views/index.blade.php | 3 ++ resources/views/layouts/app.blade.php | 5 ++- resources/views/layouts/footer-style.blade.php | 14 +++++++ resources/views/layouts/footer.blade.php | 16 ++++++++ resources/views/list.blade.php | 46 +++++++++++++--------- resources/views/topicindex.blade.php | 5 +++ resources/views/topicpopular.blade.php | 5 +++ 10 files changed, 146 insertions(+), 22 deletions(-) create mode 100644 resources/views/about.blade.php create mode 100644 resources/views/layouts/footer-style.blade.php create mode 100644 resources/views/layouts/footer.blade.php (limited to 'resources') diff --git a/resources/sass/_navbar.scss b/resources/sass/_navbar.scss index 1542944..4645fa5 100644 --- a/resources/sass/_navbar.scss +++ b/resources/sass/_navbar.scss @@ -14,3 +14,7 @@ margin-left: 0.5rem; } } + +.nav-link:hover { + text-decoration: underline !important; +} diff --git a/resources/sass/_utility.scss b/resources/sass/_utility.scss index e84fcd0..bcc163d 100644 --- a/resources/sass/_utility.scss +++ b/resources/sass/_utility.scss @@ -8,4 +8,18 @@ hr { height: 1px; margin-top: inherit; } - +.mt-20 { + margin-top: 20px; +} +.mt-30 { + margin-top: 30px; +} +.mt-35 { + margin-top: 35px; +} +.mt-40 { + margin-top: 40px; +} +.mt-50 { + margin-top: 50px; +} diff --git a/resources/views/about.blade.php b/resources/views/about.blade.php new file mode 100644 index 0000000..143fe55 --- /dev/null +++ b/resources/views/about.blade.php @@ -0,0 +1,54 @@ +@extends('layouts.app') + +@section('styles') +html { + height: 100%; +} +.hn { + display: inline-block; + font-size: inherit; + height: 1em; + overflow: visible; + vertical-align: -.125em; + fill: #ff6600; +} + +@endsection + +@section('content') +
+ {{ env('APP_NAME') }} is a resource of curious, obscure, inspiring, interesting and sometimes even scary insights. Dive deep in the worlds knowlegde. We focus on "anything that gratifies one's intellectual curiosity." Or to speak more clearly: Reading Wikipedia was my hobby, so I automated it.
+
+
+ Enter {{ env('APP_NAME') }}. This is a collection of curated Wikipedia articles, sourced primarily (for now) from {!! file_get_contents(public_path() . "/img/y-combinator.svg") !!} Hacker News. For structured consuming most of them are further categorized in topics. For starting, I recommend reading the most popular articles or browse by topics.
+
+ Not ready to explore?
Then learn more.
+