diff --git a/nginx/vue/public/img/stamps/3ds.jpg b/nginx/vue/public/img/stamps/3ds.jpg new file mode 100644 index 0000000..ec6dc86 Binary files /dev/null and b/nginx/vue/public/img/stamps/3ds.jpg differ diff --git a/nginx/vue/public/img/stamps/ai.png b/nginx/vue/public/img/stamps/ai.png new file mode 100644 index 0000000..e866e4f Binary files /dev/null and b/nginx/vue/public/img/stamps/ai.png differ diff --git a/nginx/vue/public/img/stamps/demo.gif b/nginx/vue/public/img/stamps/demo.gif new file mode 100644 index 0000000..28cd2ab Binary files /dev/null and b/nginx/vue/public/img/stamps/demo.gif differ diff --git a/nginx/vue/public/img/stamps/fry.png b/nginx/vue/public/img/stamps/fry.png new file mode 100644 index 0000000..e387349 Binary files /dev/null and b/nginx/vue/public/img/stamps/fry.png differ diff --git a/nginx/vue/public/img/stamps/haha.gif b/nginx/vue/public/img/stamps/haha.gif new file mode 100644 index 0000000..c275ac9 Binary files /dev/null and b/nginx/vue/public/img/stamps/haha.gif differ diff --git a/nginx/vue/public/img/stamps/lain.gif b/nginx/vue/public/img/stamps/lain.gif new file mode 100644 index 0000000..7f43406 Binary files /dev/null and b/nginx/vue/public/img/stamps/lain.gif differ diff --git a/nginx/vue/public/img/stamps/rei.png b/nginx/vue/public/img/stamps/rei.png new file mode 100644 index 0000000..225ada7 Binary files /dev/null and b/nginx/vue/public/img/stamps/rei.png differ diff --git a/nginx/vue/public/img/stamps/teto.webp b/nginx/vue/public/img/stamps/teto.webp new file mode 100644 index 0000000..c7165a6 Binary files /dev/null and b/nginx/vue/public/img/stamps/teto.webp differ diff --git a/nginx/vue/public/img/stamps/tetris.gif b/nginx/vue/public/img/stamps/tetris.gif new file mode 100644 index 0000000..c0273c0 Binary files /dev/null and b/nginx/vue/public/img/stamps/tetris.gif differ diff --git a/nginx/vue/public/img/stamps/tf2.gif b/nginx/vue/public/img/stamps/tf2.gif new file mode 100644 index 0000000..c604fee Binary files /dev/null and b/nginx/vue/public/img/stamps/tf2.gif differ diff --git a/nginx/vue/src/assets/styles.css b/nginx/vue/src/assets/styles.css index f5fa9b7..2e6f4ef 100644 --- a/nginx/vue/src/assets/styles.css +++ b/nginx/vue/src/assets/styles.css @@ -205,28 +205,28 @@ td { @media (max-width: 850px) { .a4page-portrait { width: 100%; /* fill mobile width */ - height: auto; /* adjust height automatically */ + height: fit-content; margin: 0 auto; /* center horizontally */ box-sizing: border-box; } .a4page-landscape { width: 100%; /* fill mobile width */ - height: auto; /* adjust height automatically */ + height: fit-content; margin: 0 auto; /* center horizontally */ box-sizing: border-box; } } @media (max-width: 600px) { .a5page-portrait { - width: 100%; /* fill mobile width */ - height: auto; /* adjust height automatically */ - margin: 0 auto; /* center horizontally */ + width: 100%; + height: fit-content; + margin: 0 auto; box-sizing: border-box; } .a5page-landscape { - width: 100%; /* fill mobile width */ - height: auto; /* adjust height automatically */ - margin: 0 auto; /* center horizontally */ + width: 100%; + height: fit-content; + margin: 0 auto; box-sizing: border-box; } } diff --git a/nginx/vue/src/components/home/Consumption.vue b/nginx/vue/src/components/home/Consumption.vue index 40111a7..e89407b 100644 --- a/nginx/vue/src/components/home/Consumption.vue +++ b/nginx/vue/src/components/home/Consumption.vue @@ -4,6 +4,29 @@ import OptionalLinkTable from "@/components/util/OptionalLinkTable.vue"; import Header from "@/components/text/Header.vue"; const data = [ + { + type: "Anime", + name: "Cowboy bebop", + }, + { + type: "Game", + name: "Rounds", + link: "https://store.steampowered.com/app/1557740/ROUNDS/", + }, + { + type: "Boardgame", + name: "Root", + }, + { + type: "Game", + name: "The farmer was replaced", + link: "https://store.steampowered.com/app/2060160/The_Farmer_Was_Replaced/", + }, + { + type: "Game", + name: "Higurashi When They Cry Hou - Ch.1", + link: "https://store.steampowered.com/app/310360/Higurashi_When_They_Cry_Hou__Ch1_Onikakushi/", + }, { type: "Substack", name: "By Ellie", diff --git a/nginx/vue/src/components/home/Gym.vue b/nginx/vue/src/components/home/Gym.vue index d3c02fb..bcdaa55 100644 --- a/nginx/vue/src/components/home/Gym.vue +++ b/nginx/vue/src/components/home/Gym.vue @@ -9,10 +9,11 @@ const gym = [ + + + + diff --git a/nginx/vue/src/js/utils.js b/nginx/vue/src/js/utils.js new file mode 100644 index 0000000..9928841 --- /dev/null +++ b/nginx/vue/src/js/utils.js @@ -0,0 +1,8 @@ +export function shuffleArray(array) { + for (var i = array.length - 1; i > 0; i--) { + var j = Math.floor(Math.random() * (i + 1)); + var temp = array[i]; + array[i] = array[j]; + array[j] = temp; + } +} diff --git a/nginx/vue/src/views/Home.vue b/nginx/vue/src/views/Home.vue index 0ce16bd..adabd67 100644 --- a/nginx/vue/src/views/Home.vue +++ b/nginx/vue/src/views/Home.vue @@ -17,32 +17,40 @@ import Consumption from "@/components/home/Consumption.vue";