summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--resources/views/about.blade.php8
-rw-r--r--resources/views/index.blade.php9
2 files changed, 15 insertions, 2 deletions
diff --git a/resources/views/about.blade.php b/resources/views/about.blade.php
index 143fe55..842b8bc 100644
--- a/resources/views/about.blade.php
+++ b/resources/views/about.blade.php
@@ -24,10 +24,14 @@ html {
</h1>
<div class="card-body">
<p class="card-text">
- {{ 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.
+ I was curious what HN may find interesting, so I used upvoted or discussed articles from Wikipedia as a proxy and build this. All articles are <a href="{{ route('popular_topics') }}">structured and categorized</a> to get a better overview. Unsurprisingly <a href="{{ route('topic', 'computing') }}">computing</a> was on the top, but then it might get interesting.
<br>
<br>
- Enter {{ env('APP_NAME') }}. This is a collection of curated Wikipedia articles, sourced primarily (for now) from <a href="https://news.ycombinator.com">{!! file_get_contents(public_path() . "/img/y-combinator.svg") !!} Hacker News</a>. For structured consuming most of them are further categorized in topics. For starting, I recommend <a href="{{ route('popular') }}">reading the most popular articles</a> or <a href="{{ route('popular_topics') }}">browse by topics</a>.
+ So I keep this as a resource of curious, obscure, inspiring and interesting bits and insights.
+ Other way to phrase it: Reading Wikipedia was my hobby, so I automated it. (Sure, what else.)
+ <br>
+ <br>
+ Enter <a href="{{ route('index') }}">mostdiscussed.com</a>. This is a collection of curated Wikipedia articles, sourced primarily (for now) from <a href="https://news.ycombinator.com">{!! file_get_contents(public_path() . "/img/y-combinator.svg") !!} Hacker News</a>. For structured consuming most of them are further categorized in topics. For starting, I recommend <a href="{{ route('popular') }}">reading the most popular articles</a> or <a href="{{ route('popular_topics') }}">browse by topics</a>.
</p>
</div>
</div>
diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php
index 133368f..dd891b7 100644
--- a/resources/views/index.blade.php
+++ b/resources/views/index.blade.php
@@ -1,6 +1,14 @@
@extends('layouts.app')
@section('styles')
+@media ( max-width: 397px ) {
+ .btn-mobile-second {
+ margin-top: 1rem;
+ }
+ .btn-lg {
+ width: 100%;
+ }
+}
@endsection
@section('content')
@@ -16,6 +24,7 @@
</p>
<p class="lead">
<a href="{{ route('popular') }}" class="btn btn-lg btn-outline-primary">Most Popular</a>
+ <a href="{{ route('popular_topics') }}" class="btn btn-lg btn-outline-primary btn-mobile-second">Popular Topics</a>
</p>
<p class="lead mt-50">
Not ready to explore?<br> <a href="{{ route('about') }}">Then learn more</a>.