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, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
"build": "vue-cli-service build --no-clean", "build": "vue-cli-service build",
"lint": "vue-cli-service lint", "lint": "vue-cli-service lint",
"postinstall": "patch-package" "postinstall": "patch-package"
}, },

View file

@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0"> <meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> <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.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <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"> <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> </head>
<body> <body>
<noscript> <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> </noscript>
<div id="app"></div> <div id="app"></div>
<!-- built files will be auto injected --> <!-- built files will be auto injected -->

View file

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

View file

@ -19,7 +19,7 @@
:key="item.id" :key="item.id"
class="ml-1" class="ml-1"
:to="item.path" :to="item.path"
style="text-transform: unset !important;" style="text-transform: unset !important"
:disabled="item.disabled" :disabled="item.disabled"
> >
<v-list-item-title>{{ item.title }}</v-list-item-title> <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-title>{{ item.title }}</v-list-item-title>
</v-list-item-content> </v-list-item-content>
</v-list-item> </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-list-item-icon>
<v-icon>{{ <v-icon>{{
$vuetify.theme.dark ? "mdi-lightbulb-on" : "mdi-lightbulb-outline" $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-title>{{ project.name }}</v-card-title>
<v-card-text> <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-card-text>
<v-divider class="mx-4"></v-divider> <v-divider class="mx-4"></v-divider>
@ -276,8 +278,7 @@ export default {
link: "https://vuejs.org" link: "https://vuejs.org"
} }
], ],
description: description: "The website you are viewing right now.",
"The website you are viewing right now.",
visible: true, visible: true,
links: [ links: [
{ {
@ -327,13 +328,13 @@ export default {
} }
] ]
} }
}, },
computed: { computed: {
getVisible() { getVisible() {
return this.projects.filter((i) => i.visible) return this.projects.filter((i) => i.visible)
} }
}, },
methods: { methods: {
getImage(image) { getImage(image) {
try { try {
return require("../assets/images/" + image + ".png") return require("../assets/images/" + image + ".png")
@ -343,6 +344,6 @@ methods: {
) )
} }
} }
} }
} }
</script> </script>

View file

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