Skip to content

Commit df6868e

Browse files
committed
fix: homepage cards
1 parent 9a6d9a5 commit df6868e

7 files changed

Lines changed: 9 additions & 7 deletions

File tree

_data/projects.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
- name: Emergency Vehicle Creator
2-
image: EVC-Dropshadow.png
2+
image: EVC.png
33
version: 3.0.0
44
type: Plugin
55
link: https://evc.redon.tech
66

77
- name: Weather Systems
8-
image: EVC-Dropshadow.png
8+
image: WS.png
99
version: 2.0.0
1010
type: Plugin
1111
link: https://create.roblox.com/store/asset/4702214872/
@@ -23,13 +23,13 @@
2323
link: https://hub.redon.tech
2424

2525
- name: Fire System
26-
image: EVC-Dropshadow.png
26+
image: FS.png
2727
version: 2.0.1
2828
type: Script
2929
link: https://firesys.redon.tech
3030

3131
- name: Soundpad Downloader
32-
image: EVC-Dropshadow.png
32+
image: SP-D.png
3333
version: 1.0.0
3434
type: Other
3535
link: https://github.com/Redon-Tech/Soundpad-Downloader

_layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ <h2 class="pb-2 text-center fw-bold">Our Projects</h2>
8585
{% for project in site.data.projects %}
8686
<div class="col">
8787
<a href="{{ project.link }}" target="_blank"
88-
class="card-hover card card-cover h-100 overflow-hidden text-bg-dark rounded-4 shadow-crust project-image"
88+
class="card-hover card card-cover h-100 overflow-hidden rounded-4 shadow-crust project-image"
8989
style="background-image: url('assets/images/{{ project.image }}');">
9090
<div class="d-flex flex-column h-100 p-5 pb-3 text-dark text-shadow-1">
9191
<h3 class="pt-5 mt-5 mb-4 display-6 lh-1 fw-bold align-text-bottom">{{ project.name }}</h3>

_sass/site.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,11 @@ article {
103103
}
104104

105105
.project-image {
106-
background-position: center;
107-
background-size: auto 115%;
106+
background-size: cover;
108107
background-repeat: no-repeat;
108+
background-position: 50% 50%;
109+
width: 100%;
110+
height: 100%;
109111
}
110112

111113
.card-hover {

assets/images/EVC.png

251 KB
Loading

assets/images/FS.png

477 KB
Loading

assets/images/SP-D.png

302 KB
Loading

assets/images/WS.png

313 KB
Loading

0 commit comments

Comments
 (0)