Web/scripts/projects.js

70 lines
2.9 KiB
JavaScript
Raw Normal View History

2018-07-24 22:45:53 +02:00
const projects = [{
2019-07-24 20:14:54 +02:00
name: "Foe Frenzy",
2019-12-27 23:27:45 +01:00
desc: "Foe Frenzy is a fast-paced fighting game where you battle up to three of your friends with random, short-lasting items in an attempt to be the last survivor.",
2019-07-24 20:14:54 +02:00
links: {
2019-11-15 20:55:47 +01:00
"Check it out": "/foefrenzy"
2019-07-24 20:14:54 +02:00
},
2019-12-27 23:27:45 +01:00
status: "Released",
2019-07-24 20:14:54 +02:00
icon: "ff"
},
{
2019-07-06 23:35:20 +02:00
name: 'Actually Additions',
2020-04-17 01:37:02 +02:00
desc: 'Actually Additions is a rather popular Minecraft mod that I used to work on. It\'s become widely known in the modding community and has reached over 30 million downloads by now, which is crazy. I don\'t work on it anymore myself, but it\'s being maintained for current versions by someone else.',
2019-07-06 23:35:20 +02:00
links: {
2019-06-01 22:26:20 +02:00
'CurseForge page': 'https://www.ellpeck.de/actadd',
'Online manual': 'https://www.ellpeck.de/actaddmanual/'
},
2019-10-01 00:24:13 +02:00
status: 'Maintained',
2019-07-06 23:35:20 +02:00
icon: 'aa'
2019-06-01 22:26:20 +02:00
},
{
2019-07-06 23:35:20 +02:00
name: "Nature's Aura",
2020-04-17 01:37:02 +02:00
desc: "Nature's Aura is a Minecraft mod about collecting, using and replenishing the Aura naturally present in the world to create useful devices and unique mechanics.",
status: 'In development',
2019-07-06 23:35:20 +02:00
links: {
2018-11-10 23:31:10 +01:00
'CurseForge page': 'https://minecraft.curseforge.com/projects/natures-aura'
},
2019-07-06 23:35:20 +02:00
icon: 'na'
2018-11-08 00:15:15 +01:00
},
{
name: "Pretty Pipes",
desc: "Pretty Pipes is a simple to use, all-inclusive item transport mod for Minecraft. It features simple pipes that can be upgraded using modules to accomplish much more advanced tasks.",
status: 'In development',
links: {
'CurseForge page': 'https://www.curseforge.com/minecraft/mc-mods/pretty-pipes'
},
icon: 'pp'
},
{
name: "MLEM",
desc: "MLEM Library by Ellpeck for MonoGame is an addition to the game framework <a href=\"http://www.monogame.net/\">MonoGame</a> that provides extension methods, quality of life improvements and additional features like a Ui system and easy input handling.",
links: {
"Get it on NuGet": "https://www.nuget.org/packages?q=mlem",
2020-05-21 12:58:58 +02:00
"See the website": "https://mlem.ellpeck.de/"
},
status: "Side project",
icon: "mlem"
2019-05-24 18:47:56 +02:00
}
2018-07-24 22:45:53 +02:00
];
let p = '';
for (project of projects) {
p += '<div class="card bg-light project rounded-0">';
2018-07-24 22:45:53 +02:00
p += '<div class="card-body">';
p += '<img class="project-image" src="res/projects/' + project.icon + '.png" alt="">';
2018-07-24 22:45:53 +02:00
p += '<h4 class="card-title">' + project.name + '</h4>';
p += '<p class="card-text">' + project.desc + '</p>';
if (project.status)
p += '<span class="text-muted project-status">' + project.status + '</span>';
2018-07-24 22:45:53 +02:00
if (project.links) {
for (let name in project.links) {
p += '<a href="' + project.links[name] + '" class="card-link btn ' + (dark ? "btn-outline-light" : "btn-outline-info") + ' rounded-0">' + name + '</a>';
2018-11-08 00:15:15 +01:00
}
2018-07-24 22:45:53 +02:00
}
p += '</div>';
p += '</div>';
}
$('#project-list').html(p);