feat: add projects
This commit is contained in:
parent
7cf2df923f
commit
fb484c614d
2 changed files with 36 additions and 3 deletions
|
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
li {
|
li {
|
||||||
margin: 0.7rem 0;
|
margin: 0.4rem 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import ListItem from '../components/ListItem.svelte';
|
||||||
import Link from '../components/Link.svelte';
|
import Link from '../components/Link.svelte';
|
||||||
import type { Skill } from '../types';
|
import type { Skill } from '../types';
|
||||||
|
|
||||||
|
|
@ -28,6 +29,31 @@
|
||||||
return { ...skill, years };
|
return { ...skill, years };
|
||||||
});
|
});
|
||||||
SKILLS.sort((a, b) => b.years - a.years);
|
SKILLS.sort((a, b) => b.years - a.years);
|
||||||
|
|
||||||
|
const PROJECTS = [
|
||||||
|
{
|
||||||
|
name: 'Gear Optimizer',
|
||||||
|
href: 'https://optimizer.discretize.eu',
|
||||||
|
description:
|
||||||
|
'Helps finding the optimal gear given numerous input paramaters for the MMO Guild Wars 2',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Discretize.eu',
|
||||||
|
href: 'https://discretize.eu',
|
||||||
|
description: 'Guiding players of the MMO Guild Wars 2',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'discretize-ui',
|
||||||
|
href: 'https://github.com/discretize/discretize-ui',
|
||||||
|
description: 'UI library for mirroring tooltips of the MMO Guild Wars 2',
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
name: 'LandLord',
|
||||||
|
href: 'https://www.spigotmc.org/resources/landlord-2.44398/',
|
||||||
|
description: 'Minecraft plugin for protecting and managing areas',
|
||||||
|
},
|
||||||
|
];
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h1>Hi, my name is Alex!</h1>
|
<h1>Hi, my name is Alex!</h1>
|
||||||
|
|
@ -44,11 +70,18 @@
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
{#each SKILLS as skill}
|
{#each SKILLS as skill}
|
||||||
<li>
|
<ListItem>
|
||||||
{skill.name} - {skill.years} year{skill.started > 1 ? 's' : ''}
|
{skill.name} - {skill.years} year{skill.started > 1 ? 's' : ''}
|
||||||
</li>
|
</ListItem>
|
||||||
{/each}
|
{/each}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<h2>Highlighted Projects</h2>
|
||||||
|
{#each PROJECTS as project}
|
||||||
|
<ListItem>
|
||||||
|
<Link href={project.href}>{project.name}</Link> - {project.description}
|
||||||
|
</ListItem>
|
||||||
|
{/each}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue