FIX: Workflow to work with jekyll.
This commit is contained in:
1
.github/workflows/prepare.yml
vendored
1
.github/workflows/prepare.yml
vendored
@@ -28,7 +28,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
find . -name "*.js" -type f -exec terser {} -c -o {} \;
|
find . -name "*.js" -type f -exec terser {} -c -o {} \;
|
||||||
find . -name "*.css" -type f -exec csso {} -o {} \;
|
find . -name "*.css" -type f -exec csso {} -o {} \;
|
||||||
find . -name "*.html" -type f -exec html-minifier --remove-comments --collapse-whitespace {} -o {} \;
|
|
||||||
|
|
||||||
- name: "Commiting changes."
|
- name: "Commiting changes."
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ freshmanual:
|
|||||||
title: FreshManual
|
title: FreshManual
|
||||||
subtitle: Mobile App
|
subtitle: Mobile App
|
||||||
stack: [ html, css, js, php, docker, mariadb, azure ]
|
stack: [ html, css, js, php, docker, mariadb, azure ]
|
||||||
image: /res/avatar.svg
|
|
||||||
link: /404
|
link: /404
|
||||||
color: blue
|
color: blue
|
||||||
|
|
||||||
@@ -61,7 +60,6 @@ pollbuddy:
|
|||||||
id: pollbuddy
|
id: pollbuddy
|
||||||
title: Poll Buddy
|
title: Poll Buddy
|
||||||
stack: [ html, css, js, php, docker, mariadb, azure ]
|
stack: [ html, css, js, php, docker, mariadb, azure ]
|
||||||
image: /res/avatar.svg
|
|
||||||
link: /404
|
link: /404
|
||||||
color: green
|
color: green
|
||||||
|
|
||||||
@@ -90,7 +88,6 @@ rpi-crisis:
|
|||||||
id: rpi-crisis
|
id: rpi-crisis
|
||||||
title: CRISIS
|
title: CRISIS
|
||||||
stack: [ html, css, js, php, docker, mariadb, azure ]
|
stack: [ html, css, js, php, docker, mariadb, azure ]
|
||||||
image: /res/avatar.svg
|
|
||||||
link: /404
|
link: /404
|
||||||
color: red
|
color: red
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ layout: default
|
|||||||
{% if malung.image %}
|
{% if malung.image %}
|
||||||
<img id="image-inner" src="{{malung.image}}" alt="Image of {{malung.title}}">
|
<img id="image-inner" src="{{malung.image}}" alt="Image of {{malung.title}}">
|
||||||
{% else %}
|
{% else %}
|
||||||
<h1 aria-hidden>Image Not Available</h1>
|
<h1 aria-hidden="true">Image Not Available</h1>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div id="stack">
|
<div id="stack">
|
||||||
|
|||||||
@@ -31,7 +31,13 @@ layout: default
|
|||||||
<div id="project-list">
|
<div id="project-list">
|
||||||
{% for project in home.featured %}
|
{% for project in home.featured %}
|
||||||
<a class="{{ work[project].color }} project-item shadow" href="/experience/{{ project }}">
|
<a class="{{ work[project].color }} project-item shadow" href="/experience/{{ project }}">
|
||||||
<div class="space"></div>
|
{% if work[project].image %}
|
||||||
|
<div class="space project-image-outer">
|
||||||
|
<img src="{{work[project].image}}" alt="{{work[project].title}}" class="project-image">
|
||||||
|
</div>
|
||||||
|
{% else %}
|
||||||
|
<div class="project-noimage" aria-hidden="true">Image Not Available</div>
|
||||||
|
{% endif %}
|
||||||
<div class="nav-link project-link r-icon" data-i="arrow_right">
|
<div class="nav-link project-link r-icon" data-i="arrow_right">
|
||||||
{{ work[project].title }}
|
{{ work[project].title }}
|
||||||
<!-- Add the subtitle, if it exists. -->
|
<!-- Add the subtitle, if it exists. -->
|
||||||
|
|||||||
@@ -261,4 +261,26 @@ nav {
|
|||||||
.nav1, .nav2 {
|
.nav1, .nav2 {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.project-noimage {
|
||||||
|
color: #0002;
|
||||||
|
font-size: 40px;
|
||||||
|
font-family: "Open Sans";
|
||||||
|
font-weight: 900;
|
||||||
|
display: flex;
|
||||||
|
flex: 1000;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.project-image-outer {
|
||||||
|
position: relative;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.project-image {
|
||||||
|
position: absolute;
|
||||||
|
max-height: 100%;
|
||||||
}
|
}
|
||||||
@@ -65,5 +65,3 @@ html {
|
|||||||
.dark-back::before {
|
.dark-back::before {
|
||||||
filter: brightness(0.8);
|
filter: brightness(0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*----------------------------------------------------------------------------*/
|
|
||||||
Reference in New Issue
Block a user