diff --git a/public/assets/projects/RubysAdventure_1.jpg b/public/assets/projects/RubysAdventure_1.jpg new file mode 100644 index 0000000..fd76b02 Binary files /dev/null and b/public/assets/projects/RubysAdventure_1.jpg differ diff --git a/public/assets/projects/RubysAdventure_2.jpg b/public/assets/projects/RubysAdventure_2.jpg new file mode 100644 index 0000000..924d348 Binary files /dev/null and b/public/assets/projects/RubysAdventure_2.jpg differ diff --git a/src/components/PublicHeader.vue b/src/components/PublicHeader.vue index 8c43b2f..1c39681 100644 --- a/src/components/PublicHeader.vue +++ b/src/components/PublicHeader.vue @@ -12,7 +12,7 @@ 博客
  • - 项目 + 项目
  • 关于 diff --git a/src/data/color.json b/src/data/color.json index 66fc871..293d134 100644 --- a/src/data/color.json +++ b/src/data/color.json @@ -9,6 +9,8 @@ "React": "#1c79c2", "Python": "#3c78aa", "Scrapy": "#448f3d", - "Java": "#d9292a" + "Java": "#d9292a", + "教程向": "#3865ec", + "Unity": "#58137f" } } diff --git a/src/data/projects.json b/src/data/projects.json index 962fb3e..08a9ce3 100644 --- a/src/data/projects.json +++ b/src/data/projects.json @@ -1,5 +1,21 @@ { "projects": [ + { + "id": 0, + "isStar": true, + "type": "游戏", + "name": "Ruby的冒险", + "tag": ["教程向", "Unity", "2.5D"], + "description": "学习Unity开发中制作的2.5D小游戏", + "descriptionMini": "使用Unity开发的2.5D小游戏", + "img": [ + "./assets/projects/RubysAdventure_1.jpg", + "./assets/projects/RubysAdventure_2.jpg" + ], + "createTime": "2022.06.30", + "repository": "https://github.com/alphaAE/RubysAdventure", + "playUrl": "http://www.alphaae.com/games/RubysAdventure/" + }, { "id": 1, "isStar": true, @@ -55,7 +71,7 @@ }, { "id": 3, - "isStar": true, + "isStar": false, "type": "Mod", "name": "文字冒险框架模组", "tag": ["Minecraft", "ModPE", "JavaScript"], diff --git a/vue.config.js b/vue.config.js index 910e297..e939b56 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,4 +1,5 @@ -const { defineConfig } = require('@vue/cli-service') +const { defineConfig } = require("@vue/cli-service"); module.exports = defineConfig({ - transpileDependencies: true -}) + transpileDependencies: true, + // publicPath: "./", +});