Nuxt Content 3 migration #12
@ -14,7 +14,7 @@ date?
|
|||||||
image
|
image
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const imgUrl = `url(/assets/images/projects/${project.img ?? ""})`;
|
const imgUrl = `url(/images/projects/${project.img ?? ""})`;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@ -27,7 +27,7 @@ const imgUrl = `url(/assets/images/projects/${project.img ?? ""})`;
|
|||||||
<div class="flex gap-1 items-center flex-nowrap">
|
<div class="flex gap-1 items-center flex-nowrap">
|
||||||
<img
|
<img
|
||||||
class="h-5 w-5 m-0"
|
class="h-5 w-5 m-0"
|
||||||
:src="`/assets/images/langs/${lang}.svg`"
|
:src="`/images/langs/${lang}.svg`"
|
||||||
v-for="(lang, index) in project.langs"
|
v-for="(lang, index) in project.langs"
|
||||||
:key="index"
|
:key="index"
|
||||||
/>
|
/>
|
||||||
|
@ -5,12 +5,14 @@ const props = defineProps<{
|
|||||||
img: string;
|
img: string;
|
||||||
unclickable?: boolean;
|
unclickable?: boolean;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
|
const imgUrl = `/images/services/${props.img}`;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<a :href="unclickable ? '' : href" :class="['no-underline', { unclickable }]">
|
<a :href="unclickable ? '' : href" :class="['no-underline', { unclickable }]">
|
||||||
<div class="card flex flex-col items-center justify-around">
|
<div class="card flex flex-col items-center justify-around">
|
||||||
<img class="m-0" :src="img" />
|
<img class="m-0" :src="imgUrl" />
|
||||||
<h3 class="m-0">{{ props.name }}</h3>
|
<h3 class="m-0">{{ props.name }}</h3>
|
||||||
<p class="desc-text text-gray-600 dark:text-gray-200"><slot /></p>
|
<p class="desc-text text-gray-600 dark:text-gray-200"><slot /></p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -14,39 +14,31 @@
|
|||||||
</p>
|
</p>
|
||||||
<!-- i could make this a list but god i'm so tired with nuxt -->
|
<!-- i could make this a list but god i'm so tired with nuxt -->
|
||||||
<div class="flex justify-around flex-wrap gap-8 items-center">
|
<div class="flex justify-around flex-wrap gap-8 items-center">
|
||||||
<ServiceCard
|
<ServiceCard name="Gitea" href="https://git.eggworld.tk" img="gitea.png">
|
||||||
name="Gitea"
|
|
||||||
href="https://git.eggworld.tk"
|
|
||||||
img="/assets/images/services/gitea.png"
|
|
||||||
>
|
|
||||||
Self-hosted GitHub
|
Self-hosted GitHub
|
||||||
</ServiceCard>
|
</ServiceCard>
|
||||||
<ServiceCard
|
<ServiceCard
|
||||||
name="Eifueo"
|
name="Eifueo"
|
||||||
href="https://eifueo.eggworld.tk"
|
href="https://eifueo.eggworld.tk"
|
||||||
img="/assets/images/services/eifueo.svg"
|
img="eifueo.svg"
|
||||||
>
|
>
|
||||||
Note collection
|
Note collection
|
||||||
</ServiceCard>
|
</ServiceCard>
|
||||||
<ServiceCard
|
<ServiceCard
|
||||||
name="Primoprod"
|
name="Primoprod"
|
||||||
href="https://primoprod.eggworld.tk"
|
href="https://primoprod.eggworld.tk"
|
||||||
img="/assets/images/services/primogem.png"
|
img="primogem.png"
|
||||||
>
|
>
|
||||||
Wish simulator
|
Wish simulator
|
||||||
</ServiceCard>
|
</ServiceCard>
|
||||||
<ServiceCard
|
<ServiceCard
|
||||||
name="Calibre"
|
name="Calibre"
|
||||||
href="https://calibre.eggworld.tk"
|
href="https://calibre.eggworld.tk"
|
||||||
img="/assets/images/services/calibre-web.png"
|
img="calibre-web.png"
|
||||||
>
|
>
|
||||||
Kobo Cloud
|
Kobo Cloud
|
||||||
</ServiceCard>
|
</ServiceCard>
|
||||||
<ServiceCard
|
<ServiceCard name="Plex" href="https://plex.eggworld.tk" img="plex.png">
|
||||||
name="Plex"
|
|
||||||
href="https://plex.eggworld.tk"
|
|
||||||
img="/assets/images/services/plex.png"
|
|
||||||
>
|
|
||||||
Ad-filled media server
|
Ad-filled media server
|
||||||
</ServiceCard>
|
</ServiceCard>
|
||||||
|
|
||||||
@ -61,7 +53,7 @@
|
|||||||
<ServiceCard
|
<ServiceCard
|
||||||
name="Minecraft"
|
name="Minecraft"
|
||||||
href="minecraft.eggworld.tk"
|
href="minecraft.eggworld.tk"
|
||||||
img="/assets/images/services/minecraft.png"
|
img="minecraft.png"
|
||||||
:unclickable="true"
|
:unclickable="true"
|
||||||
>
|
>
|
||||||
Whitelisted
|
Whitelisted
|
||||||
|
After Width: | Height: | Size: 745 B |
After Width: | Height: | Size: 9.2 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 282 B |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 365 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 466 B |
After Width: | Height: | Size: 69 KiB |
After Width: | Height: | Size: 54 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 155 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 150 KiB |
After Width: | Height: | Size: 7.6 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 251 B |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 664 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 61 KiB |