Skip to content

Commit

Permalink
Add projects page
Browse files Browse the repository at this point in the history
  • Loading branch information
x86-39 committed Dec 2, 2023
1 parent cead03e commit 8d95717
Show file tree
Hide file tree
Showing 19 changed files with 156 additions and 11 deletions.
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ plugins:

pagination:
enabled: true
per_page: 9
per_page: 18
permalink: '/page/:num/'
title: ' - page :num'
limit: 0
Expand All @@ -45,7 +45,7 @@ pagination:
collections:
projects:
output: true
permalink: /projects/:path/
permalink: /projects/:title/
blog:
output: true
permalink: /blog/:path/
Expand Down
5 changes: 0 additions & 5 deletions _data/ansible-content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,10 @@ ansible_content:
gh_url: https://github.com/diademiemi/ansible_collection_diademiemi.jetbrains
name: diademiemi.jetbrains
roles:
- ci_badge: https://github.com/diademiemi/ansible_collection_diademiemi.jetbrains/actions/workflows/ansible-role-android_studio.yml/badge.svg
- ci_badge: ''
ci_url: ''
name: diademiemi.jetbrains.android_studio
status: Maintained
- ci_badge: https://github.com/diademiemi/ansible_collection_diademiemi.jetbrains/actions/workflows/ansible-role-clion.yml/badge.svg
- ci_badge: ''
ci_url: ''
name: diademiemi.jetbrains.clion
Expand All @@ -89,17 +87,14 @@ ansible_content:
gh_url: https://github.com/diademiemi/ansible_collection_diademiemi.jetbrains/tree/main/roles/common
name: diademiemi.jetbrains.common
status: Library role
- ci_badge: https://github.com/diademiemi/ansible_collection_diademiemi.jetbrains/actions/workflows/ansible-role-goland.yml/badge.svg
- ci_badge: ''
ci_url: ''
name: diademiemi.jetbrains.goland
status: Maintained
- ci_badge: https://github.com/diademiemi/ansible_collection_diademiemi.jetbrains/actions/workflows/ansible-role-idea.yml/badge.svg
- ci_badge: ''
ci_url: ''
name: diademiemi.jetbrains.idea
status: Maintained
- ci_badge: https://github.com/diademiemi/ansible_collection_diademiemi.jetbrains/actions/workflows/ansible-role-pycharm.yml/badge.svg
- ci_badge: ''
ci_url: ''
name: diademiemi.jetbrains.pycharm
Expand Down
3 changes: 3 additions & 0 deletions _layouts/blogindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
<a href="{{ post.url }}" class="blog-post-link">
<div class="blog-post-card">
<h2 class="blog-post-title">{{ post.title }}</h2>
{% if post.icon %}
<img src="{{ post.icon }}" alt="Post Icon" class="blog-post-icon">
{% endif %}
<div class="blog-post-content">
<p>{{ post.excerpt }}</p>
</div>
Expand Down
11 changes: 9 additions & 2 deletions _layouts/projectsindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,16 @@
<div class="projects-container">
{% if paginator.posts.size > 0 %}
{% for post in paginator.posts %}
{% if post.override_url %}
<a href="{{ post.override_url }}" class="projects-post-link">
{% else %}
<a href="{{ post.url }}" class="projects-post-link">
<div class="projects-post-card">
<h2 class="projects-post-title">{{ post.title }}</h2>
{% endif %}
<div class="projects-post-card">
<h2 class="projects-post-title">{{ post.title }}</h2>
{% if post.icon %}
<img src="{{ post.icon }}" alt="Post Icon" class="projects-post-icon">
{% endif %}
<div class="projects-post-content">
<p>{{ post.excerpt }}</p>
</div>
Expand Down
15 changes: 15 additions & 0 deletions assets/css/blog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,21 @@ html, body {
font-size: 1em; /* Adjust as needed */
}

.blog-post-icon {
float: right; /* Aligns the icon to the right */
width: 25%; /* Takes up 1/3rd of the card width */
height: auto; /* Maintains aspect ratio */
max-height: 50%; /* Maximum height is 2/3rds of the card */
margin-left: 10px; /* Space between text and icon */
}

/* Clear floats after each post card to maintain layout integrity */
.blog-post-card:after {
content: "";
display: table;
clear: both;
}

/* blog.css */
.blog-container {
display: flex;
Expand Down
15 changes: 15 additions & 0 deletions assets/css/projects.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,21 @@ html, body {
}
}

.projects-post-icon {
float: right; /* Aligns the icon to the right */
width: 25%; /* Takes up 1/3rd of the card width */
height: auto; /* Maintains aspect ratio */
max-height: 50%; /* Maximum height is 2/3rds of the card */
margin-left: 10px; /* Space between text and icon */
}

/* Clear floats after each post card to maintain layout integrity */
.projects-post-card:after {
content: "";
display: table;
clear: both;
}

/* Pagination styles */
.pagination {
display: flex;
Expand Down
9 changes: 9 additions & 0 deletions projects/_posts/1970-01-01-lineation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
date: 1970-01-01 23:59:59 +0100
title: Lineation

override_url: https://github.com/diademiemi/Lineation
icon: https://raw.githubusercontent.com/diademiemi/Lineation/main/img/logo.png
---

Lineation is a plugin for Spigot Minecraft servers that can create lines for minigames. This can make hosting events with contests for racing minigames easier to manage.
9 changes: 9 additions & 0 deletions projects/_posts/1970-01-01-panoply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
date: 1970-01-01 23:59:59 +0100
title: Panoply

override_url: https://github.com/diademiemi/Adventageous/
icon: https://raw.githubusercontent.com/diademiemi/Panoply/main/images/PanoplyLogo.png
---

Panoply is a Python program to drive an RGB Matrix display. This program comes with Home Assistant integration, which makes it a great display to view Home Assistant devices.
9 changes: 9 additions & 0 deletions projects/_posts/1970-01-02-adventageous.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
date: 1970-01-02 23:59:59 +0100
title: Adventageous

override_url: https://github.com/diademiemi/Adventageous/
icon: https://raw.githubusercontent.com/diademiemi/Adventageous/main/img/logo-by-midjourney.png
---

Adventageous is a Spigot plugin that allows you to create advent calendars for your server. It's perfect for daily rewards, or for creating fun rewards leading up to server events!
9 changes: 9 additions & 0 deletions projects/_posts/1970-01-02-bukkit-whereis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
date: 1970-01-02 23:59:59 +0100
title: Bukkit-whereis

override_url: https://github.com/diademiemi/Bukkit-whereis
icon: https://raw.githubusercontent.com/diademiemi/Bukkit-whereis/main/img/whereis.png
---

Simple Unix-like whereis command that tells you what plugin provides a command or alias.
9 changes: 9 additions & 0 deletions projects/_posts/1970-01-02-embellish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
date: 1970-01-02 23:59:59 +0100
title: Embellish

override_url: https://github.com/diademiemi/Embellish/tree/main
icon: https://raw.githubusercontent.com/diademiemi/Embellish/main/img/logo.png
---

Embellish is a Spigot plugin to generate colour codes for string ingame. This allows players to quickly apply and preview hexadecimal colour codes to signs, their nickname or other things that take hex codes!
9 changes: 9 additions & 0 deletions projects/_posts/1970-02-01-openscad-fidget-toys.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
date: 1970-02-01 23:59:59 +0100
title: OpenSCAD Fidget Toys

override_url: https://github.com/diademiemi/openscad_fidget_toys
icon: https://raw.githubusercontent.com/diademiemi/openscad_fidget_toys/main/img/infinity_cube_rounded.png
---

This repository contains fidget toys I've designed in OpenSCAD for 3D printing. I've designed these toys to be easy to print, and to be fun to play with.
9 changes: 9 additions & 0 deletions projects/_posts/1970-03-01-ansible-advent-of-code-2023.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
date: 1970-03-01 23:59:59 +0100
title: Ansible Advent of Code 2023

override_url: https://github.com/diademiemi/ansible_advent_of_code_2023

---
This page contains an overview of all Ansible roles and collections I've written, along with CI status for them!

9 changes: 9 additions & 0 deletions projects/_posts/1970-03-02-tonetag.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
date: 1970-03-02 23:59:59 +0100
title: Tonetag.is

override_url: https://github.com/tonetag
icon: https://raw.githubusercontent.com/tonetag/.github/main/logo.png
---

Tonetag.is is a website I made to index all tone indicators I could find on the web. It's a web application written in Kotlin with Red Hat Quarkus, and it's hosted on Rancher.
9 changes: 9 additions & 0 deletions projects/_posts/1970-03-02-webring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
date: 1970-03-02 23:59:59 +0100
title: Queer Coded Webring

override_url: https://github.com/queercoded-dev/webring-api
icon: /assets/img/webring-banner.gif
---

The Queer Coded Webring runs on a Kotlin + Quarkus application that serves a JSON API and a static HTML page. The domains are stored in a PostgreSQL database, and the application is hosted on Rancher.
9 changes: 9 additions & 0 deletions projects/_posts/1970-11-01-certifications.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
date: 1970-11-01 23:59:59 +0100
title: Certifications

override_url: https://github.com/diademiemi/certifications

---

This repository contains a table of exams I've taken or am planning to take along with preparation material and test environments I used to prepare for them!
9 changes: 9 additions & 0 deletions projects/_posts/1970-11-01-experiments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
date: 1970-11-01 23:59:59 +0100
title: Experiments

override_url: https://github.com/diademiemi/experiments

---

Experiments, code dumps and other things that don't really fit anywhere else. If I ever need to do something quickly to test an idea, I'll probably put it here!
9 changes: 9 additions & 0 deletions projects/_posts/1970-11-01-homelab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
date: 1970-11-01 23:59:59 +0100
title: Homelab

override_url: https://github.com/diademiemi/homelab

---

This is my homelab project. My homelab is fully open source and managed with Ansible, Terraform, Kubernetes, Rancher, ArgoCD, Fleet and more!
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
layout: ansiblecontent
title: Ansible Content
date: 2023-11-19 18:54:34 +0100

date: 1970-12-12 23:59:59 +0100
tabtitle: diademiemi | Ansible

permalink: /projects/ansible
icon: https://raw.githubusercontent.com/ansible/logos/main/ansible-logo-pride/ansible-logo-pride.svg
---

This page contains an overview of all Ansible roles and collections I've written, along with CI status for them!

0 comments on commit 8d95717

Please sign in to comment.