From df6c66c5c87442f011de812bb19c3d31e9da3c61 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sun, 21 May 2023 19:28:41 +0200 Subject: [PATCH] feat: add an explainer message on the home page --- _config.yml | 2 +- _layouts/default.html | 1 + _layouts/home.html | 41 +++++++++++++++++++++++++++++++++++++++++ assets/main.scss | 24 +++++++----------------- index.md | 2 +- 5 files changed, 51 insertions(+), 19 deletions(-) diff --git a/_config.yml b/_config.yml index e08b257..3c21775 100644 --- a/_config.yml +++ b/_config.yml @@ -13,7 +13,7 @@ # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. # You can create any custom variable you would like, and they will be accessible # in the templates via {{ site.myvariable }}. -title: Ayo Ayco +title: Ayo's Blog description: Blogs on tech, life, and personal growth author: Ayo Ayco attribution: Ayo Ayco diff --git a/_layouts/default.html b/_layouts/default.html index c40cbc0..aa6a253 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -10,6 +10,7 @@
+
{{ content }}
diff --git a/_layouts/home.html b/_layouts/home.html index 6383b8b..8ac20bd 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -3,6 +3,47 @@ layout: default ---
+
+

Hello, fellow human!

+

+ Welcome to my personal blog! Like you, I have many areas of interests, and + in this site you will find posts on varying topics that are not always + confined to my professional life. +

+

+ There really is no central theme here, and even the quality of writing may + change between posts. My only rule is that I put out words about stuff I + find helpful to talk about. +

+

+ There may be some topics that pop up more than others. + Technology posts are mostly about web + development, and may be more relatable to people who found me for my + development work. More opinionated personal posts + are where I talk about stuff I find interesting and helpful to put out in + the open for their potential to help others as well. However, other topics + will most likely be included in the future and a lot of things may change + over time. +

+

+ Thank you for the interest in reading. I look forward to any feedback or + even the possibility of collaboration. Hit me up about any topic you find + here! Below are my contact details. +

+ +

- Ayo Ayco

+
{% if site.posts.size > 0 %}
    {% for post in site.posts %} diff --git a/assets/main.scss b/assets/main.scss index eda52cb..51baf89 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -34,10 +34,12 @@ body { a:hover { color: #2f5db4; + text-decoration: underline; } a { color: #2b6be2; + text-decoration: underline; } } @@ -110,11 +112,6 @@ caption { font-weight: bold; } -.site-title:hover, -.site-nav .page-link:hover { - text-decoration: none; -} - .site-nav .page-link { color: #ffffff !important; text-transform: uppercase; @@ -134,10 +131,6 @@ caption { } .categories-content { - a { - text-decoration: none; - } - span.categories-title { color: rgba(141, 191, 66, 0.97); text-transform: uppercase; @@ -237,10 +230,6 @@ caption { margin: 29px 0 25px 25px; } -.up-next:hover { - text-decoration: none; -} - .up-next { background-color: #ee4a03; color: #ffffff !important; @@ -395,18 +384,20 @@ table.image caption { &__category { span { a:hover { - text-decoration: none; color: #bb4a03; border-bottom: solid 3px #bb4a03; + text-decoration: none; } a { text-transform: uppercase; padding: 3px; - border-bottom: solid 3px #333; width: auto; + text-decoration: none; + font-weight: bold; font-size: small; color: #333; + border-bottom: solid 3px #333; } } } @@ -516,6 +507,7 @@ table.image caption { .blog-home { &__list-items { list-style: none; + margin-left: 0; &__item { background-color: #fff; @@ -534,7 +526,6 @@ table.image caption { } a:hover { - text-decoration: none; color: #bb4a03 !important; } } @@ -585,7 +576,6 @@ table.image caption { margin-top: 15px; a:hover { - text-decoration: none; color: #ee4a03; border: 1px solid #ee4a03; } diff --git a/index.md b/index.md index 0ddc942..79826ab 100644 --- a/index.md +++ b/index.md @@ -8,4 +8,4 @@ type: "home" title: "Ayo Ayco" description: "This is a place to learn new web technologies and productivity hacks." image: "hello-world" ---- +--- \ No newline at end of file