aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-22 16:57:31 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-22 17:08:54 +0300
commit8d7bc0ec6f504e315f1286b25273caf39d4c3a8f (patch)
treeede8900c253890146fe6563c74b78b3f4dc5f6a4
parentbump jekyll-theme (diff)
downloadegor-tensin.github.io-8d7bc0ec6f504e315f1286b25273caf39d4c3a8f.tar.gz
egor-tensin.github.io-8d7bc0ec6f504e315f1286b25273caf39d4c3a8f.zip
redesign index.html completely
Does look nicer and cooler, doesn't it?
-rw-r--r--assets/css/index.css4
-rw-r--r--index.html65
2 files changed, 41 insertions, 28 deletions
diff --git a/assets/css/index.css b/assets/css/index.css
deleted file mode 100644
index 1d239dd..0000000
--- a/assets/css/index.css
+++ /dev/null
@@ -1,4 +0,0 @@
-.list-group-item {
- /* Make the main list stand out, don't blur it out. */
- color: #333 !important;
-}
diff --git a/index.html b/index.html
index 3d48b58..57c704b 100644
--- a/index.html
+++ b/index.html
@@ -2,45 +2,62 @@
title: Main page
layout: plain
main:
- - url: /blog/
- text: Blog
- glyph: folder-open
- url: /cv/cv.pdf
- text: CV
- glyph: file
+ text: cv
- url: https://egort.name/
text: egort.name
- glyph: globe
projects:
+ - url: /blog/
+ name: blog
+ description: Random posts and notes
- url: /jekyll-theme/
- name: Jekyll theme
+ name: jekyll-theme
+ description: My Jekyll theme
- url: /sorting-algorithms/
- name: Sorting algorithms
+ name: sorting-algorithms
+ description: Getting the hang out of (sorting) algorithms
- url: /wireguard-config/
- name: WireGuard configuration
-links:
- - {rel: stylesheet, href: assets/css/index.css}
+ name: wireguard-config
+ description: Generate WireGuard configuration files
---
<h1>{{ site.settings.author.name }}</h1>
<hr/>
-<p>Hello! I'm a software engineer, and here's some of my stuff.</p>
-
-<div class="list-group wide-enough">
- {% if page.main %}
- {% for link in page.main %}
- <a class="list-group-item" href="{{ link.url }}"><span class="glyphicon glyphicon-{{ link.glyph }}"></span>&nbsp;{{ link.text }}</a>
- {% endfor %}
- {% endif %}
- <a class="list-group-item" href="{{ site.github.owner_url }}"><span class="glyphicon glyphicon-home"></span>&nbsp;GitHub</a>
- <a class="list-group-item" href="mailto:{{ site.settings.author.email }}"><span class="glyphicon glyphicon-envelope"></span>&nbsp;{{ site.settings.author.email }}</a>
-</div>
+<div style="display: flex; flex-wrap: wrap; column-gap: 1em;">
{% if page.projects %}
- <h3>Projects</h3>
<div class="list-group wide-enough">
+ <a class="list-group-item disabled" href="#">
+ <h4 class="list-group-item-heading">projects</h4>
+ </a>
{% for project in page.projects %}
- <a class="list-group-item" href="{{ project.url }}"><span class="glyphicon glyphicon-chevron-right"></span>&nbsp;{{ project.name }}</a>
+ <a class="list-group-item" href="{{ project.url }}">
+ <h4 class="list-group-item-heading">{{ project.name }}</h4>
+ {% if project.description %}
+ <p class="list-group-item-text">{{ project.description }}</p>
+ {% endif %}
+ </a>
{% endfor %}
</div>
{% endif %}
+
+ <div class="list-group wide-enough">
+ <a class="list-group-item disabled" href="#">
+ <h4 class="list-group-item-heading">links</h4>
+ </a>
+ {% if page.main %}
+ {% for link in page.main %}
+ <a class="list-group-item" href="{{ link.url }}">
+ <h4 class="list-group-item-heading">{{ link.text }}</h4>
+ </a>
+ {% endfor %}
+ {% endif %}
+ <a class="list-group-item" href="mailto:{{ site.settings.author.email }}">
+ <h4 class="list-group-item-heading">{{ site.settings.author.email | downcase }}</h4>
+ </a>
+ <a class="list-group-item" href="{{ site.github.owner_url }}">
+ <h4 class="list-group-item-heading">github</h4>
+ </a>
+ </div>
+
+</div>