diff --git a/.prettierrc.json b/.prettierrc.json index 66e2335..24f1a24 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/prettierrc", "semi": false, - "tabWidth": 2, + "tabWidth": 4, "singleQuote": true, "printWidth": 100, "trailingComma": "none" diff --git a/index.html b/index.html index 6f42dca..5860039 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - + FiDA diff --git a/package-lock.json b/package-lock.json index 154a29d..2bf816e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,6 @@ "less": "^4.3.0", "lint-staged": "^13.2.1", "npm-run-all": "^4.1.5", - "prettier": "^2.8.4", "typescript": "~4.8.4", "unplugin-auto-import": "^0.15.3", "unplugin-vue-components": "^0.24.1", @@ -6256,11 +6255,16 @@ "resolved": "https://registry.npmmirror.com/prettier/-/prettier-2.8.8.tgz", "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", "dev": true, + "license": "MIT", + "peer": true, "bin": { "prettier": "bin-prettier.js" }, "engines": { "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" } }, "node_modules/prettier-linter-helpers": { @@ -13280,7 +13284,8 @@ "version": "2.8.8", "resolved": "https://registry.npmmirror.com/prettier/-/prettier-2.8.8.tgz", "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", - "dev": true + "dev": true, + "peer": true }, "prettier-linter-helpers": { "version": "1.0.0", diff --git a/package.json b/package.json index adefe3f..005b6d2 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,6 @@ "less": "^4.3.0", "lint-staged": "^13.2.1", "npm-run-all": "^4.1.5", - "prettier": "^2.8.4", "typescript": "~4.8.4", "unplugin-auto-import": "^0.15.3", "unplugin-vue-components": "^0.24.1", diff --git a/public/css/woff/Boska/Boska-Regular.ttf b/public/css/woff/Boska/Boska-Regular.ttf deleted file mode 100644 index 8e7fc26..0000000 Binary files a/public/css/woff/Boska/Boska-Regular.ttf and /dev/null differ diff --git a/public/css/woff/Boska/Boska-Regular.woff b/public/css/woff/Boska/Boska-Regular.woff deleted file mode 100644 index c2760bd..0000000 Binary files a/public/css/woff/Boska/Boska-Regular.woff and /dev/null differ diff --git a/public/css/woff/Mazzard/MazzardH-Regular.otf b/public/css/woff/Mazzard/MazzardH-Regular.otf deleted file mode 100644 index 931438e..0000000 Binary files a/public/css/woff/Mazzard/MazzardH-Regular.otf and /dev/null differ diff --git a/public/css/woff/Roboto/Roboto-Bold.ttf b/public/css/woff/Roboto/Roboto-Bold.ttf deleted file mode 100644 index d998cf5..0000000 Binary files a/public/css/woff/Roboto/Roboto-Bold.ttf and /dev/null differ diff --git a/public/css/woff/Roboto/Roboto-Regular.ttf b/public/css/woff/Roboto/Roboto-Regular.ttf deleted file mode 100644 index 2b6392f..0000000 Binary files a/public/css/woff/Roboto/Roboto-Regular.ttf and /dev/null differ diff --git a/public/css/woff/Satoshi/Satoshi-Bold.ttf b/public/css/woff/Satoshi/Satoshi-Bold.ttf deleted file mode 100644 index 00bc985..0000000 Binary files a/public/css/woff/Satoshi/Satoshi-Bold.ttf and /dev/null differ diff --git a/public/css/woff/Satoshi/Satoshi-Bold.woff b/public/css/woff/Satoshi/Satoshi-Bold.woff deleted file mode 100644 index bba8257..0000000 Binary files a/public/css/woff/Satoshi/Satoshi-Bold.woff and /dev/null differ diff --git a/public/css/woff/Satoshi/Satoshi-Medium.ttf b/public/css/woff/Satoshi/Satoshi-Medium.ttf deleted file mode 100644 index ab149b7..0000000 Binary files a/public/css/woff/Satoshi/Satoshi-Medium.ttf and /dev/null differ diff --git a/public/css/woff/Satoshi/Satoshi-Medium.woff b/public/css/woff/Satoshi/Satoshi-Medium.woff deleted file mode 100644 index cef3226..0000000 Binary files a/public/css/woff/Satoshi/Satoshi-Medium.woff and /dev/null differ diff --git a/public/css/woff/Satoshi/Satoshi-Regular.ttf b/public/css/woff/Satoshi/Satoshi-Regular.ttf deleted file mode 100644 index fe85cd6..0000000 Binary files a/public/css/woff/Satoshi/Satoshi-Regular.ttf and /dev/null differ diff --git a/public/css/woff/Satoshi/Satoshi-Regular.woff b/public/css/woff/Satoshi/Satoshi-Regular.woff deleted file mode 100644 index 03ac195..0000000 Binary files a/public/css/woff/Satoshi/Satoshi-Regular.woff and /dev/null differ diff --git a/public/css/woff/fontFamily.css b/public/css/woff/fontFamily.css deleted file mode 100644 index e6a53fc..0000000 --- a/public/css/woff/fontFamily.css +++ /dev/null @@ -1,50 +0,0 @@ -/* cyrillic-ext */ -@font-face { - font-family: 'satoshiRegular'; - font-style: italic; - font-weight: 700; - src: url("./Satoshi/Satoshi-Regular.ttf") format('woff2'), url("./Satoshi/Satoshi-Regular.woff") format('woff2'); - /* unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; */ -} -@font-face { - font-family: 'satoshiBold'; - font-style: italic; - font-weight: 700; - src: url("./Satoshi/Satoshi-Bold.ttf") format('woff2'), url("./Satoshi/Satoshi-Bold.woff") format('woff2'); - /* unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; */ -} -@font-face { - font-family: 'satoshiMedium'; - font-style: italic; - font-weight: 700; - src: url("./Satoshi/Satoshi-Medium.ttf") format('woff2'), url("./Satoshi/Satoshi-Medium.woff") format('woff2'); - /* unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; */ -} -@font-face { - font-family: 'mazzardHRegular'; - font-style: italic; - font-weight: 700; - src: url("./Mazzard/MazzardH-Regular.otf") format('opentype'); - /* unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; */ -} -@font-face { - font-family: 'robotoBold'; - font-style: italic; - font-weight: 700; - src: url("./Roboto/Roboto-Bold.ttf") format('woff2'); - /* unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; */ -} -@font-face { - font-family: 'robotoRegular'; - font-style: italic; - font-weight: 700; - src: url("./Roboto/Roboto-Regular.ttf") format('woff2'); - /* unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; */ -} -@font-face { - font-family: 'boskaRegular'; - font-style: italic; - font-weight: 700; - src: url("./Boska/Boska-Regular.ttf") format('woff2'), url("./Boska/Boska-Regular.woff") format('woff2'); - /* unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; */ -} \ No newline at end of file diff --git a/public/fonts/general/css/general-sans.css b/public/fonts/general/css/general-sans.css new file mode 100644 index 0000000..ad61178 --- /dev/null +++ b/public/fonts/general/css/general-sans.css @@ -0,0 +1,70 @@ +/** +* @license +* +* Font Family: General Sans +* Designed by: Frode Helland +* URL: https://www.fontshare.com/fonts/general-sans +* © 2026 Indian Type Foundry +* +* General Sans Extralight +* General Sans ExtralightItalic +* General Sans Light +* General Sans LightItalic +* General Sans Regular +* General Sans Italic +* General Sans Medium +* General Sans MediumItalic +* General Sans Semibold +* General Sans SemiboldItalic +* General Sans Bold +* General Sans BoldItalic +* General Sans Variable (Variable font) +* General Sans VariableItalic (Variable font) + +* +*/ +@font-face { + font-family: 'Regular'; + src:url('../fonts/GeneralSans-Regular.otf') format('opentype'); + font-weight: 400; + font-display: swap; + font-style: normal; +} + +@font-face { + font-family: 'Medium'; + src:url('../fonts/GeneralSans-Medium.otf') format('opentype'), + url('../fonts/GeneralSans-MediumItalic.otf') format('opentype'); + font-weight: 500; + font-display: swap; + font-style: italic; +} + +@font-face { + font-family: 'SemiBold'; + src:url('../fonts/GeneralSans-Semibold.otf') format('opentype'), + url('../fonts/GeneralSans-SemiboldItalic.otf') format('opentype'); + font-weight: 600; + font-display: swap; + font-style: italic; +} + +@font-face { + font-family: 'Bold'; + src:url('../fonts/GeneralSans-Bold.otf') format('opentype'), + url('../fonts/GeneralSans-BoldItalic.otf') format('opentype'); + font-weight: 700; + font-display: swap; + font-style: normal; +} + +@font-face { + font-family: 'Migra-Extrabold'; + src:url('../fonts/Migra-Extrabold.otf') format('opentype'), + url('../fonts/Migra-Extrabold.ttf') format('truetype'), + url('../fonts/Migra-Extrabold.woff') format('woff'), + url('../fonts/Migra-Extrabold.woff2') format('woff2'); + font-weight: 700; + font-display: swap; + font-style: normal; +} \ No newline at end of file diff --git a/public/fonts/general/fonts/GeneralSans-Bold.otf b/public/fonts/general/fonts/GeneralSans-Bold.otf new file mode 100644 index 0000000..697ce03 Binary files /dev/null and b/public/fonts/general/fonts/GeneralSans-Bold.otf differ diff --git a/public/fonts/general/fonts/GeneralSans-BoldItalic.otf b/public/fonts/general/fonts/GeneralSans-BoldItalic.otf new file mode 100644 index 0000000..c0f1cdd Binary files /dev/null and b/public/fonts/general/fonts/GeneralSans-BoldItalic.otf differ diff --git a/public/fonts/general/fonts/GeneralSans-Extralight.otf b/public/fonts/general/fonts/GeneralSans-Extralight.otf new file mode 100644 index 0000000..5a8cb07 Binary files /dev/null and b/public/fonts/general/fonts/GeneralSans-Extralight.otf differ diff --git a/public/fonts/general/fonts/GeneralSans-ExtralightItalic.otf b/public/fonts/general/fonts/GeneralSans-ExtralightItalic.otf new file mode 100644 index 0000000..28bc23e Binary files /dev/null and b/public/fonts/general/fonts/GeneralSans-ExtralightItalic.otf differ diff --git a/public/fonts/general/fonts/GeneralSans-Italic.otf b/public/fonts/general/fonts/GeneralSans-Italic.otf new file mode 100644 index 0000000..a489128 Binary files /dev/null and b/public/fonts/general/fonts/GeneralSans-Italic.otf differ diff --git a/public/fonts/general/fonts/GeneralSans-Light.otf b/public/fonts/general/fonts/GeneralSans-Light.otf new file mode 100644 index 0000000..6d4ca04 Binary files /dev/null and b/public/fonts/general/fonts/GeneralSans-Light.otf differ diff --git a/public/fonts/general/fonts/GeneralSans-LightItalic.otf b/public/fonts/general/fonts/GeneralSans-LightItalic.otf new file mode 100644 index 0000000..8637120 Binary files /dev/null and b/public/fonts/general/fonts/GeneralSans-LightItalic.otf differ diff --git a/public/fonts/general/fonts/GeneralSans-Medium.otf b/public/fonts/general/fonts/GeneralSans-Medium.otf new file mode 100644 index 0000000..42147fa Binary files /dev/null and b/public/fonts/general/fonts/GeneralSans-Medium.otf differ diff --git a/public/fonts/general/fonts/GeneralSans-MediumItalic.otf b/public/fonts/general/fonts/GeneralSans-MediumItalic.otf new file mode 100644 index 0000000..38dddc3 Binary files /dev/null and b/public/fonts/general/fonts/GeneralSans-MediumItalic.otf differ diff --git a/public/fonts/general/fonts/GeneralSans-Regular.otf b/public/fonts/general/fonts/GeneralSans-Regular.otf new file mode 100644 index 0000000..0447439 Binary files /dev/null and b/public/fonts/general/fonts/GeneralSans-Regular.otf differ diff --git a/public/fonts/general/fonts/GeneralSans-Semibold.otf b/public/fonts/general/fonts/GeneralSans-Semibold.otf new file mode 100644 index 0000000..a436638 Binary files /dev/null and b/public/fonts/general/fonts/GeneralSans-Semibold.otf differ diff --git a/public/fonts/general/fonts/GeneralSans-SemiboldItalic.otf b/public/fonts/general/fonts/GeneralSans-SemiboldItalic.otf new file mode 100644 index 0000000..8d4cd9b Binary files /dev/null and b/public/fonts/general/fonts/GeneralSans-SemiboldItalic.otf differ diff --git a/public/fonts/general/fonts/Migra-Extrabold.otf b/public/fonts/general/fonts/Migra-Extrabold.otf new file mode 100644 index 0000000..7b62f84 Binary files /dev/null and b/public/fonts/general/fonts/Migra-Extrabold.otf differ diff --git a/public/fonts/general/fonts/Migra-Extrabold.ttf b/public/fonts/general/fonts/Migra-Extrabold.ttf new file mode 100644 index 0000000..1e37046 Binary files /dev/null and b/public/fonts/general/fonts/Migra-Extrabold.ttf differ diff --git a/public/fonts/general/fonts/Migra-Extrabold.woff b/public/fonts/general/fonts/Migra-Extrabold.woff new file mode 100644 index 0000000..628584b Binary files /dev/null and b/public/fonts/general/fonts/Migra-Extrabold.woff differ diff --git a/public/fonts/general/fonts/Migra-Extrabold.woff2 b/public/fonts/general/fonts/Migra-Extrabold.woff2 new file mode 100644 index 0000000..c0941cb Binary files /dev/null and b/public/fonts/general/fonts/Migra-Extrabold.woff2 differ diff --git a/src/assets/css/style.css b/src/assets/css/style.css index 2fee134..1baca71 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -12,6 +12,7 @@ p { } * { box-sizing: border-box; + font-family: 'Medium'; } html, body, @@ -33,32 +34,3 @@ body, background-image: url('@/assets/images/home-bg.png'); background-size: 100% 100%; } - -.flex { - display: flex; -} - -.flex-col { - flex-direction: column; -} - -.flex-center { - justify-content: center; - align-items: center; -} - -.flex-1 { - flex: 1; -} - -.align-center { - align-items: center; -} - -.justify-center { - justify-content: center; -} - -.space-between { - justify-content: space-between; -} diff --git a/src/assets/css/style.less b/src/assets/css/style.less index dca86b8..fa738dc 100644 --- a/src/assets/css/style.less +++ b/src/assets/css/style.less @@ -13,6 +13,7 @@ p { * { box-sizing: border-box; + font-family: 'Medium'; } html, diff --git a/src/assets/images/chatVersion/robotHead.png b/src/assets/images/chatVersion/robotHead.png new file mode 100644 index 0000000..9c548d2 Binary files /dev/null and b/src/assets/images/chatVersion/robotHead.png differ diff --git a/src/assets/images/chatVersion/userHead.png b/src/assets/images/chatVersion/userHead.png new file mode 100644 index 0000000..60180a2 Binary files /dev/null and b/src/assets/images/chatVersion/userHead.png differ diff --git a/src/lang/en.ts b/src/lang/en.ts index eb51184..abdac77 100644 --- a/src/lang/en.ts +++ b/src/lang/en.ts @@ -97,5 +97,14 @@ export default { japan: 'Japan', canada: 'Canada', germany: 'Germany' - } + }, + + // Version Tree + VersionTree: { + versionInformation: 'Version Information', + input: 'Input', + userRequest: 'User Request', + sketch: 'Sketch', + generateResult: 'Generate Result', + } } diff --git a/src/views/home/versionTree/detail/ChatHistory.vue b/src/views/home/versionTree/detail/ChatHistory.vue new file mode 100644 index 0000000..97dc773 --- /dev/null +++ b/src/views/home/versionTree/detail/ChatHistory.vue @@ -0,0 +1,103 @@ + + + \ No newline at end of file diff --git a/src/views/home/versionTree/detail/index.vue b/src/views/home/versionTree/detail/index.vue new file mode 100644 index 0000000..6675cb6 --- /dev/null +++ b/src/views/home/versionTree/detail/index.vue @@ -0,0 +1,71 @@ + + + \ No newline at end of file diff --git a/src/views/home/versionTree/detail/versionDetail.vue b/src/views/home/versionTree/detail/versionDetail.vue new file mode 100644 index 0000000..c50bb9c --- /dev/null +++ b/src/views/home/versionTree/detail/versionDetail.vue @@ -0,0 +1,77 @@ + + + \ No newline at end of file diff --git a/src/views/home/versionTree/index.vue b/src/views/home/versionTree/index.vue index c48983b..fcd7dfc 100644 --- a/src/views/home/versionTree/index.vue +++ b/src/views/home/versionTree/index.vue @@ -1,6 +1,7 @@ @@ -67,7 +103,9 @@ const {} = toRefs(data); box-sizing: border-box; &.view1{ overflow-y: auto; - + &::-webkit-scrollbar { + display: none; + } } &.view2{ border: 1px solid #D9D9D9; diff --git a/src/views/home/versionTree/tree/view2/primaryNode.vue b/src/views/home/versionTree/tree/view2/InputNode.vue similarity index 53% rename from src/views/home/versionTree/tree/view2/primaryNode.vue rename to src/views/home/versionTree/tree/view2/InputNode.vue index e6003ac..3d0aa2f 100644 --- a/src/views/home/versionTree/tree/view2/primaryNode.vue +++ b/src/views/home/versionTree/tree/view2/InputNode.vue @@ -13,11 +13,9 @@ const props = defineProps<{ diff --git a/src/views/home/versionTree/tree/view2/index.vue b/src/views/home/versionTree/tree/view2/index.vue index 4943773..bb992d3 100644 --- a/src/views/home/versionTree/tree/view2/index.vue +++ b/src/views/home/versionTree/tree/view2/index.vue @@ -1,39 +1,40 @@