diff --git a/package.json b/package.json index 6da58fc..57b3f28 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ }, "dependencies": { "@hashgraph/sdk": "^1.1.8", + "@mdi/js": "^4.9.95", "vue": "^3.0.0-alpha.8", "vue-router": "^4.0.0-alpha.1" }, diff --git a/patches/@babel+helper-builder-react-jsx+7.8.3.patch b/patches/@babel+helper-builder-react-jsx+7.8.3.patch new file mode 100644 index 0000000..905ac8c --- /dev/null +++ b/patches/@babel+helper-builder-react-jsx+7.8.3.patch @@ -0,0 +1,14 @@ +diff --git a/node_modules/@babel/helper-builder-react-jsx/lib/index.js b/node_modules/@babel/helper-builder-react-jsx/lib/index.js +index 6d3e073..3740f28 100644 +--- a/node_modules/@babel/helper-builder-react-jsx/lib/index.js ++++ b/node_modules/@babel/helper-builder-react-jsx/lib/index.js +@@ -138,7 +138,8 @@ You can turn on the 'throwIfNamespace' flag to bypass this warning.`); + attribs = t.nullLiteral(); + } + +- args.push(attribs, ...path.node.children); ++ args.push(attribs); ++ args.push(t.arrayExpression(path.node.children)); + + if (opts.post) { + opts.post(state, file); diff --git a/src/App.vue b/src/App.vue index 8a2c309..0911d33 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,18 +1,32 @@ - diff --git a/src/components/Header.vue b/src/components/Header.vue new file mode 100644 index 0000000..4f41a72 --- /dev/null +++ b/src/components/Header.vue @@ -0,0 +1,113 @@ + + + diff --git a/src/components/Icon.vue b/src/components/Icon.vue new file mode 100644 index 0000000..9f4114c --- /dev/null +++ b/src/components/Icon.vue @@ -0,0 +1,15 @@ + diff --git a/src/index.css b/src/index.css new file mode 100644 index 0000000..63200ff --- /dev/null +++ b/src/index.css @@ -0,0 +1,9 @@ +html { + min-height: 100vh; +} + +body { + min-height: inherit; + margin: 0; + font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif; +} diff --git a/src/index.ts b/src/index.ts index 6c32d76..5165353 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,7 +1,11 @@ import "./theme.css"; -import { createApp, h } from "vue"; -import App from "./App.vue"; +import "./index.css"; + +import { createApp } from "vue"; -const app = createApp(App); +import App from "./App.vue"; +import router from "./router"; -app.mount("#app"); +createApp(App) + .use(router) + .mount("#app"); diff --git a/src/router.ts b/src/router.ts new file mode 100644 index 0000000..f02d4ff --- /dev/null +++ b/src/router.ts @@ -0,0 +1,16 @@ +import { createRouter, createWebHistory } from "vue-router"; + +import Home from "./views/Home.vue"; + +const router = createRouter({ + history: createWebHistory(), + routes: [ + { + path: "/", + component: Home, + name: "Home" + } + ] +}) + +export default router; diff --git a/src/theme.css b/src/theme.css index 5104baa..de3a661 100644 --- a/src/theme.css +++ b/src/theme.css @@ -1,3 +1,7 @@ :root { --colorWhite: white; + --colorRiverStyx: #161a20; + --colorAbsenceOfLight: #111419; + --colorBeer: #f6931d; + --colorSoftToneInk: #9c621d; } diff --git a/src/views/Home.vue b/src/views/Home.vue new file mode 100644 index 0000000..a620285 --- /dev/null +++ b/src/views/Home.vue @@ -0,0 +1,13 @@ + diff --git a/yarn.lock b/yarn.lock index 66ef322..3f216dc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -827,6 +827,11 @@ dependencies: browser-headers "^0.4.0" +"@mdi/js@^4.9.95": + version "4.9.95" + resolved "https://registry.yarnpkg.com/@mdi/js/-/js-4.9.95.tgz#8984c2ac04c89913a3ff2bbe4d91f4ab51d8ef4f" + integrity sha512-6zKTCqZUCuDWJThdRcjdFTqp2BXfYwXI1UlYa68A1/kmCcy1ijpbpRbrJcUdZ+9WojencCh1DOGFqhj/x8I/eQ== + "@types/anymatch@*": version "1.3.1" resolved "https://registry.yarnpkg.com/@types/anymatch/-/anymatch-1.3.1.tgz#336badc1beecb9dacc38bea2cf32adf627a8421a"