Skip to content

Commit 8f254eb

Browse files
committed
Update tag layout
1 parent 1b54e70 commit 8f254eb

File tree

3 files changed

+27
-15
lines changed

3 files changed

+27
-15
lines changed

src/assets/sass/_cards.scss

+17-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,23 @@
4848
margin-bottom: 2px;
4949
}
5050

51-
.type {
52-
font-size: 0.82rem;
51+
.tag-container {
52+
display: flex;
53+
flex-wrap: wrap;
54+
gap: 14px;
55+
height: 100%;
56+
justify-content: left;
57+
align-items: stretch;
58+
font-size: 0.74rem;
59+
margin-top: 10px;
60+
61+
.tag {
62+
border-radius: var(--radius-card);
63+
background-color: transparent;
64+
border: 1px solid var(--color-secondary);
65+
color: var(--color-secondary);
66+
padding: 6px 10px;
67+
}
5368
}
5469
}
5570

src/data/projects.json

+6-11
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,38 @@
11
{
22
"metadata": {
33
"title": "Projects",
4-
"description": "See more on <a href='https://github.com/uintdev' class='clickable'>GitHub</a>"
4+
"description": "Creations. See more on <a href='https://github.com/uintdev' class='clickable'>GitHub</a>"
55
},
66
"list": [
77
{
88
"name": "QRServ",
9-
"type": "App",
109
"description": "Transfer files with ease over a network",
1110
"url": "https://github.com/uintdev/qrserv",
12-
"tags": ["Flutter", "Dart"]
11+
"tags": ["App", "Flutter", "Dart"]
1312
},
1413
{
1514
"name": "uintdev web",
16-
"type": "Website",
1715
"description": "Modular main website, with bundled goodness",
1816
"url": "https://github.com/uintdev/uintdev_web",
19-
"tags": ["Webpack", "TypeScript", "SCSS"]
17+
"tags": ["Website", "TypeScript", "SCSS"]
2018
},
2119
{
2220
"name": "Email Addr Extract",
23-
"type": "CLI",
2421
"description": "High performance email address extraction tool",
2522
"url": "https://github.com/uintdev/email-addr-extract",
26-
"tags": ["Rust"]
23+
"tags": ["CLI", "Rust"]
2724
},
2825
{
2926
"name": "Discord Cache Dump",
30-
"type": "CLI",
3127
"description": "Save and identify cached files from Discord's desktop clients",
3228
"url": "https://github.com/uintdev/Discord-Cache-Dump",
33-
"tags": ["Go"]
29+
"tags": ["CLI", "Go"]
3430
},
3531
{
3632
"name": "Ducky HID WSI",
37-
"type": "Firmware",
3833
"description": "Custom USB Rubber Ducky HID only firmware with status indication",
3934
"url": "https://github.com/uintdev/Ducky_HID_WSI",
40-
"tags": ["C"]
35+
"tags": ["Firmware", "C"]
4136
}
4237
]
4338
}

src/views/index.ejs

+4-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,10 @@
8282
<a class="card" href="<%= projectEntry.url %>">
8383
<div class="info">
8484
<div class="name"><%= projectEntry.name %></div>
85-
<div class="type">
86-
<%= projectEntry.type + ' - ' + projectEntry.tags.join(', ') %>
85+
<div class="tag-container">
86+
<% projectEntry.tags.forEach(function(tag) { %>
87+
<span class="tag"><%= tag %></span>
88+
<% }); %>
8789
</div>
8890
</div>
8991
<div class="description"> <%= projectEntry.description %> </div>

0 commit comments

Comments
 (0)