Added routes, Finished navbar
This commit is contained in:
parent
63572bf3fa
commit
4552ec999c
22
package-lock.json
generated
22
package-lock.json
generated
|
@ -8,7 +8,8 @@
|
||||||
"name": "router-ui-frontend",
|
"name": "router-ui-frontend",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vue": "^3.4.37"
|
"vue": "^3.4.37",
|
||||||
|
"vue-router": "^4.4.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vitejs/plugin-vue": "^5.1.2",
|
"@vitejs/plugin-vue": "^5.1.2",
|
||||||
|
@ -742,6 +743,11 @@
|
||||||
"he": "^1.2.0"
|
"he": "^1.2.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@vue/devtools-api": {
|
||||||
|
"version": "6.6.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.6.3.tgz",
|
||||||
|
"integrity": "sha512-0MiMsFma/HqA6g3KLKn+AGpL1kgKhFWszC9U29NfpWK5LE7bjeXxySWJrOJ77hBz+TBrBQ7o4QJqbPbqbs8rJw=="
|
||||||
|
},
|
||||||
"node_modules/@vue/language-core": {
|
"node_modules/@vue/language-core": {
|
||||||
"version": "2.0.29",
|
"version": "2.0.29",
|
||||||
"resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-2.0.29.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-2.0.29.tgz",
|
||||||
|
@ -1165,6 +1171,20 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/vue-router": {
|
||||||
|
"version": "4.4.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.4.3.tgz",
|
||||||
|
"integrity": "sha512-sv6wmNKx2j3aqJQDMxLFzs/u/mjA9Z5LCgy6BE0f7yFWMjrPLnS/sPNn8ARY/FXw6byV18EFutn5lTO6+UsV5A==",
|
||||||
|
"dependencies": {
|
||||||
|
"@vue/devtools-api": "^6.6.3"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/posva"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"vue": "^3.2.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/vue-tsc": {
|
"node_modules/vue-tsc": {
|
||||||
"version": "2.0.29",
|
"version": "2.0.29",
|
||||||
"resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-2.0.29.tgz",
|
"resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-2.0.29.tgz",
|
||||||
|
|
|
@ -9,7 +9,8 @@
|
||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vue": "^3.4.37"
|
"vue": "^3.4.37",
|
||||||
|
"vue-router": "^4.4.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vitejs/plugin-vue": "^5.1.2",
|
"@vitejs/plugin-vue": "^5.1.2",
|
||||||
|
|
11
src/App.vue
11
src/App.vue
|
@ -1,3 +1,12 @@
|
||||||
|
<script lang="ts">
|
||||||
|
import { defineComponent } from 'vue';
|
||||||
|
import "./scripts/App.ts";
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
|
name: 'App',
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<h1>Router</h1>
|
<RouterView/>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
<script lang="ts">
|
||||||
|
export default {
|
||||||
|
data () {
|
||||||
|
return {
|
||||||
|
apperanceModePopup: false,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<nav id="navbar">
|
||||||
|
<h1>Router</h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
Basic
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Advanced
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<div class="popup">
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" @mouseover="apperanceModePopup = true" @mouseleave="apperanceModePopup = false">
|
||||||
|
<path fill="currentColor" d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"/>
|
||||||
|
</svg>
|
||||||
|
<span v-if="apperanceModePopup">Light Mode</span>
|
||||||
|
<template v-else></template>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</template>
|
BIN
src/fonts/NotoSans/NotoSans-Italic-VariableFont_wdth,wght.ttf
Normal file
BIN
src/fonts/NotoSans/NotoSans-Italic-VariableFont_wdth,wght.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/NotoSans-VariableFont_wdth,wght.ttf
Normal file
BIN
src/fonts/NotoSans/NotoSans-VariableFont_wdth,wght.ttf
Normal file
Binary file not shown.
93
src/fonts/NotoSans/OFL.txt
Normal file
93
src/fonts/NotoSans/OFL.txt
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2022 The Noto Project Authors (https://github.com/notofonts/latin-greek-cyrillic)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
136
src/fonts/NotoSans/README.txt
Normal file
136
src/fonts/NotoSans/README.txt
Normal file
|
@ -0,0 +1,136 @@
|
||||||
|
Noto Sans Variable Font
|
||||||
|
=======================
|
||||||
|
|
||||||
|
This download contains Noto Sans as both variable fonts and static fonts.
|
||||||
|
|
||||||
|
Noto Sans is a variable font with these axes:
|
||||||
|
wdth
|
||||||
|
wght
|
||||||
|
|
||||||
|
This means all the styles are contained in these files:
|
||||||
|
NotoSans-VariableFont_wdth,wght.ttf
|
||||||
|
NotoSans-Italic-VariableFont_wdth,wght.ttf
|
||||||
|
|
||||||
|
If your app fully supports variable fonts, you can now pick intermediate styles
|
||||||
|
that aren’t available as static fonts. Not all apps support variable fonts, and
|
||||||
|
in those cases you can use the static font files for Noto Sans:
|
||||||
|
static/NotoSans_ExtraCondensed-Thin.ttf
|
||||||
|
static/NotoSans_ExtraCondensed-ExtraLight.ttf
|
||||||
|
static/NotoSans_ExtraCondensed-Light.ttf
|
||||||
|
static/NotoSans_ExtraCondensed-Regular.ttf
|
||||||
|
static/NotoSans_ExtraCondensed-Medium.ttf
|
||||||
|
static/NotoSans_ExtraCondensed-SemiBold.ttf
|
||||||
|
static/NotoSans_ExtraCondensed-Bold.ttf
|
||||||
|
static/NotoSans_ExtraCondensed-ExtraBold.ttf
|
||||||
|
static/NotoSans_ExtraCondensed-Black.ttf
|
||||||
|
static/NotoSans_Condensed-Thin.ttf
|
||||||
|
static/NotoSans_Condensed-ExtraLight.ttf
|
||||||
|
static/NotoSans_Condensed-Light.ttf
|
||||||
|
static/NotoSans_Condensed-Regular.ttf
|
||||||
|
static/NotoSans_Condensed-Medium.ttf
|
||||||
|
static/NotoSans_Condensed-SemiBold.ttf
|
||||||
|
static/NotoSans_Condensed-Bold.ttf
|
||||||
|
static/NotoSans_Condensed-ExtraBold.ttf
|
||||||
|
static/NotoSans_Condensed-Black.ttf
|
||||||
|
static/NotoSans_SemiCondensed-Thin.ttf
|
||||||
|
static/NotoSans_SemiCondensed-ExtraLight.ttf
|
||||||
|
static/NotoSans_SemiCondensed-Light.ttf
|
||||||
|
static/NotoSans_SemiCondensed-Regular.ttf
|
||||||
|
static/NotoSans_SemiCondensed-Medium.ttf
|
||||||
|
static/NotoSans_SemiCondensed-SemiBold.ttf
|
||||||
|
static/NotoSans_SemiCondensed-Bold.ttf
|
||||||
|
static/NotoSans_SemiCondensed-ExtraBold.ttf
|
||||||
|
static/NotoSans_SemiCondensed-Black.ttf
|
||||||
|
static/NotoSans-Thin.ttf
|
||||||
|
static/NotoSans-ExtraLight.ttf
|
||||||
|
static/NotoSans-Light.ttf
|
||||||
|
static/NotoSans-Regular.ttf
|
||||||
|
static/NotoSans-Medium.ttf
|
||||||
|
static/NotoSans-SemiBold.ttf
|
||||||
|
static/NotoSans-Bold.ttf
|
||||||
|
static/NotoSans-ExtraBold.ttf
|
||||||
|
static/NotoSans-Black.ttf
|
||||||
|
static/NotoSans_ExtraCondensed-ThinItalic.ttf
|
||||||
|
static/NotoSans_ExtraCondensed-ExtraLightItalic.ttf
|
||||||
|
static/NotoSans_ExtraCondensed-LightItalic.ttf
|
||||||
|
static/NotoSans_ExtraCondensed-Italic.ttf
|
||||||
|
static/NotoSans_ExtraCondensed-MediumItalic.ttf
|
||||||
|
static/NotoSans_ExtraCondensed-SemiBoldItalic.ttf
|
||||||
|
static/NotoSans_ExtraCondensed-BoldItalic.ttf
|
||||||
|
static/NotoSans_ExtraCondensed-ExtraBoldItalic.ttf
|
||||||
|
static/NotoSans_ExtraCondensed-BlackItalic.ttf
|
||||||
|
static/NotoSans_Condensed-ThinItalic.ttf
|
||||||
|
static/NotoSans_Condensed-ExtraLightItalic.ttf
|
||||||
|
static/NotoSans_Condensed-LightItalic.ttf
|
||||||
|
static/NotoSans_Condensed-Italic.ttf
|
||||||
|
static/NotoSans_Condensed-MediumItalic.ttf
|
||||||
|
static/NotoSans_Condensed-SemiBoldItalic.ttf
|
||||||
|
static/NotoSans_Condensed-BoldItalic.ttf
|
||||||
|
static/NotoSans_Condensed-ExtraBoldItalic.ttf
|
||||||
|
static/NotoSans_Condensed-BlackItalic.ttf
|
||||||
|
static/NotoSans_SemiCondensed-ThinItalic.ttf
|
||||||
|
static/NotoSans_SemiCondensed-ExtraLightItalic.ttf
|
||||||
|
static/NotoSans_SemiCondensed-LightItalic.ttf
|
||||||
|
static/NotoSans_SemiCondensed-Italic.ttf
|
||||||
|
static/NotoSans_SemiCondensed-MediumItalic.ttf
|
||||||
|
static/NotoSans_SemiCondensed-SemiBoldItalic.ttf
|
||||||
|
static/NotoSans_SemiCondensed-BoldItalic.ttf
|
||||||
|
static/NotoSans_SemiCondensed-ExtraBoldItalic.ttf
|
||||||
|
static/NotoSans_SemiCondensed-BlackItalic.ttf
|
||||||
|
static/NotoSans-ThinItalic.ttf
|
||||||
|
static/NotoSans-ExtraLightItalic.ttf
|
||||||
|
static/NotoSans-LightItalic.ttf
|
||||||
|
static/NotoSans-Italic.ttf
|
||||||
|
static/NotoSans-MediumItalic.ttf
|
||||||
|
static/NotoSans-SemiBoldItalic.ttf
|
||||||
|
static/NotoSans-BoldItalic.ttf
|
||||||
|
static/NotoSans-ExtraBoldItalic.ttf
|
||||||
|
static/NotoSans-BlackItalic.ttf
|
||||||
|
|
||||||
|
Get started
|
||||||
|
-----------
|
||||||
|
|
||||||
|
1. Install the font files you want to use
|
||||||
|
|
||||||
|
2. Use your app's font picker to view the font family and all the
|
||||||
|
available styles
|
||||||
|
|
||||||
|
Learn more about variable fonts
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
|
https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
|
||||||
|
https://variablefonts.typenetwork.com
|
||||||
|
https://medium.com/variable-fonts
|
||||||
|
|
||||||
|
In desktop apps
|
||||||
|
|
||||||
|
https://theblog.adobe.com/can-variable-fonts-illustrator-cc
|
||||||
|
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
|
||||||
|
|
||||||
|
Online
|
||||||
|
|
||||||
|
https://developers.google.com/fonts/docs/getting_started
|
||||||
|
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
|
||||||
|
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
|
||||||
|
|
||||||
|
Installing fonts
|
||||||
|
|
||||||
|
MacOS: https://support.apple.com/en-us/HT201749
|
||||||
|
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
|
||||||
|
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
|
||||||
|
|
||||||
|
Android Apps
|
||||||
|
|
||||||
|
https://developers.google.com/fonts/docs/android
|
||||||
|
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
|
||||||
|
|
||||||
|
License
|
||||||
|
-------
|
||||||
|
Please read the full license text (OFL.txt) to understand the permissions,
|
||||||
|
restrictions and requirements for usage, redistribution, and modification.
|
||||||
|
|
||||||
|
You can use them in your products & projects – print or digital,
|
||||||
|
commercial or otherwise.
|
||||||
|
|
||||||
|
This isn't legal advice, please consider consulting a lawyer and see the full
|
||||||
|
license for all details.
|
BIN
src/fonts/NotoSans/static/NotoSans-Black.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-Black.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans-BlackItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-BlackItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans-Bold.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-Bold.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans-BoldItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans-ExtraBold.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-ExtraBold.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans-ExtraBoldItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-ExtraBoldItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans-ExtraLight.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-ExtraLight.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans-ExtraLightItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-ExtraLightItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans-Italic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-Italic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans-Light.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-Light.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans-LightItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-LightItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans-Medium.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-Medium.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans-MediumItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-MediumItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans-Regular.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-Regular.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans-SemiBold.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-SemiBold.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans-SemiBoldItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-SemiBoldItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans-Thin.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-Thin.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans-ThinItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans-ThinItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-Black.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-Black.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-BlackItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-BlackItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-Bold.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-Bold.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-BoldItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-ExtraBold.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-ExtraBold.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-ExtraBoldItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-ExtraBoldItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-ExtraLight.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-ExtraLight.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-Italic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-Italic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-Light.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-Light.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-LightItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-LightItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-Medium.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-Medium.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-MediumItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-MediumItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-Regular.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-Regular.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-SemiBold.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-SemiBold.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-SemiBoldItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-SemiBoldItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-Thin.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-Thin.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-ThinItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_Condensed-ThinItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-Black.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-Black.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-Bold.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-Bold.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-BoldItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-ExtraBold.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-ExtraBold.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-ExtraLight.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-ExtraLight.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-Italic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-Italic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-Light.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-Light.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-Medium.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-Medium.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-Regular.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-Regular.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-SemiBold.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-SemiBold.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-Thin.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-Thin.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-ThinItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_ExtraCondensed-ThinItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-Black.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-Black.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-BlackItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-BlackItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-Bold.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-Bold.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-BoldItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-ExtraBold.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-ExtraBold.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-ExtraLight.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-ExtraLight.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-Italic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-Italic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-Light.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-Light.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-LightItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-LightItalic.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-Medium.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-Medium.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-Regular.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-Regular.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-SemiBold.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-SemiBold.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-Thin.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-Thin.ttf
Normal file
Binary file not shown.
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-ThinItalic.ttf
Normal file
BIN
src/fonts/NotoSans/static/NotoSans_SemiCondensed-ThinItalic.ttf
Normal file
Binary file not shown.
|
@ -1,4 +1,9 @@
|
||||||
import { createApp } from "vue";
|
import { createApp } from "vue";
|
||||||
import App from "./App.vue";
|
import App from "./App.vue";
|
||||||
|
import router from './routes/router'
|
||||||
|
import './styles/main.css'
|
||||||
|
|
||||||
createApp(App).mount("#app");
|
|
||||||
|
createApp(App)
|
||||||
|
.use(router)
|
||||||
|
.mount("#app");
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
<template>
|
||||||
|
<h1>Advance Dashboard</h1>
|
||||||
|
</template>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<script lang="ts">
|
||||||
|
import Navbar from '../components/Navbar.vue';
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
Navbar,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<Navbar/>
|
||||||
|
<h1>Basic Dashboard</h1>
|
||||||
|
</template>
|
|
@ -0,0 +1,3 @@
|
||||||
|
<template>
|
||||||
|
<h1>Login Dashboard</h1>
|
||||||
|
</template>
|
|
@ -0,0 +1,3 @@
|
||||||
|
<template>
|
||||||
|
<h1>Register Dashboard</h1>
|
||||||
|
</template>
|
36
src/routes/router.ts
Normal file
36
src/routes/router.ts
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
import { createRouter, createWebHistory } from "vue-router";
|
||||||
|
import AdvanceDashboard from '../pages/AdvancedDashboard.vue';
|
||||||
|
import BasicDashboard from "../pages/BasicDashboard.vue";
|
||||||
|
import LoginPage from "../pages/LoginPage.vue";
|
||||||
|
import RegisterPage from "../pages/RegisterPage.vue";
|
||||||
|
|
||||||
|
const routes = [
|
||||||
|
{
|
||||||
|
path: '/',
|
||||||
|
component: BasicDashboard
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/advance',
|
||||||
|
component: AdvanceDashboard
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/basic',
|
||||||
|
component: BasicDashboard
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/login',
|
||||||
|
component: LoginPage
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/register',
|
||||||
|
component: RegisterPage
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
const router = createRouter({
|
||||||
|
history: createWebHistory(),
|
||||||
|
routes,
|
||||||
|
});
|
||||||
|
|
||||||
|
export default router;
|
0
src/scripts/App.ts
Normal file
0
src/scripts/App.ts
Normal file
0
src/styles/advancedDashboard.css
Normal file
0
src/styles/advancedDashboard.css
Normal file
0
src/styles/basicDashboard.css
Normal file
0
src/styles/basicDashboard.css
Normal file
80
src/styles/main.css
Normal file
80
src/styles/main.css
Normal file
|
@ -0,0 +1,80 @@
|
||||||
|
@font-face {
|
||||||
|
font-family: Noto-Sans;
|
||||||
|
src: url('../fonts/NotoSans/NotoSans-VariableFont_wdth\,wght.ttf');
|
||||||
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--padding: 20px;
|
||||||
|
--border-radius: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: rgb(22, 22, 22);
|
||||||
|
color: white;
|
||||||
|
margin: 20px;
|
||||||
|
font-family: Noto-Sans, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
#navbar {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
background-color: #0f0f0f;
|
||||||
|
height: 40px;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 20px;
|
||||||
|
|
||||||
|
div {
|
||||||
|
display: inherit;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
ul {
|
||||||
|
display: inherit;
|
||||||
|
list-style: none;
|
||||||
|
gap: 10px;
|
||||||
|
|
||||||
|
li {
|
||||||
|
cursor: pointer;
|
||||||
|
transition: 0.3s color;
|
||||||
|
}
|
||||||
|
li:hover {
|
||||||
|
color: aqua;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
svg {
|
||||||
|
width: 25px;
|
||||||
|
color: white;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: 0.3s color;
|
||||||
|
}
|
||||||
|
svg:hover {
|
||||||
|
color: aqua;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.popup {
|
||||||
|
position: relative;
|
||||||
|
height: min-content;
|
||||||
|
|
||||||
|
span {
|
||||||
|
display: inline-block;
|
||||||
|
width: max-content;
|
||||||
|
background-color: #000;
|
||||||
|
text-align: center;
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 5px;
|
||||||
|
position: absolute;
|
||||||
|
z-index: 1;
|
||||||
|
top: 100%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, 0);
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue