From f7f008cc89478109812afa7c7f82a31d5ff9e284 Mon Sep 17 00:00:00 2001 From: ngn Date: Thu, 13 Jul 2023 00:58:55 +0300 Subject: [PATCH] small fixes and better ui and performance --- components/Input.vue | 2 +- components/Project.vue | 2 +- components/Resource.vue | 2 +- ecosystem.config.js | 5 +- layouts/error.vue | 5 + nuxt.config.js | 9 +- pages/blog/_id/index.vue | 7 +- pages/index.vue | 2 +- static/font.css | 64 ++ static/fonts/cyrillic-ext.woff2 | Bin 0 -> 26944 bytes static/fonts/cyrillic.woff2 | Bin 0 -> 21128 bytes static/fonts/greek-ext.woff2 | Bin 0 -> 16652 bytes static/fonts/greek.woff2 | Bin 0 -> 16244 bytes static/fonts/latin-ext.woff2 | Bin 0 -> 53820 bytes static/fonts/latin.woff2 | Bin 0 -> 38752 bytes static/github.css | 1007 +++++++++++++++++++++++++++++++ static/global.css | 7 +- 17 files changed, 1095 insertions(+), 17 deletions(-) create mode 100644 static/font.css create mode 100644 static/fonts/cyrillic-ext.woff2 create mode 100644 static/fonts/cyrillic.woff2 create mode 100644 static/fonts/greek-ext.woff2 create mode 100644 static/fonts/greek.woff2 create mode 100644 static/fonts/latin-ext.woff2 create mode 100644 static/fonts/latin.woff2 create mode 100644 static/github.css diff --git a/components/Input.vue b/components/Input.vue index 1b88429..d5ed426 100644 --- a/components/Input.vue +++ b/components/Input.vue @@ -13,7 +13,7 @@ input { width: 500px; font-size: 25px; padding: 20px; - border-radius: 20px; + border-radius: 10px; background: var(--dark-two); border: none; color: white; diff --git a/components/Project.vue b/components/Project.vue index e5311f9..250140a 100644 --- a/components/Project.vue +++ b/components/Project.vue @@ -29,9 +29,9 @@ main { gap: 20px; padding: 40px; cursor: pointer; - transition: 0.4s; height: 100px; width: 450px; + transition: .4s; } main:hover { diff --git a/components/Resource.vue b/components/Resource.vue index df74ce8..628767c 100644 --- a/components/Resource.vue +++ b/components/Resource.vue @@ -32,9 +32,9 @@ main { color: var(--white); justify-content: space-between; align-items: center; - transition: 0.4s; width: 80%; cursor: pointer; + transition: .4s; } main:hover { diff --git a/ecosystem.config.js b/ecosystem.config.js index ddffb4b..5178bcb 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -1,9 +1,10 @@ +// https://v2.nuxt.com/deployments/pm2/ module.exports = { apps: [ { - name: "My Website", + name: "ngn13.fun website", exec_mode: "cluster", - instances: "max", // Or a number of instances + instances: "max", script: "./node_modules/nuxt/bin/nuxt.js", args: "start" } diff --git a/layouts/error.vue b/layouts/error.vue index ad45e27..e9ff2b0 100644 --- a/layouts/error.vue +++ b/layouts/error.vue @@ -1,5 +1,10 @@ + +