This commit is contained in:
Troplo 2022-02-05 21:28:05 +11:00
parent 845f114ee8
commit 1406eb9166
6 changed files with 45 additions and 42 deletions

View file

@ -4,7 +4,7 @@
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build --no-clean",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"postinstall": "patch-package"
},

View file

@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
<title>Troplo's Website</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,700;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet">
@ -14,7 +14,7 @@
</head>
<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
<strong>We're sorry but Troplo's Website doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->

View file

@ -1,2 +0,0 @@
User-agent: *
Disallow:

View file

@ -19,7 +19,7 @@
:key="item.id"
class="ml-1"
:to="item.path"
style="text-transform: unset !important;"
style="text-transform: unset !important"
:disabled="item.disabled"
>
<v-list-item-title>{{ item.title }}</v-list-item-title>
@ -57,7 +57,11 @@
<v-list-item-title>{{ item.title }}</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item link @click="$vuetify.theme.dark = !$vuetify.theme.dark" v-if="false">
<v-list-item
link
@click="$vuetify.theme.dark = !$vuetify.theme.dark"
v-if="false"
>
<v-list-item-icon>
<v-icon>{{
$vuetify.theme.dark ? "mdi-lightbulb-on" : "mdi-lightbulb-outline"

View file

@ -10,7 +10,9 @@
<v-card-title>{{ project.name }}</v-card-title>
<v-card-text>
<span style="white-space: pre-line; overflow-wrap: anywhere;">{{ project.description }}</span>
<span style="white-space: pre-line; overflow-wrap: anywhere">{{
project.description
}}</span>
</v-card-text>
<v-divider class="mx-4"></v-divider>
@ -20,12 +22,12 @@
<v-card-text>
<v-chip-group column>
<v-chip
v-for="tag in project.tags"
:key="tag.id"
:href="tag.link"
:color="tag.color"
disabled
style="opacity: 1"
v-for="tag in project.tags"
:key="tag.id"
:href="tag.link"
:color="tag.color"
disabled
style="opacity: 1"
>
<v-icon>{{ tag.icon }}</v-icon
><template v-if="tag.icon">&nbsp;</template>
@ -38,11 +40,11 @@
<v-card-actions v-if="project.links.length">
<v-btn
v-for="link in project.links"
:key="link.name"
color="blue"
text
:href="link.link"
v-for="link in project.links"
:key="link.name"
color="blue"
text
:href="link.link"
>
{{ link.name }}
</v-btn>
@ -86,7 +88,7 @@ export default {
}
],
description:
"A 3D sandbox game, and social avatar platform written in Express and Vue.js.",
"A 3D sandbox game, and social avatar platform written in Express and Vue.js.",
visible: true,
links: []
},
@ -116,7 +118,7 @@ export default {
}
],
description:
"An invite only file uploading service written in Express and Vue.js.",
"An invite only file uploading service written in Express and Vue.js.",
visible: true,
links: [
{
@ -191,7 +193,7 @@ export default {
}
],
description:
"Helping create the brand new website for Polytoria, a 3D sandbox platform.",
"Helping create the brand new website for Polytoria, a 3D sandbox platform.",
visible: true,
links: [
{
@ -232,7 +234,7 @@ export default {
}
],
description:
"Open source file hosting service which aims to be performant, and modular.\nName not finalized.",
"Open source file hosting service which aims to be performant, and modular.\nName not finalized.",
visible: true,
links: {}
},
@ -276,8 +278,7 @@ export default {
link: "https://vuejs.org"
}
],
description:
"The website you are viewing right now.",
description: "The website you are viewing right now.",
visible: true,
links: [
{
@ -325,24 +326,24 @@ export default {
visible: true,
links: []
}
]
}
},
computed: {
getVisible() {
return this.projects.filter((i) => i.visible)
}
},
methods: {
getImage(image) {
try {
return require("../assets/images/" + image + ".png")
} catch {
return (
]
}
},
computed: {
getVisible() {
return this.projects.filter((i) => i.visible)
}
},
methods: {
getImage(image) {
try {
return require("../assets/images/" + image + ".png")
} catch {
return (
"https://dummyimage.com/1920x1080/151515/ffffff.png&text=" + image
)
)
}
}
}
}
}
</script>

View file

@ -34,5 +34,5 @@ module.exports = {
}
})
]
},
}
}