Skip to content
This repository was archived by the owner on Aug 19, 2023. It is now read-only.

Commit a93f97c

Browse files
CitralFlovLuckyyy
andauthored
GH-78 Add modrith, spigot links (#78)
* Delete projects EternalRTP and EternalCheck because of no activity in repositories. * Add links via media icons in project tab * Update EternalCore description to match length with other projects. Change name CitralFlo to Michal Wojtas. * Change link format from list items to buttons. * GH-75 Update renovate.json for merge all incoming PR's to one (Resolve #75) * GH-75 Update renovate.json for merge all incoming PR's to one (Resolve #75) * Change link format from list items to buttons. * Change logos for GitHub, Spigot, Modrinth to more minimalistic versions and adjust the design * Fix responsives * Delete glow effect on button hover and change width of border for buttons to 2px. * Remove useless css tags and improve scalability of buttons * Extend spacing between "Our projects" title and subtitle * Delete border from buttons and add small glow effect. Change animation to ease-in-out on buttons (on and off hover) * Move button with left margin to match starting point of lines above. * Cleanup codestyle in project css --------- Co-authored-by: Martin Sulikowski <[email protected]>
1 parent a804871 commit a93f97c

File tree

7 files changed

+116
-23
lines changed

7 files changed

+116
-23
lines changed
8.75 KB
Loading
41.2 KB
Loading
29 KB
Loading

renovate.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@
1919
],
2020
"separateMajorMinor": false
2121
}
22+

src/components/projects/Projects.vue

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,21 @@
66

77
<div class="row projects-row">
88
<Project
9-
description="♾️ All the most important server functions in one!"
9+
description="♾️ All the most important server functions in one!"
1010
githubUrl="https://github.com/EternalCodeTeam/EternalCore"
1111
imageUrl="/assets/img/projects/infinity.webp"
1212
name="EternalCore"
1313
:hrefText="$t('message.projects.more')"
1414
/>
15-
<Project
16-
description="🎇 Simple plugin to check players!"
17-
githubUrl="https://github.com/EternalCodeTeam/EternalCheck"
18-
imageUrl="/assets/img/projects/fireworks.webp"
19-
name="EternalCheck"
20-
:hrefText="$t('message.projects.more')"
21-
/>
2215
<Project
2316
description="📝 The most intelligent chat formatting plugin with minimessages support!"
2417
githubUrl="https://github.com/EternalCodeTeam/ChatFormatter"
18+
spigotUrl="https://www.spigotmc.org/resources/102212/"
19+
modrinth-url="https://modrinth.com/plugin/chatformatter"
2520
imageUrl="/assets/img/projects/chat.webp"
2621
name="ChatFormatter"
2722
:hrefText="$t('message.projects.more')"
2823
/>
29-
<Project
30-
description="🗺️ A random teleport plugin that doesn't give you a headache."
31-
githubUrl="https://github.com/EternalCodeTeam/EternalRTP"
32-
imageUrl="/assets/img/projects/treasure-map.webp"
33-
name="EternalRTP"
34-
:hrefText="$t('message.projects.more')"
35-
/>
3624
<Project
3725
description="⚔ Combat Logging system for Minecraft!"
3826
githubUrl="https://github.com/EternalCodeTeam/EternalCombatLog"
@@ -134,6 +122,7 @@ export default {
134122
color: #d3d3d380;
135123
font-size: 40px;
136124
border: 2px;
125+
margin-bottom: 1%;
137126
text-align: center;
138127
}
139128
@@ -182,4 +171,5 @@ export default {
182171
text-decoration: none;
183172
color: #a6abaf;
184173
}
174+
185175
</style>

src/components/projects/components/Project.vue

Lines changed: 109 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,42 @@
66
<img :src="imageUrl" alt="512" class="img-fluid rounded"/>
77
</div>
88

9+
910
<div class="col-lg-9">
10-
<h5>{{ name }}</h5>
11-
<h6>{{ description }}</h6>
12-
<a :href="githubUrl" target="_blank">
13-
<font-awesome-icon icon="fa-solid fa-arrow-right-long"/>
14-
{{ hrefText }}
15-
</a>
11+
<div class="project-card">
12+
<h5>{{ name }}</h5>
13+
<h6>{{ description }}</h6>
14+
15+
<!-- GitHub Link -->
16+
<ul class="src-buttons">
17+
<li v-if="githubUrl">
18+
<a :href="githubUrl" target="_blank">
19+
<button class="button-link">
20+
<img alt="githubUrl" src="/assets/img/projects/GitHub-logo-short.webp">
21+
</button>
22+
</a>
23+
</li>
24+
25+
<!-- Spigot Link -->
26+
<li v-if="spigotUrl">
27+
<a :href="spigotUrl" target="_blank">
28+
<button class="button-link">
29+
<img alt="spigotUrl" src="/assets/img/projects/spigot-logo-short.webp">
30+
</button>
31+
</a>
32+
</li>
33+
34+
<!-- Modrinth Link -->
35+
<li v-if="modrinthUrl">
36+
<a :href="modrinthUrl" target="_blank">
37+
<button class="button-link">
38+
<img alt="modrinthUrl" src="/assets/img/projects/modrinth-logo-short.webp">
39+
</button>
40+
</a>
41+
</li>
42+
</ul>
43+
44+
</div>
1645
</div>
1746
</div>
1847
</div>
@@ -25,9 +54,82 @@ export default {
2554
name: String,
2655
description: String,
2756
githubUrl: String,
57+
spigotUrl: String,
58+
modrinthUrl: String,
2859
imageUrl: String,
29-
hrefText: String
60+
hrefText: String,
3061
},
3162
};
3263
</script>
3364

65+
<style>
66+
67+
@media only screen and (max-width: 1000px) {
68+
.src-buttons {
69+
width: 70%;
70+
display: flex;
71+
align-items: center;
72+
}
73+
74+
.src-buttons li {
75+
margin-right: 5px;
76+
}
77+
78+
.button-link {
79+
height: 40px;
80+
width: 40px;
81+
}
82+
83+
.src-buttons img {
84+
margin-top: 5px;
85+
}
86+
}
87+
88+
.src-buttons {
89+
display: flex;
90+
list-style: none;
91+
padding: 0;
92+
width: 50%;
93+
margin-top: 15px;
94+
}
95+
96+
.src-buttons li {
97+
margin-right: 10px;
98+
}
99+
100+
.src-buttons li:last-child {
101+
margin-right: 0;
102+
}
103+
104+
.src-buttons li:first-child {
105+
margin-left: -10px;
106+
}
107+
.button-link {
108+
border: none;
109+
background-color: transparent;
110+
height: 50px;
111+
width: 50px;
112+
display: flex;
113+
align-items: center;
114+
justify-content: center;
115+
text-decoration: none;
116+
transition: 0.3s ease-in-out;
117+
}
118+
119+
.button-link:hover {
120+
/* FOR GLOW EFFECT */
121+
filter: drop-shadow(0 0 0.7rem rgb(115, 115, 115)) drop-shadow(0 0 0.7rem rgb(115, 115, 115));
122+
color: #111;
123+
}
124+
125+
.button-link:hover img {
126+
filter: brightness(0) invert(0.75);
127+
}
128+
129+
.src-buttons img {
130+
filter: brightness(0) invert(0.50);
131+
max-width: 50px;
132+
max-height: 50px;
133+
width: auto;
134+
}
135+
</style>

src/components/team/Team.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<Member
5555
githubUrl="https://github.com/Embrejs"
5656
imageUrl="https://avatars.githubusercontent.com/u/80779749?v=4"
57-
name="CitralFlo"
57+
name="Michał Wojtas"
5858
role="Student"
5959
/>
6060
</div>

0 commit comments

Comments
 (0)