Skip to content

Commit 9e702e8

Browse files
committed
19.0 RC4
[index] - revamp full projects list (mobile optimized) [general] - fix svg icons - small fixes and tweaks
1 parent cd244d2 commit 9e702e8

11 files changed

Lines changed: 65 additions & 54 deletions

File tree

assets/icons/tech/github.svg

Lines changed: 1 addition & 1 deletion
Loading

assets/icons/tech/js.svg

Lines changed: 1 addition & 1 deletion
Loading

package.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/content/collections/projects/epicalendar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: epiCalendar
33
desc: web (and python) app that downloads your personal University of Oviedo calendar in ICS or CSV format.
44
source: https://github.com/miermontoto/epiCalendar
5-
links: [{icon: 'ⓘ', url: "/epiCalendar"}]
5+
links: [{icon: 'ⓘ', url: "/epiCalendar", "name": "readme"}]
66
demo: https://epicalendar.mier.info
77
permalink: /epiCalendar/
88
redirect_from: /epicalendar/

src/content/collections/projects/web.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
title: mier.info
33
desc: my personal portfolio, the very website you are looking at right now.
44
source: https://github.com/miermontoto/miermontoto
5-
icons: [eleventy, firebase, sass, markdown, nunjucks]
5+
icons: [eleventy, firebase, sass, markdown, nunjucks, js]
66
status: https://dashboard.mier.info/api/badge/1/uptime/48?style=flat-square
7-
links: [{icon: "β", url: "https://mier-f6277--beta-ski9fkat.web.app/"}]
7+
links: [{icon: "β", url: "https://mier-f6277--beta-ski9fkat.web.app/", "name": "beta"}]
88
star: star
99
---

src/index.njk

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -74,26 +74,34 @@ js: index
7474
{% else %}
7575
{{ project.data.title }}
7676
{% endif %}
77-
</div>
78-
79-
<div class="project-links">
80-
{% if project.data.source and project.data.demo %}
81-
<a href="{{ project.data.source }}" target="_blank" rel="noopener noreferrer" aria-label="source code for {{ project.data.title }}">
82-
{{ macros.renderIcon('git') }}
83-
</a>
77+
{% if project.data.star %}
78+
<span class="star info">⭐</span>
8479
{% endif %}
85-
{% for link in project.data.links %}
86-
<a href="{{ link.url }}" target="_blank" rel="noopener noreferrer">{{ link.icon | safe }}</a>
87-
{% endfor %}
80+
{% if project.data.new %}
81+
<span class="new info">new!</span>
82+
{% endif %}
83+
84+
<div class="project-tech">
85+
{{ macros.renderIcons(project.data.icons) }}
86+
</div>
8887
</div>
8988

9089
<div class="project-description">
9190
{{ project.data.desc | safe }}
9291
</div>
9392

94-
<div class="project-tech">
95-
{{ macros.renderIcons(project.data.icons) }}
96-
</div>
93+
{% if project.data.links or project.data.source and project.data.demo %}
94+
<div class="project-links">
95+
{% if project.data.source and project.data.demo %}
96+
<a href="{{ project.data.source }}" target="_blank" rel="noopener noreferrer" aria-label="source code for {{ project.data.title }}">
97+
{{ macros.renderIcon('git') }} [source]
98+
</a>
99+
{% endif %}
100+
{% for link in project.data.links %}
101+
<a href="{{ link.url }}" target="_blank" rel="noopener noreferrer">{{ link.icon | safe }} [{{ link.name}}]</a>
102+
{% endfor %}
103+
</div>
104+
{% endif %}
97105
</li>
98106
{% endfor %}
99107
</ul>

src/static/css/global.sass

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,6 @@ quote
156156
.hidden
157157
display: none
158158

159-
ul, ol
160-
line-height: 1.35em
161-
162159
.easter
163160
font-style: italic
164161
color: colors.$secondary
@@ -177,3 +174,7 @@ img
177174
.dragover
178175
border: 2px dashed colors.$light
179176
background-color: colors.$secondary
177+
178+
.new
179+
color: colors.$correct
180+
font-weight: bolder

src/static/css/index.sass

Lines changed: 31 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@ video#background
156156
.project-tech
157157
display: flex
158158
align-content: center
159+
top: 0.125em
159160

160161
*:not(:last-child)
161162
margin-right: 0.5em
162-
top: 0.125em
163163

164164

165165
#featured .project
@@ -202,32 +202,40 @@ video#background
202202
.project-links
203203
font-size: 1.25em
204204

205-
#project-list .project
206-
display: flex
207-
align-items: center
208-
border: 1px solid transparent
209-
border-radius: base.$radius
205+
#project-list
206+
margin-left: -1.25em
210207

211-
div
212-
margin: 0.75em
208+
.project
209+
display: grid
210+
border: 1px solid transparent
211+
border-radius: base.$radius
212+
gap: 1em
213+
padding: 1em
213214

214-
&:hover
215-
border-color: colors.$light
215+
&:hover
216+
border-color: colors.$light
216217

217-
.project-tech
218-
opacity: 1
218+
.project-tech
219+
opacity: 1
219220

220-
.project-title
221-
white-space: nowrap
222-
font-size: 1.1em
221+
.project-title
222+
white-space: nowrap
223+
font-size: 1.5em
224+
display: flex
223225

224-
.project-description
225-
font-style: italic
226-
font-size: 0.85em
226+
.info
227+
margin-left: 0.5em
227228

228-
.project-tech
229-
opacity: 0
229+
.project-links
230+
font-size: 1.125em
231+
232+
.icon
233+
top: 0.125em
234+
235+
.project-tech
236+
opacity: 0
237+
margin-left: 1em
238+
font-size: 0.85em
230239

231-
.icon
232-
font-size: 1.25em
233-
top: -0.125em
240+
.icon
241+
top: -0.125em

src/static/css/project.sass

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
*
22
text-align: left
33

4+
ul, ol
5+
line-height: 1.35em
6+
47
#back
58
position: static
69

src/static/js/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ import './index/sections.js';
22
import './index/overlay.js';
33
import './index/video.js';
44
import './index/marquee.js';
5-
import './index/projects.js';

0 commit comments

Comments
 (0)