website/src/views/Projects.vue

350 lines
9.2 KiB
Vue
Raw Normal View History

2021-10-23 22:57:48 +11:00
<template>
<div id="projects">
2021-11-01 21:23:57 +11:00
<v-container>
2022-02-05 21:17:10 +11:00
<p class="justify-center text-center text-h4">My Projects</p>
2021-11-01 15:17:50 +11:00
<v-row>
2021-11-06 00:40:51 +11:00
<v-col md="3" v-for="(project, index) in getVisible" :key="index">
2022-02-04 23:59:48 +11:00
<v-card class="rounded-xl" elevation="8">
2022-02-05 14:39:37 +11:00
<v-img :src="getImage(project.internalName)"></v-img>
2021-11-01 21:23:57 +11:00
2022-02-05 14:39:37 +11:00
<v-card-title>{{ project.name }}</v-card-title>
2021-11-01 21:23:57 +11:00
<v-card-text>
2022-02-05 21:28:05 +11:00
<span style="white-space: pre-line; overflow-wrap: anywhere">{{
project.description
}}</span>
2021-11-01 21:23:57 +11:00
</v-card-text>
<v-divider class="mx-4"></v-divider>
2022-02-05 14:39:37 +11:00
<v-card-title>Information</v-card-title>
2021-11-01 21:23:57 +11:00
<v-card-text>
2022-02-05 14:39:37 +11:00
<v-chip-group column>
2021-11-01 15:17:50 +11:00
<v-chip
2022-02-05 21:28:05 +11:00
v-for="tag in project.tags"
:key="tag.id"
:href="tag.link"
:color="tag.color"
disabled
style="opacity: 1"
2021-11-01 15:17:50 +11:00
>
2022-02-05 14:39:37 +11:00
<v-icon>{{ tag.icon }}</v-icon
><template v-if="tag.icon">&nbsp;</template>
{{ tag.name }}
2021-11-01 15:17:50 +11:00
</v-chip>
2021-11-01 21:23:57 +11:00
</v-chip-group>
</v-card-text>
<v-divider v-if="project.links.length" class="mx-4"></v-divider>
2022-02-05 14:39:37 +11:00
<v-card-actions v-if="project.links.length">
2021-11-01 21:23:57 +11:00
<v-btn
2022-02-05 21:28:05 +11:00
v-for="link in project.links"
:key="link.name"
color="blue"
text
:href="link.link"
2021-11-01 21:23:57 +11:00
>
2022-02-05 14:39:37 +11:00
{{ link.name }}
2021-11-01 21:23:57 +11:00
</v-btn>
</v-card-actions>
2021-11-01 15:17:50 +11:00
</v-card>
</v-col>
</v-row>
2021-10-23 22:57:48 +11:00
</v-container>
</div>
</template>
<script>
export default {
2021-11-01 15:17:50 +11:00
name: "Projects",
data() {
return {
projects: [
{
id: 1,
name: "Kaverti",
internalName: "kaverti",
tags: [
{
internalName: "inactive",
name: "Discontinued",
color: "error",
icon: "mdi-alert-circle"
},
2021-11-01 21:23:57 +11:00
{
internalName: "vue",
name: "Vue",
icon: "mdi-vuejs",
color: "#42b883",
2021-11-06 00:40:51 +11:00
link: "https://vuejs.org"
2021-11-01 21:23:57 +11:00
},
{
internalName: "express",
name: "Express",
icon: "mdi-nodejs",
2021-11-06 00:40:51 +11:00
link: "https://expressjs.com"
2022-02-05 14:39:37 +11:00
}
2021-11-01 15:17:50 +11:00
],
2022-02-05 14:39:37 +11:00
description:
2022-02-05 21:28:05 +11:00
"A 3D sandbox game, and social avatar platform written in Express and Vue.js.",
2021-11-01 15:17:50 +11:00
visible: true,
2022-02-05 21:17:10 +11:00
links: []
2021-11-01 15:17:50 +11:00
},
{
id: 2,
name: "Jays.host",
internalName: "proj01",
tags: [
{
internalName: "active",
name: "Active",
2021-11-01 21:23:57 +11:00
icon: "mdi-check-circle",
2021-11-01 15:17:50 +11:00
color: "success"
},
2021-11-01 21:23:57 +11:00
{
internalName: "vue",
name: "Vue",
icon: "mdi-vuejs",
color: "#42b883",
2021-11-06 00:40:51 +11:00
link: "https://vuejs.org"
2021-11-01 21:23:57 +11:00
},
{
internalName: "express",
name: "Express",
icon: "mdi-nodejs",
2021-11-06 00:40:51 +11:00
link: "https://expressjs.com"
2022-02-05 14:39:37 +11:00
}
2021-11-01 15:17:50 +11:00
],
2022-02-05 14:39:37 +11:00
description:
2022-02-05 21:28:05 +11:00
"An invite only file uploading service written in Express and Vue.js.",
2021-11-01 15:17:50 +11:00
visible: true,
2022-02-05 14:39:37 +11:00
links: [
{
name: "Website",
link: "https://jays.host"
}
]
2021-11-01 15:17:50 +11:00
},
{
id: 3,
2021-11-01 21:23:57 +11:00
name: "Pinnoto Mira",
2021-11-01 15:17:50 +11:00
internalName: "mira",
tags: [
{
internalName: "development",
name: "In Development",
2021-11-01 21:23:57 +11:00
icon: "mdi-information",
2021-11-01 15:17:50 +11:00
color: "info"
},
{
internalName: "openSource",
name: "Open Source",
icon: "mdi-git"
},
2021-11-01 21:23:57 +11:00
{
internalName: "vue",
name: "Vue",
icon: "mdi-vuejs",
color: "#42b883",
2021-11-06 00:40:51 +11:00
link: "https://vuejs.org"
2021-11-01 21:23:57 +11:00
},
{
internalName: "crystal",
color: "black",
name: "Crystal",
icon: "mdi-language-ruby",
2021-11-06 00:40:51 +11:00
link: "https://crystal-lang.org"
2022-02-05 14:39:37 +11:00
}
2021-11-01 15:17:50 +11:00
],
description: "EPUB reader written in Crystal and Vue.js.",
visible: true,
2022-02-05 14:39:37 +11:00
links: [
{
name: "Git Repository",
link: "https://github.com/pinnoto/mira"
}
]
2021-11-01 21:23:57 +11:00
},
{
id: 4,
name: "Polytoria",
internalName: "polytoria",
tags: [
{
internalName: "development",
name: "In Development",
icon: "mdi-information",
color: "info"
},
{
internalName: "vue",
name: "Vue",
icon: "mdi-vuejs",
color: "#42b883",
2021-11-06 00:40:51 +11:00
link: "https://vuejs.org"
2021-11-01 21:23:57 +11:00
},
{
internalName: "adonis",
name: "Adonis.JS",
icon: "mdi-nodejs",
2021-11-06 00:40:51 +11:00
link: "https://adonisjs.com"
2022-02-05 14:39:37 +11:00
}
2021-11-01 21:23:57 +11:00
],
2022-02-05 14:39:37 +11:00
description:
2022-02-05 21:28:05 +11:00
"Helping create the brand new website for Polytoria, a 3D sandbox platform.",
2021-11-01 21:23:57 +11:00
visible: true,
2022-02-05 14:39:37 +11:00
links: [
{
name: "Website",
link: "https://polytoria.com"
}
]
2021-11-01 21:23:57 +11:00
},
{
id: 5,
name: "Pinnoto Berri",
internalName: "berri",
tags: [
{
internalName: "development",
name: "In Development",
icon: "mdi-information",
color: "info"
},
{
internalName: "openSource",
name: "Open Source",
icon: "mdi-git"
},
{
internalName: "vue",
name: "Vue",
icon: "mdi-vuejs",
color: "#42b883",
2021-11-06 00:40:51 +11:00
link: "https://vuejs.org"
2021-11-01 21:23:57 +11:00
},
{
internalName: "crystal",
color: "black",
name: "Crystal",
icon: "mdi-language-ruby",
2021-11-06 00:40:51 +11:00
link: "https://crystal-lang.org"
2022-02-05 14:39:37 +11:00
}
2021-11-01 21:23:57 +11:00
],
2022-02-05 14:39:37 +11:00
description:
2022-02-05 21:28:05 +11:00
"Open source file hosting service which aims to be performant, and modular.\nName not finalized.",
2021-11-01 21:23:57 +11:00
visible: true,
links: {}
},
{
id: 6,
name: "Flowinity",
internalName: "flowinity",
tags: [
{
internalName: "development",
name: "In Development",
icon: "mdi-information",
color: "info"
}
],
description: "A tech blog.",
visible: true,
links: {}
},
{
id: 7,
2022-02-05 14:39:37 +11:00
name: "Troplo Website",
2021-11-01 21:23:57 +11:00
internalName: "troplo-website",
tags: [
2022-02-04 23:59:48 +11:00
{
internalName: "active",
name: "Active",
icon: "mdi-check-circle",
color: "success"
},
2021-11-01 21:23:57 +11:00
{
internalName: "openSource",
name: "Open Source",
icon: "mdi-git"
},
{
internalName: "vue",
name: "Vue",
icon: "mdi-vuejs",
color: "#42b883",
2021-11-06 00:40:51 +11:00
link: "https://vuejs.org"
2022-02-05 14:39:37 +11:00
}
2021-11-01 21:23:57 +11:00
],
2022-02-05 21:28:05 +11:00
description: "The website you are viewing right now.",
2022-02-04 23:59:48 +11:00
visible: true,
2021-11-01 21:23:57 +11:00
links: [
{
name: "Git Repository",
2022-02-05 21:17:10 +11:00
link: "https://github.com/Troplo/website"
2021-11-01 21:23:57 +11:00
},
{
name: "Website",
link: "https://troplo.com"
2022-02-05 14:39:37 +11:00
}
]
2021-11-01 15:17:50 +11:00
},
2022-02-04 23:59:48 +11:00
{
id: 8,
name: "Pinnoto Psittacus",
internalName: "psittacus",
tags: [
{
internalName: "development",
name: "In Development",
icon: "mdi-information",
color: "info"
},
2022-02-05 21:17:10 +11:00
{
internalName: "openSource",
name: "Open Source",
icon: "mdi-git"
},
2022-02-04 23:59:48 +11:00
{
internalName: "vue",
name: "Vue",
icon: "mdi-vuejs",
color: "#42b883",
link: "https://vuejs.org"
},
{
internalName: "tauri",
name: "Tauri",
icon: "mdi-infinity",
color: "#24c8db",
link: "https://tauri.studio"
2022-02-05 14:39:37 +11:00
}
2022-02-04 23:59:48 +11:00
],
2022-02-05 14:39:37 +11:00
description: "Code editor. Coming soon.",
2022-02-04 23:59:48 +11:00
visible: true,
links: []
2022-02-05 14:39:37 +11:00
}
2022-02-05 21:28:05 +11:00
]
}
},
computed: {
getVisible() {
return this.projects.filter((i) => i.visible)
}
},
methods: {
getImage(image) {
try {
return require("../assets/images/" + image + ".png")
} catch {
return (
2022-02-05 14:39:37 +11:00
"https://dummyimage.com/1920x1080/151515/ffffff.png&text=" + image
2022-02-05 21:28:05 +11:00
)
}
2021-11-01 21:23:57 +11:00
}
2021-11-01 15:17:50 +11:00
}
2021-10-23 22:57:48 +11:00
}
2022-02-05 14:39:37 +11:00
</script>