diff --git a/.prettierrc.json b/.prettierrc.json index 4caf6b7..9fd5b53 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -2,6 +2,6 @@ "semi": false, "singleQuote": true, "trailingComma": "none", -"bracketSpacing": true +"bracketSpacing": false } \ No newline at end of file diff --git a/assets/css/fonts.css b/assets/css/fonts.css index 502e53a..96ef94e 100644 --- a/assets/css/fonts.css +++ b/assets/css/fonts.css @@ -1,27 +1,25 @@ @import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500&family=Quicksand:wght@500&display=swap'); - - +@import "../font/Helvetica/helveticaSheet.css"; +@import "../font/Quicksand/quicksandSheet.css"; +@import "../font/Source Code Pro/sourceCodeProSheet.css"; +@import "../font/OpenSans/stylesheet.css"; @font-face { font-family: "Oswald"; - src: url("../font/Oswald-VariableFont_wght.ttf"); -} -@font-face { - font-family: "Quicksand"; - src: url("../font/Quicksand_Book.woff"); + src: url("../font/static/Oswald-VariableFont_wght.ttf"); } @font-face { font-family: "ginger-bold"; - src: url("../font/HelveticaNowText-Bold.woff"); + src: url("../font/Helvetica/HelveticaNowText-Bold.woff"); } @font-face { font-family: "ginger-normal"; - src: url("../font/HelveticaNowText-Regular.woff"); + src: url("../font/Helvetica/HelveticaNowText-Regular.woff"); } @font-face { font-family: "ginger-light"; - src: url("../font/HelveticaNowText-Light.woff"); + src: url("../font/Helvetica/HelveticaNowText-Light.woff"); } diff --git a/assets/font/HelveticaNowText-Black.eot b/assets/font/Helvetica/HelveticaNowText-Black.eot similarity index 100% rename from assets/font/HelveticaNowText-Black.eot rename to assets/font/Helvetica/HelveticaNowText-Black.eot diff --git a/assets/font/HelveticaNowText-Black.ttf b/assets/font/Helvetica/HelveticaNowText-Black.ttf similarity index 100% rename from assets/font/HelveticaNowText-Black.ttf rename to assets/font/Helvetica/HelveticaNowText-Black.ttf diff --git a/assets/font/HelveticaNowText-Black.woff b/assets/font/Helvetica/HelveticaNowText-Black.woff similarity index 100% rename from assets/font/HelveticaNowText-Black.woff rename to assets/font/Helvetica/HelveticaNowText-Black.woff diff --git a/assets/font/HelveticaNowText-Black.woff2 b/assets/font/Helvetica/HelveticaNowText-Black.woff2 similarity index 100% rename from assets/font/HelveticaNowText-Black.woff2 rename to assets/font/Helvetica/HelveticaNowText-Black.woff2 diff --git a/assets/font/HelveticaNowText-BlackItalic.eot b/assets/font/Helvetica/HelveticaNowText-BlackItalic.eot similarity index 100% rename from assets/font/HelveticaNowText-BlackItalic.eot rename to assets/font/Helvetica/HelveticaNowText-BlackItalic.eot diff --git a/assets/font/HelveticaNowText-BlackItalic.ttf b/assets/font/Helvetica/HelveticaNowText-BlackItalic.ttf similarity index 100% rename from assets/font/HelveticaNowText-BlackItalic.ttf rename to assets/font/Helvetica/HelveticaNowText-BlackItalic.ttf diff --git a/assets/font/HelveticaNowText-BlackItalic.woff b/assets/font/Helvetica/HelveticaNowText-BlackItalic.woff similarity index 100% rename from assets/font/HelveticaNowText-BlackItalic.woff rename to assets/font/Helvetica/HelveticaNowText-BlackItalic.woff diff --git a/assets/font/HelveticaNowText-BlackItalic.woff2 b/assets/font/Helvetica/HelveticaNowText-BlackItalic.woff2 similarity index 100% rename from assets/font/HelveticaNowText-BlackItalic.woff2 rename to assets/font/Helvetica/HelveticaNowText-BlackItalic.woff2 diff --git a/assets/font/HelveticaNowText-Bold.eot b/assets/font/Helvetica/HelveticaNowText-Bold.eot similarity index 100% rename from assets/font/HelveticaNowText-Bold.eot rename to assets/font/Helvetica/HelveticaNowText-Bold.eot diff --git a/assets/font/HelveticaNowText-Bold.ttf b/assets/font/Helvetica/HelveticaNowText-Bold.ttf similarity index 100% rename from assets/font/HelveticaNowText-Bold.ttf rename to assets/font/Helvetica/HelveticaNowText-Bold.ttf diff --git a/assets/font/HelveticaNowText-Bold.woff b/assets/font/Helvetica/HelveticaNowText-Bold.woff similarity index 100% rename from assets/font/HelveticaNowText-Bold.woff rename to assets/font/Helvetica/HelveticaNowText-Bold.woff diff --git a/assets/font/HelveticaNowText-Bold.woff2 b/assets/font/Helvetica/HelveticaNowText-Bold.woff2 similarity index 100% rename from assets/font/HelveticaNowText-Bold.woff2 rename to assets/font/Helvetica/HelveticaNowText-Bold.woff2 diff --git a/assets/font/HelveticaNowText-BoldItalic.eot b/assets/font/Helvetica/HelveticaNowText-BoldItalic.eot similarity index 100% rename from assets/font/HelveticaNowText-BoldItalic.eot rename to assets/font/Helvetica/HelveticaNowText-BoldItalic.eot diff --git a/assets/font/HelveticaNowText-BoldItalic.ttf b/assets/font/Helvetica/HelveticaNowText-BoldItalic.ttf similarity index 100% rename from assets/font/HelveticaNowText-BoldItalic.ttf rename to assets/font/Helvetica/HelveticaNowText-BoldItalic.ttf diff --git a/assets/font/HelveticaNowText-BoldItalic.woff b/assets/font/Helvetica/HelveticaNowText-BoldItalic.woff similarity index 100% rename from assets/font/HelveticaNowText-BoldItalic.woff rename to assets/font/Helvetica/HelveticaNowText-BoldItalic.woff diff --git a/assets/font/HelveticaNowText-BoldItalic.woff2 b/assets/font/Helvetica/HelveticaNowText-BoldItalic.woff2 similarity index 100% rename from assets/font/HelveticaNowText-BoldItalic.woff2 rename to assets/font/Helvetica/HelveticaNowText-BoldItalic.woff2 diff --git a/assets/font/HelveticaNowText-ExtBdIta.eot b/assets/font/Helvetica/HelveticaNowText-ExtBdIta.eot similarity index 100% rename from assets/font/HelveticaNowText-ExtBdIta.eot rename to assets/font/Helvetica/HelveticaNowText-ExtBdIta.eot diff --git a/assets/font/HelveticaNowText-ExtBdIta.ttf b/assets/font/Helvetica/HelveticaNowText-ExtBdIta.ttf similarity index 100% rename from assets/font/HelveticaNowText-ExtBdIta.ttf rename to assets/font/Helvetica/HelveticaNowText-ExtBdIta.ttf diff --git a/assets/font/HelveticaNowText-ExtBdIta.woff b/assets/font/Helvetica/HelveticaNowText-ExtBdIta.woff similarity index 100% rename from assets/font/HelveticaNowText-ExtBdIta.woff rename to assets/font/Helvetica/HelveticaNowText-ExtBdIta.woff diff --git a/assets/font/HelveticaNowText-ExtBdIta.woff2 b/assets/font/Helvetica/HelveticaNowText-ExtBdIta.woff2 similarity index 100% rename from assets/font/HelveticaNowText-ExtBdIta.woff2 rename to assets/font/Helvetica/HelveticaNowText-ExtBdIta.woff2 diff --git a/assets/font/HelveticaNowText-ExtLtIta.eot b/assets/font/Helvetica/HelveticaNowText-ExtLtIta.eot similarity index 100% rename from assets/font/HelveticaNowText-ExtLtIta.eot rename to assets/font/Helvetica/HelveticaNowText-ExtLtIta.eot diff --git a/assets/font/HelveticaNowText-ExtLtIta.ttf b/assets/font/Helvetica/HelveticaNowText-ExtLtIta.ttf similarity index 100% rename from assets/font/HelveticaNowText-ExtLtIta.ttf rename to assets/font/Helvetica/HelveticaNowText-ExtLtIta.ttf diff --git a/assets/font/HelveticaNowText-ExtLtIta.woff b/assets/font/Helvetica/HelveticaNowText-ExtLtIta.woff similarity index 100% rename from assets/font/HelveticaNowText-ExtLtIta.woff rename to assets/font/Helvetica/HelveticaNowText-ExtLtIta.woff diff --git a/assets/font/HelveticaNowText-ExtLtIta.woff2 b/assets/font/Helvetica/HelveticaNowText-ExtLtIta.woff2 similarity index 100% rename from assets/font/HelveticaNowText-ExtLtIta.woff2 rename to assets/font/Helvetica/HelveticaNowText-ExtLtIta.woff2 diff --git a/assets/font/HelveticaNowText-ExtraBold.eot b/assets/font/Helvetica/HelveticaNowText-ExtraBold.eot similarity index 100% rename from assets/font/HelveticaNowText-ExtraBold.eot rename to assets/font/Helvetica/HelveticaNowText-ExtraBold.eot diff --git a/assets/font/HelveticaNowText-ExtraBold.ttf b/assets/font/Helvetica/HelveticaNowText-ExtraBold.ttf similarity index 100% rename from assets/font/HelveticaNowText-ExtraBold.ttf rename to assets/font/Helvetica/HelveticaNowText-ExtraBold.ttf diff --git a/assets/font/HelveticaNowText-ExtraBold.woff b/assets/font/Helvetica/HelveticaNowText-ExtraBold.woff similarity index 100% rename from assets/font/HelveticaNowText-ExtraBold.woff rename to assets/font/Helvetica/HelveticaNowText-ExtraBold.woff diff --git a/assets/font/HelveticaNowText-ExtraBold.woff2 b/assets/font/Helvetica/HelveticaNowText-ExtraBold.woff2 similarity index 100% rename from assets/font/HelveticaNowText-ExtraBold.woff2 rename to assets/font/Helvetica/HelveticaNowText-ExtraBold.woff2 diff --git a/assets/font/HelveticaNowText-ExtraLight.eot b/assets/font/Helvetica/HelveticaNowText-ExtraLight.eot similarity index 100% rename from assets/font/HelveticaNowText-ExtraLight.eot rename to assets/font/Helvetica/HelveticaNowText-ExtraLight.eot diff --git a/assets/font/HelveticaNowText-ExtraLight.ttf b/assets/font/Helvetica/HelveticaNowText-ExtraLight.ttf similarity index 100% rename from assets/font/HelveticaNowText-ExtraLight.ttf rename to assets/font/Helvetica/HelveticaNowText-ExtraLight.ttf diff --git a/assets/font/HelveticaNowText-ExtraLight.woff b/assets/font/Helvetica/HelveticaNowText-ExtraLight.woff similarity index 100% rename from assets/font/HelveticaNowText-ExtraLight.woff rename to assets/font/Helvetica/HelveticaNowText-ExtraLight.woff diff --git a/assets/font/HelveticaNowText-ExtraLight.woff2 b/assets/font/Helvetica/HelveticaNowText-ExtraLight.woff2 similarity index 100% rename from assets/font/HelveticaNowText-ExtraLight.woff2 rename to assets/font/Helvetica/HelveticaNowText-ExtraLight.woff2 diff --git a/assets/font/HelveticaNowText-Light.eot b/assets/font/Helvetica/HelveticaNowText-Light.eot similarity index 100% rename from assets/font/HelveticaNowText-Light.eot rename to assets/font/Helvetica/HelveticaNowText-Light.eot diff --git a/assets/font/HelveticaNowText-Light.ttf b/assets/font/Helvetica/HelveticaNowText-Light.ttf similarity index 100% rename from assets/font/HelveticaNowText-Light.ttf rename to assets/font/Helvetica/HelveticaNowText-Light.ttf diff --git a/assets/font/HelveticaNowText-Light.woff b/assets/font/Helvetica/HelveticaNowText-Light.woff similarity index 100% rename from assets/font/HelveticaNowText-Light.woff rename to assets/font/Helvetica/HelveticaNowText-Light.woff diff --git a/assets/font/HelveticaNowText-Light.woff2 b/assets/font/Helvetica/HelveticaNowText-Light.woff2 similarity index 100% rename from assets/font/HelveticaNowText-Light.woff2 rename to assets/font/Helvetica/HelveticaNowText-Light.woff2 diff --git a/assets/font/HelveticaNowText-LightItalic.eot b/assets/font/Helvetica/HelveticaNowText-LightItalic.eot similarity index 100% rename from assets/font/HelveticaNowText-LightItalic.eot rename to assets/font/Helvetica/HelveticaNowText-LightItalic.eot diff --git a/assets/font/HelveticaNowText-LightItalic.ttf b/assets/font/Helvetica/HelveticaNowText-LightItalic.ttf similarity index 100% rename from assets/font/HelveticaNowText-LightItalic.ttf rename to assets/font/Helvetica/HelveticaNowText-LightItalic.ttf diff --git a/assets/font/HelveticaNowText-LightItalic.woff b/assets/font/Helvetica/HelveticaNowText-LightItalic.woff similarity index 100% rename from assets/font/HelveticaNowText-LightItalic.woff rename to assets/font/Helvetica/HelveticaNowText-LightItalic.woff diff --git a/assets/font/HelveticaNowText-LightItalic.woff2 b/assets/font/Helvetica/HelveticaNowText-LightItalic.woff2 similarity index 100% rename from assets/font/HelveticaNowText-LightItalic.woff2 rename to assets/font/Helvetica/HelveticaNowText-LightItalic.woff2 diff --git a/assets/font/HelveticaNowText-Medium.eot b/assets/font/Helvetica/HelveticaNowText-Medium.eot similarity index 100% rename from assets/font/HelveticaNowText-Medium.eot rename to assets/font/Helvetica/HelveticaNowText-Medium.eot diff --git a/assets/font/HelveticaNowText-Medium.ttf b/assets/font/Helvetica/HelveticaNowText-Medium.ttf similarity index 100% rename from assets/font/HelveticaNowText-Medium.ttf rename to assets/font/Helvetica/HelveticaNowText-Medium.ttf diff --git a/assets/font/HelveticaNowText-Medium.woff b/assets/font/Helvetica/HelveticaNowText-Medium.woff similarity index 100% rename from assets/font/HelveticaNowText-Medium.woff rename to assets/font/Helvetica/HelveticaNowText-Medium.woff diff --git a/assets/font/HelveticaNowText-Medium.woff2 b/assets/font/Helvetica/HelveticaNowText-Medium.woff2 similarity index 100% rename from assets/font/HelveticaNowText-Medium.woff2 rename to assets/font/Helvetica/HelveticaNowText-Medium.woff2 diff --git a/assets/font/HelveticaNowText-MediumItalic.eot b/assets/font/Helvetica/HelveticaNowText-MediumItalic.eot similarity index 100% rename from assets/font/HelveticaNowText-MediumItalic.eot rename to assets/font/Helvetica/HelveticaNowText-MediumItalic.eot diff --git a/assets/font/HelveticaNowText-MediumItalic.ttf b/assets/font/Helvetica/HelveticaNowText-MediumItalic.ttf similarity index 100% rename from assets/font/HelveticaNowText-MediumItalic.ttf rename to assets/font/Helvetica/HelveticaNowText-MediumItalic.ttf diff --git a/assets/font/HelveticaNowText-MediumItalic.woff b/assets/font/Helvetica/HelveticaNowText-MediumItalic.woff similarity index 100% rename from assets/font/HelveticaNowText-MediumItalic.woff rename to assets/font/Helvetica/HelveticaNowText-MediumItalic.woff diff --git a/assets/font/HelveticaNowText-MediumItalic.woff2 b/assets/font/Helvetica/HelveticaNowText-MediumItalic.woff2 similarity index 100% rename from assets/font/HelveticaNowText-MediumItalic.woff2 rename to assets/font/Helvetica/HelveticaNowText-MediumItalic.woff2 diff --git a/assets/font/HelveticaNowText-RegIta.eot b/assets/font/Helvetica/HelveticaNowText-RegIta.eot similarity index 100% rename from assets/font/HelveticaNowText-RegIta.eot rename to assets/font/Helvetica/HelveticaNowText-RegIta.eot diff --git a/assets/font/HelveticaNowText-RegIta.ttf b/assets/font/Helvetica/HelveticaNowText-RegIta.ttf similarity index 100% rename from assets/font/HelveticaNowText-RegIta.ttf rename to assets/font/Helvetica/HelveticaNowText-RegIta.ttf diff --git a/assets/font/HelveticaNowText-RegIta.woff b/assets/font/Helvetica/HelveticaNowText-RegIta.woff similarity index 100% rename from assets/font/HelveticaNowText-RegIta.woff rename to assets/font/Helvetica/HelveticaNowText-RegIta.woff diff --git a/assets/font/HelveticaNowText-RegIta.woff2 b/assets/font/Helvetica/HelveticaNowText-RegIta.woff2 similarity index 100% rename from assets/font/HelveticaNowText-RegIta.woff2 rename to assets/font/Helvetica/HelveticaNowText-RegIta.woff2 diff --git a/assets/font/HelveticaNowText-Regular.eot b/assets/font/Helvetica/HelveticaNowText-Regular.eot similarity index 100% rename from assets/font/HelveticaNowText-Regular.eot rename to assets/font/Helvetica/HelveticaNowText-Regular.eot diff --git a/assets/font/HelveticaNowText-Regular.ttf b/assets/font/Helvetica/HelveticaNowText-Regular.ttf similarity index 100% rename from assets/font/HelveticaNowText-Regular.ttf rename to assets/font/Helvetica/HelveticaNowText-Regular.ttf diff --git a/assets/font/HelveticaNowText-Regular.woff b/assets/font/Helvetica/HelveticaNowText-Regular.woff similarity index 100% rename from assets/font/HelveticaNowText-Regular.woff rename to assets/font/Helvetica/HelveticaNowText-Regular.woff diff --git a/assets/font/HelveticaNowText-Regular.woff2 b/assets/font/Helvetica/HelveticaNowText-Regular.woff2 similarity index 100% rename from assets/font/HelveticaNowText-Regular.woff2 rename to assets/font/Helvetica/HelveticaNowText-Regular.woff2 diff --git a/assets/font/HelveticaNowText-Thin.eot b/assets/font/Helvetica/HelveticaNowText-Thin.eot similarity index 100% rename from assets/font/HelveticaNowText-Thin.eot rename to assets/font/Helvetica/HelveticaNowText-Thin.eot diff --git a/assets/font/HelveticaNowText-Thin.ttf b/assets/font/Helvetica/HelveticaNowText-Thin.ttf similarity index 100% rename from assets/font/HelveticaNowText-Thin.ttf rename to assets/font/Helvetica/HelveticaNowText-Thin.ttf diff --git a/assets/font/HelveticaNowText-Thin.woff b/assets/font/Helvetica/HelveticaNowText-Thin.woff similarity index 100% rename from assets/font/HelveticaNowText-Thin.woff rename to assets/font/Helvetica/HelveticaNowText-Thin.woff diff --git a/assets/font/HelveticaNowText-Thin.woff2 b/assets/font/Helvetica/HelveticaNowText-Thin.woff2 similarity index 100% rename from assets/font/HelveticaNowText-Thin.woff2 rename to assets/font/Helvetica/HelveticaNowText-Thin.woff2 diff --git a/assets/font/HelveticaNowText-ThinItalic.eot b/assets/font/Helvetica/HelveticaNowText-ThinItalic.eot similarity index 100% rename from assets/font/HelveticaNowText-ThinItalic.eot rename to assets/font/Helvetica/HelveticaNowText-ThinItalic.eot diff --git a/assets/font/HelveticaNowText-ThinItalic.ttf b/assets/font/Helvetica/HelveticaNowText-ThinItalic.ttf similarity index 100% rename from assets/font/HelveticaNowText-ThinItalic.ttf rename to assets/font/Helvetica/HelveticaNowText-ThinItalic.ttf diff --git a/assets/font/HelveticaNowText-ThinItalic.woff b/assets/font/Helvetica/HelveticaNowText-ThinItalic.woff similarity index 100% rename from assets/font/HelveticaNowText-ThinItalic.woff rename to assets/font/Helvetica/HelveticaNowText-ThinItalic.woff diff --git a/assets/font/HelveticaNowText-ThinItalic.woff2 b/assets/font/Helvetica/HelveticaNowText-ThinItalic.woff2 similarity index 100% rename from assets/font/HelveticaNowText-ThinItalic.woff2 rename to assets/font/Helvetica/HelveticaNowText-ThinItalic.woff2 diff --git a/assets/font/stylesheet.css b/assets/font/Helvetica/helveticaSheet.css similarity index 100% rename from assets/font/stylesheet.css rename to assets/font/Helvetica/helveticaSheet.css diff --git a/assets/font/OFL.txt b/assets/font/OFL.txt deleted file mode 100644 index 6485417..0000000 --- a/assets/font/OFL.txt +++ /dev/null @@ -1,93 +0,0 @@ -Copyright 2016 The Oswald Project Authors (https://github.com/googlefonts/OswaldFont) - -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: -http://scripts.sil.org/OFL - - ------------------------------------------------------------ -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. diff --git a/assets/font/OpenSans/OpenSans-Bold.woff b/assets/font/OpenSans/OpenSans-Bold.woff new file mode 100644 index 0000000..69a6198 Binary files /dev/null and b/assets/font/OpenSans/OpenSans-Bold.woff differ diff --git a/assets/font/OpenSans/OpenSans-Bold.woff2 b/assets/font/OpenSans/OpenSans-Bold.woff2 new file mode 100644 index 0000000..3936885 Binary files /dev/null and b/assets/font/OpenSans/OpenSans-Bold.woff2 differ diff --git a/assets/font/OpenSans/OpenSans-BoldItalic.woff b/assets/font/OpenSans/OpenSans-BoldItalic.woff new file mode 100644 index 0000000..37b3740 Binary files /dev/null and b/assets/font/OpenSans/OpenSans-BoldItalic.woff differ diff --git a/assets/font/OpenSans/OpenSans-BoldItalic.woff2 b/assets/font/OpenSans/OpenSans-BoldItalic.woff2 new file mode 100644 index 0000000..6d7ff3d Binary files /dev/null and b/assets/font/OpenSans/OpenSans-BoldItalic.woff2 differ diff --git a/assets/font/OpenSans/OpenSans-ExtraBold.woff b/assets/font/OpenSans/OpenSans-ExtraBold.woff new file mode 100644 index 0000000..d421142 Binary files /dev/null and b/assets/font/OpenSans/OpenSans-ExtraBold.woff differ diff --git a/assets/font/OpenSans/OpenSans-ExtraBold.woff2 b/assets/font/OpenSans/OpenSans-ExtraBold.woff2 new file mode 100644 index 0000000..19c457c Binary files /dev/null and b/assets/font/OpenSans/OpenSans-ExtraBold.woff2 differ diff --git a/assets/font/OpenSans/OpenSans-ExtraBoldItalic.woff b/assets/font/OpenSans/OpenSans-ExtraBoldItalic.woff new file mode 100644 index 0000000..4377910 Binary files /dev/null and b/assets/font/OpenSans/OpenSans-ExtraBoldItalic.woff differ diff --git a/assets/font/OpenSans/OpenSans-ExtraBoldItalic.woff2 b/assets/font/OpenSans/OpenSans-ExtraBoldItalic.woff2 new file mode 100644 index 0000000..191379b Binary files /dev/null and b/assets/font/OpenSans/OpenSans-ExtraBoldItalic.woff2 differ diff --git a/assets/font/OpenSans/OpenSans-Italic.woff b/assets/font/OpenSans/OpenSans-Italic.woff new file mode 100644 index 0000000..24b4f11 Binary files /dev/null and b/assets/font/OpenSans/OpenSans-Italic.woff differ diff --git a/assets/font/OpenSans/OpenSans-Italic.woff2 b/assets/font/OpenSans/OpenSans-Italic.woff2 new file mode 100644 index 0000000..8501760 Binary files /dev/null and b/assets/font/OpenSans/OpenSans-Italic.woff2 differ diff --git a/assets/font/OpenSans/OpenSans-Light.woff b/assets/font/OpenSans/OpenSans-Light.woff new file mode 100644 index 0000000..dc1ed17 Binary files /dev/null and b/assets/font/OpenSans/OpenSans-Light.woff differ diff --git a/assets/font/OpenSans/OpenSans-Light.woff2 b/assets/font/OpenSans/OpenSans-Light.woff2 new file mode 100644 index 0000000..dc81f7c Binary files /dev/null and b/assets/font/OpenSans/OpenSans-Light.woff2 differ diff --git a/assets/font/OpenSans/OpenSans-LightItalic.woff b/assets/font/OpenSans/OpenSans-LightItalic.woff new file mode 100644 index 0000000..1aa1424 Binary files /dev/null and b/assets/font/OpenSans/OpenSans-LightItalic.woff differ diff --git a/assets/font/OpenSans/OpenSans-LightItalic.woff2 b/assets/font/OpenSans/OpenSans-LightItalic.woff2 new file mode 100644 index 0000000..3761297 Binary files /dev/null and b/assets/font/OpenSans/OpenSans-LightItalic.woff2 differ diff --git a/assets/font/OpenSans/OpenSans-Regular.woff b/assets/font/OpenSans/OpenSans-Regular.woff new file mode 100644 index 0000000..75ee369 Binary files /dev/null and b/assets/font/OpenSans/OpenSans-Regular.woff differ diff --git a/assets/font/OpenSans/OpenSans-Regular.woff2 b/assets/font/OpenSans/OpenSans-Regular.woff2 new file mode 100644 index 0000000..b9028d0 Binary files /dev/null and b/assets/font/OpenSans/OpenSans-Regular.woff2 differ diff --git a/assets/font/OpenSans/OpenSans-SemiBold.woff b/assets/font/OpenSans/OpenSans-SemiBold.woff new file mode 100644 index 0000000..58cdc45 Binary files /dev/null and b/assets/font/OpenSans/OpenSans-SemiBold.woff differ diff --git a/assets/font/OpenSans/OpenSans-SemiBold.woff2 b/assets/font/OpenSans/OpenSans-SemiBold.woff2 new file mode 100644 index 0000000..058cff1 Binary files /dev/null and b/assets/font/OpenSans/OpenSans-SemiBold.woff2 differ diff --git a/assets/font/OpenSans/OpenSans-SemiBoldItalic.woff b/assets/font/OpenSans/OpenSans-SemiBoldItalic.woff new file mode 100644 index 0000000..6f60b44 Binary files /dev/null and b/assets/font/OpenSans/OpenSans-SemiBoldItalic.woff differ diff --git a/assets/font/OpenSans/OpenSans-SemiBoldItalic.woff2 b/assets/font/OpenSans/OpenSans-SemiBoldItalic.woff2 new file mode 100644 index 0000000..4d0c4ee Binary files /dev/null and b/assets/font/OpenSans/OpenSans-SemiBoldItalic.woff2 differ diff --git a/assets/font/OpenSans/original/OpenSans-Bold.ttf b/assets/font/OpenSans/original/OpenSans-Bold.ttf new file mode 100644 index 0000000..efdd5e8 Binary files /dev/null and b/assets/font/OpenSans/original/OpenSans-Bold.ttf differ diff --git a/assets/font/OpenSans/original/OpenSans-BoldItalic.ttf b/assets/font/OpenSans/original/OpenSans-BoldItalic.ttf new file mode 100644 index 0000000..9bf9b4e Binary files /dev/null and b/assets/font/OpenSans/original/OpenSans-BoldItalic.ttf differ diff --git a/assets/font/OpenSans/original/OpenSans-ExtraBold.ttf b/assets/font/OpenSans/original/OpenSans-ExtraBold.ttf new file mode 100644 index 0000000..67fcf0f Binary files /dev/null and b/assets/font/OpenSans/original/OpenSans-ExtraBold.ttf differ diff --git a/assets/font/OpenSans/original/OpenSans-ExtraBoldItalic.ttf b/assets/font/OpenSans/original/OpenSans-ExtraBoldItalic.ttf new file mode 100644 index 0000000..0867228 Binary files /dev/null and b/assets/font/OpenSans/original/OpenSans-ExtraBoldItalic.ttf differ diff --git a/assets/font/OpenSans/original/OpenSans-Italic.ttf b/assets/font/OpenSans/original/OpenSans-Italic.ttf new file mode 100644 index 0000000..1178567 Binary files /dev/null and b/assets/font/OpenSans/original/OpenSans-Italic.ttf differ diff --git a/assets/font/OpenSans/original/OpenSans-Light.ttf b/assets/font/OpenSans/original/OpenSans-Light.ttf new file mode 100644 index 0000000..6580d3a Binary files /dev/null and b/assets/font/OpenSans/original/OpenSans-Light.ttf differ diff --git a/assets/font/OpenSans/original/OpenSans-LightItalic.ttf b/assets/font/OpenSans/original/OpenSans-LightItalic.ttf new file mode 100644 index 0000000..1e0c331 Binary files /dev/null and b/assets/font/OpenSans/original/OpenSans-LightItalic.ttf differ diff --git a/assets/font/OpenSans/original/OpenSans-Regular.ttf b/assets/font/OpenSans/original/OpenSans-Regular.ttf new file mode 100644 index 0000000..29bfd35 Binary files /dev/null and b/assets/font/OpenSans/original/OpenSans-Regular.ttf differ diff --git a/assets/font/OpenSans/original/OpenSans-SemiBold.ttf b/assets/font/OpenSans/original/OpenSans-SemiBold.ttf new file mode 100644 index 0000000..54e7059 Binary files /dev/null and b/assets/font/OpenSans/original/OpenSans-SemiBold.ttf differ diff --git a/assets/font/OpenSans/original/OpenSans-SemiBoldItalic.ttf b/assets/font/OpenSans/original/OpenSans-SemiBoldItalic.ttf new file mode 100644 index 0000000..aebcf14 Binary files /dev/null and b/assets/font/OpenSans/original/OpenSans-SemiBoldItalic.ttf differ diff --git a/assets/font/OpenSans/stylesheet.css b/assets/font/OpenSans/stylesheet.css new file mode 100644 index 0000000..5e0fb9f --- /dev/null +++ b/assets/font/OpenSans/stylesheet.css @@ -0,0 +1,100 @@ +@font-face { + font-family: 'Open Sans'; + src: local('Open Sans SemiBold Italic'), local('OpenSans-SemiBoldItalic'), + url('OpenSans-SemiBoldItalic.woff2') format('woff2'), + url('OpenSans-SemiBoldItalic.woff') format('woff'); + font-weight: 600; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Open Sans'; + src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), + url('OpenSans-BoldItalic.woff2') format('woff2'), + url('OpenSans-BoldItalic.woff') format('woff'); + font-weight: bold; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Open Sans'; + src: local('Open Sans Italic'), local('OpenSans-Italic'), + url('OpenSans-Italic.woff2') format('woff2'), + url('OpenSans-Italic.woff') format('woff'); + font-weight: normal; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Open Sans'; + src: local('Open Sans Light'), local('OpenSans-Light'), + url('OpenSans-Light.woff2') format('woff2'), + url('OpenSans-Light.woff') format('woff'); + font-weight: 300; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Open Sans'; + src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'), + url('OpenSans-SemiBold.woff2') format('woff2'), + url('OpenSans-SemiBold.woff') format('woff'); + font-weight: 600; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Open Sans'; + src: local('Open Sans Light Italic'), local('OpenSans-LightItalic'), + url('OpenSans-LightItalic.woff2') format('woff2'), + url('OpenSans-LightItalic.woff') format('woff'); + font-weight: 300; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Open Sans'; + src: local('Open Sans Regular'), local('OpenSans-Regular'), + url('OpenSans-Regular.woff2') format('woff2'), + url('OpenSans-Regular.woff') format('woff'); + font-weight: normal; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Open Sans'; + src: local('Open Sans ExtraBold'), local('OpenSans-ExtraBold'), + url('OpenSans-ExtraBold.woff2') format('woff2'), + url('OpenSans-ExtraBold.woff') format('woff'); + font-weight: 800; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Open Sans'; + src: local('Open Sans Bold'), local('OpenSans-Bold'), + url('OpenSans-Bold.woff2') format('woff2'), + url('OpenSans-Bold.woff') format('woff'); + font-weight: bold; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Open Sans'; + src: local('Open Sans ExtraBold Italic'), local('OpenSans-ExtraBoldItalic'), + url('OpenSans-ExtraBoldItalic.woff2') format('woff2'), + url('OpenSans-ExtraBoldItalic.woff') format('woff'); + font-weight: 800; + font-style: italic; + font-display: swap; +} + diff --git a/assets/font/Oswald.zip b/assets/font/Oswald.zip deleted file mode 100644 index 91978a5..0000000 Binary files a/assets/font/Oswald.zip and /dev/null differ diff --git a/assets/font/Quicksand_Bold.woff b/assets/font/Quicksand/Quicksand_Bold.woff similarity index 100% rename from assets/font/Quicksand_Bold.woff rename to assets/font/Quicksand/Quicksand_Bold.woff diff --git a/assets/font/Quicksand_Bold_Oblique.woff b/assets/font/Quicksand/Quicksand_Bold_Oblique.woff similarity index 100% rename from assets/font/Quicksand_Bold_Oblique.woff rename to assets/font/Quicksand/Quicksand_Bold_Oblique.woff diff --git a/assets/font/Quicksand_Book.woff b/assets/font/Quicksand/Quicksand_Book.woff similarity index 100% rename from assets/font/Quicksand_Book.woff rename to assets/font/Quicksand/Quicksand_Book.woff diff --git a/assets/font/Quicksand_Book_Oblique.woff b/assets/font/Quicksand/Quicksand_Book_Oblique.woff similarity index 100% rename from assets/font/Quicksand_Book_Oblique.woff rename to assets/font/Quicksand/Quicksand_Book_Oblique.woff diff --git a/assets/font/Quicksand_Dash.woff b/assets/font/Quicksand/Quicksand_Dash.woff similarity index 100% rename from assets/font/Quicksand_Dash.woff rename to assets/font/Quicksand/Quicksand_Dash.woff diff --git a/assets/font/Quicksand_Light.woff b/assets/font/Quicksand/Quicksand_Light.woff similarity index 100% rename from assets/font/Quicksand_Light.woff rename to assets/font/Quicksand/Quicksand_Light.woff diff --git a/assets/font/Quicksand_Light_Oblique.woff b/assets/font/Quicksand/Quicksand_Light_Oblique.woff similarity index 100% rename from assets/font/Quicksand_Light_Oblique.woff rename to assets/font/Quicksand/Quicksand_Light_Oblique.woff diff --git a/assets/font/style.css b/assets/font/Quicksand/quicksandSheet.css similarity index 100% rename from assets/font/style.css rename to assets/font/Quicksand/quicksandSheet.css diff --git a/assets/font/README.txt b/assets/font/README.txt deleted file mode 100644 index e0627d8..0000000 --- a/assets/font/README.txt +++ /dev/null @@ -1,68 +0,0 @@ -Oswald Variable Font -==================== - -This download contains Oswald as both a variable font and static fonts. - -Oswald is a variable font with this axis: - wght - -This means all the styles are contained in a single file: - Oswald-VariableFont_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 Oswald: - static/Oswald-ExtraLight.ttf - static/Oswald-Light.ttf - static/Oswald-Regular.ttf - static/Oswald-Medium.ttf - static/Oswald-SemiBold.ttf - static/Oswald-Bold.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 freely in your products & projects - print or digital, -commercial or otherwise. However, you can't sell the fonts on their own. - -This isn't legal advice, please consider consulting a lawyer and see the full -license for all details. diff --git a/assets/font/Source Code Pro/SourceCodePro-Black.ttf b/assets/font/Source Code Pro/SourceCodePro-Black.ttf new file mode 100644 index 0000000..6d4a7ee Binary files /dev/null and b/assets/font/Source Code Pro/SourceCodePro-Black.ttf differ diff --git a/assets/font/Source Code Pro/SourceCodePro-BlackIt.ttf b/assets/font/Source Code Pro/SourceCodePro-BlackIt.ttf new file mode 100644 index 0000000..234b20d Binary files /dev/null and b/assets/font/Source Code Pro/SourceCodePro-BlackIt.ttf differ diff --git a/assets/font/Source Code Pro/SourceCodePro-Bold.ttf b/assets/font/Source Code Pro/SourceCodePro-Bold.ttf new file mode 100644 index 0000000..d2cbee0 Binary files /dev/null and b/assets/font/Source Code Pro/SourceCodePro-Bold.ttf differ diff --git a/assets/font/Source Code Pro/SourceCodePro-BoldIt.ttf b/assets/font/Source Code Pro/SourceCodePro-BoldIt.ttf new file mode 100644 index 0000000..cbcaf9b Binary files /dev/null and b/assets/font/Source Code Pro/SourceCodePro-BoldIt.ttf differ diff --git a/assets/font/Source Code Pro/SourceCodePro-ExtraLight.ttf b/assets/font/Source Code Pro/SourceCodePro-ExtraLight.ttf new file mode 100644 index 0000000..bc568a1 Binary files /dev/null and b/assets/font/Source Code Pro/SourceCodePro-ExtraLight.ttf differ diff --git a/assets/font/Source Code Pro/SourceCodePro-ExtraLightIt.ttf b/assets/font/Source Code Pro/SourceCodePro-ExtraLightIt.ttf new file mode 100644 index 0000000..44c5f90 Binary files /dev/null and b/assets/font/Source Code Pro/SourceCodePro-ExtraLightIt.ttf differ diff --git a/assets/font/Source Code Pro/SourceCodePro-It.ttf b/assets/font/Source Code Pro/SourceCodePro-It.ttf new file mode 100644 index 0000000..1695688 Binary files /dev/null and b/assets/font/Source Code Pro/SourceCodePro-It.ttf differ diff --git a/assets/font/Source Code Pro/SourceCodePro-Light.ttf b/assets/font/Source Code Pro/SourceCodePro-Light.ttf new file mode 100644 index 0000000..305f7fd Binary files /dev/null and b/assets/font/Source Code Pro/SourceCodePro-Light.ttf differ diff --git a/assets/font/Source Code Pro/SourceCodePro-LightIt.ttf b/assets/font/Source Code Pro/SourceCodePro-LightIt.ttf new file mode 100644 index 0000000..2500d0a Binary files /dev/null and b/assets/font/Source Code Pro/SourceCodePro-LightIt.ttf differ diff --git a/assets/font/Source Code Pro/SourceCodePro-Medium.ttf b/assets/font/Source Code Pro/SourceCodePro-Medium.ttf new file mode 100644 index 0000000..be3c212 Binary files /dev/null and b/assets/font/Source Code Pro/SourceCodePro-Medium.ttf differ diff --git a/assets/font/Source Code Pro/SourceCodePro-MediumIt.ttf b/assets/font/Source Code Pro/SourceCodePro-MediumIt.ttf new file mode 100644 index 0000000..b33b36f Binary files /dev/null and b/assets/font/Source Code Pro/SourceCodePro-MediumIt.ttf differ diff --git a/assets/font/Source Code Pro/SourceCodePro-Regular.ttf b/assets/font/Source Code Pro/SourceCodePro-Regular.ttf new file mode 100644 index 0000000..731df08 Binary files /dev/null and b/assets/font/Source Code Pro/SourceCodePro-Regular.ttf differ diff --git a/assets/font/Source Code Pro/SourceCodePro-Semibold.ttf b/assets/font/Source Code Pro/SourceCodePro-Semibold.ttf new file mode 100644 index 0000000..31b6606 Binary files /dev/null and b/assets/font/Source Code Pro/SourceCodePro-Semibold.ttf differ diff --git a/assets/font/Source Code Pro/SourceCodePro-SemiboldIt.ttf b/assets/font/Source Code Pro/SourceCodePro-SemiboldIt.ttf new file mode 100644 index 0000000..9676243 Binary files /dev/null and b/assets/font/Source Code Pro/SourceCodePro-SemiboldIt.ttf differ diff --git a/assets/font/Source Code Pro/sourceCodeProSheet.css b/assets/font/Source Code Pro/sourceCodeProSheet.css new file mode 100644 index 0000000..982356e --- /dev/null +++ b/assets/font/Source Code Pro/sourceCodeProSheet.css @@ -0,0 +1,126 @@ +@font-face { + font-family: 'Source Code Pro'; + src: local('Source Code Pro ExtraLight'), local('SourceCodePro-ExtraLight'), + url('SourceCodePro-ExtraLight.ttf') format('truetype'); + font-weight: 200; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Source Code Pro'; + src: local('Source Code Pro Black'), local('SourceCodePro-Black'), + url('SourceCodePro-Black.ttf') format('truetype'); + font-weight: 900; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Source Code Pro'; + src: local('Source Code Pro ExtraLight Italic'), local('SourceCodePro-ExtraLightIt'), + url('SourceCodePro-ExtraLightIt.ttf') format('truetype'); + font-weight: 200; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Source Code Pro'; + src: local('Source Code Pro Bold Italic'), local('SourceCodePro-BoldIt'), + url('SourceCodePro-BoldIt.ttf') format('truetype'); + font-weight: bold; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Source Code Pro'; + src: local('Source Code Pro Black Italic'), local('SourceCodePro-BlackIt'), + url('SourceCodePro-BlackIt.ttf') format('truetype'); + font-weight: 900; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Source Code Pro'; + src: local('Source Code Pro Bold'), local('SourceCodePro-Bold'), + url('SourceCodePro-Bold.ttf') format('truetype'); + font-weight: bold; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Source Code Pro'; + src: local('Source Code Pro Light Italic'), local('SourceCodePro-LightIt'), + url('SourceCodePro-LightIt.ttf') format('truetype'); + font-weight: 300; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Source Code Pro'; + src: local('Source Code Pro Light'), local('SourceCodePro-Light'), + url('SourceCodePro-Light.ttf') format('truetype'); + font-weight: 300; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Source Code Pro'; + src: local('Source Code Pro Medium'), local('SourceCodePro-Medium'), + url('SourceCodePro-Medium.ttf') format('truetype'); + font-weight: 500; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Source Code Pro'; + src: local('Source Code Pro Medium Italic'), local('SourceCodePro-MediumIt'), + url('SourceCodePro-MediumIt.ttf') format('truetype'); + font-weight: 500; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Source Code Pro'; + src: local('Source Code Pro Italic'), local('SourceCodePro-It'), + url('SourceCodePro-It.ttf') format('truetype'); + font-weight: normal; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Source Code Pro'; + src: local('Source Code Pro'), local('SourceCodePro-Regular'), + url('SourceCodePro-Regular.ttf') format('truetype'); + font-weight: normal; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Source Code Pro'; + src: local('Source Code Pro Semibold Italic'), local('SourceCodePro-SemiboldIt'), + url('SourceCodePro-SemiboldIt.ttf') format('truetype'); + font-weight: 600; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Source Code Pro'; + src: local('Source Code Pro Semibold'), local('SourceCodePro-Semibold'), + url('SourceCodePro-Semibold.ttf') format('truetype'); + font-weight: 600; + font-style: normal; + font-display: swap; +} + diff --git a/assets/font/demo.html b/assets/font/demo.html deleted file mode 100644 index 50aeca5..0000000 --- a/assets/font/demo.html +++ /dev/null @@ -1,597 +0,0 @@ - - - - - - - - - Transfonter demo - - - - -
-
-

Helvetica Now Text Black Ita

-
.your-style {
-    font-family: 'Helvetica Now Text';
-    font-weight: 900;
-    font-style: italic;
-}
-
-

- abcdefghijklmnopqrstuvwxyz
-ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 0123456789.:,;()*!?'@#<>$%&^+-=~ -

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-
-
-
-

Helvetica Now Text ExtBd Ita

-
.your-style {
-    font-family: 'Helvetica Now Text';
-    font-weight: 800;
-    font-style: italic;
-}
-
-

- abcdefghijklmnopqrstuvwxyz
-ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 0123456789.:,;()*!?'@#<>$%&^+-=~ -

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-
-
-
-

Helvetica Now Text Black

-
.your-style {
-    font-family: 'Helvetica Now Text';
-    font-weight: 900;
-    font-style: normal;
-}
-
-

- abcdefghijklmnopqrstuvwxyz
-ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 0123456789.:,;()*!?'@#<>$%&^+-=~ -

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-
-
-
-

Helvetica Now Text Bold Italic

-
.your-style {
-    font-family: 'Helvetica Now Text';
-    font-weight: bold;
-    font-style: italic;
-}
-
-

- abcdefghijklmnopqrstuvwxyz
-ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 0123456789.:,;()*!?'@#<>$%&^+-=~ -

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-
-
-
-

Helvetica Now Text Bold

-
.your-style {
-    font-family: 'Helvetica Now Text';
-    font-weight: bold;
-    font-style: normal;
-}
-
-

- abcdefghijklmnopqrstuvwxyz
-ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 0123456789.:,;()*!?'@#<>$%&^+-=~ -

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-
-
-
-

Helvetica Now Text Reg Ita

-
.your-style {
-    font-family: 'Helvetica Now Text';
-    font-weight: normal;
-    font-style: italic;
-}
-
-

- abcdefghijklmnopqrstuvwxyz
-ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 0123456789.:,;()*!?'@#<>$%&^+-=~ -

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-
-
-
-

Helvetica Now Text ExtLt Ita

-
.your-style {
-    font-family: 'Helvetica Now Text';
-    font-weight: 300;
-    font-style: italic;
-}
-
-

- abcdefghijklmnopqrstuvwxyz
-ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 0123456789.:,;()*!?'@#<>$%&^+-=~ -

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-
-
-
-

Helvetica Now Text Thin

-
.your-style {
-    font-family: 'Helvetica Now Text';
-    font-weight: 100;
-    font-style: normal;
-}
-
-

- abcdefghijklmnopqrstuvwxyz
-ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 0123456789.:,;()*!?'@#<>$%&^+-=~ -

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-
-
-
-

Helvetica Now Text Extra Light

-
.your-style {
-    font-family: 'Helvetica Now Text';
-    font-weight: 200;
-    font-style: normal;
-}
-
-

- abcdefghijklmnopqrstuvwxyz
-ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 0123456789.:,;()*!?'@#<>$%&^+-=~ -

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-
-
-
-

Helvetica Now Text Light

-
.your-style {
-    font-family: 'Helvetica Now Text';
-    font-weight: 300;
-    font-style: normal;
-}
-
-

- abcdefghijklmnopqrstuvwxyz
-ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 0123456789.:,;()*!?'@#<>$%&^+-=~ -

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-
-
-
-

Helvetica Now Text Extra Bold

-
.your-style {
-    font-family: 'Helvetica Now Text';
-    font-weight: 800;
-    font-style: normal;
-}
-
-

- abcdefghijklmnopqrstuvwxyz
-ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 0123456789.:,;()*!?'@#<>$%&^+-=~ -

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-
-
-
-

Helvetica Now Text Med Ita

-
.your-style {
-    font-family: 'Helvetica Now Text';
-    font-weight: 500;
-    font-style: italic;
-}
-
-

- abcdefghijklmnopqrstuvwxyz
-ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 0123456789.:,;()*!?'@#<>$%&^+-=~ -

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-
-
-
-

Helvetica Now Text Regular

-
.your-style {
-    font-family: 'Helvetica Now Text';
-    font-weight: normal;
-    font-style: normal;
-}
-
-

- abcdefghijklmnopqrstuvwxyz
-ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 0123456789.:,;()*!?'@#<>$%&^+-=~ -

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-
-
-
-

Helvetica Now Text Light Ita

-
.your-style {
-    font-family: 'Helvetica Now Text';
-    font-weight: 300;
-    font-style: italic;
-}
-
-

- abcdefghijklmnopqrstuvwxyz
-ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 0123456789.:,;()*!?'@#<>$%&^+-=~ -

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-
-
-
-

Helvetica Now Text Thin Italic

-
.your-style {
-    font-family: 'Helvetica Now Text';
-    font-weight: 100;
-    font-style: italic;
-}
-
-

- abcdefghijklmnopqrstuvwxyz
-ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 0123456789.:,;()*!?'@#<>$%&^+-=~ -

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-
-
-
-

Helvetica Now Text Medium

-
.your-style {
-    font-family: 'Helvetica Now Text';
-    font-weight: 500;
-    font-style: normal;
-}
-
-

- abcdefghijklmnopqrstuvwxyz
-ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 0123456789.:,;()*!?'@#<>$%&^+-=~ -

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-

The quick brown fox jumps over the lazy dog.

-
-
-
- - \ No newline at end of file diff --git a/assets/font/example.html b/assets/font/example.html deleted file mode 100644 index d8fef3b..0000000 --- a/assets/font/example.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - -

Generated from: http://www.cufonfonts.com


-

AaBbCcDdEeFfGgHhŞşIıİi Example

-

AaBbCcDdEeFfGgHhŞşIıİi Example

-

AaBbCcDdEeFfGgHhŞşIıİi Example

-

AaBbCcDdEeFfGgHhŞşIıİi Example

-

AaBbCcDdEeFfGgHhŞşIıİi Example

-

AaBbCcDdEeFfGgHhŞşIıİi Example

-

AaBbCcDdEeFfGgHhŞşIıİi Example

- - - - \ No newline at end of file diff --git a/assets/font/quicksand-cufonfonts-webfont.zip b/assets/font/quicksand-cufonfonts-webfont.zip deleted file mode 100644 index 6a9cc74..0000000 Binary files a/assets/font/quicksand-cufonfonts-webfont.zip and /dev/null differ diff --git a/assets/font/Oswald-VariableFont_wght.ttf b/assets/font/static/Oswald-VariableFont_wght.ttf similarity index 100% rename from assets/font/Oswald-VariableFont_wght.ttf rename to assets/font/static/Oswald-VariableFont_wght.ttf diff --git a/assets/images/Auxilium.png b/assets/images/Auxilium.png new file mode 100644 index 0000000..720d16c Binary files /dev/null and b/assets/images/Auxilium.png differ diff --git a/assets/images/Parent Message (4 Sep 2020).pdf b/assets/images/Parent Message (4 Sep 2020).pdf new file mode 100644 index 0000000..b9a7fd9 Binary files /dev/null and b/assets/images/Parent Message (4 Sep 2020).pdf differ diff --git a/assets/images/Quento_Notes_Filler.png b/assets/images/Quento_Notes_Filler.png new file mode 100644 index 0000000..ef4ba16 Binary files /dev/null and b/assets/images/Quento_Notes_Filler.png differ diff --git a/assets/images/homepageBackground.png b/assets/images/defaultBackground.png similarity index 100% rename from assets/images/homepageBackground.png rename to assets/images/defaultBackground.png diff --git a/assets/scss/components/modal.scss b/assets/scss/components/modal.scss index 857a4a7..c05f863 100644 --- a/assets/scss/components/modal.scss +++ b/assets/scss/components/modal.scss @@ -1,9 +1,13 @@ #notes-screen-container { .sidebar-spacer { - width: calc(130px); + width: calc(260px); + flex-shrink: 0; margin-left: 0; + min-height :0; + @media only screen and (min-width: 1024px) { + min-height: 100vh; + } } - #notes-content-overlay { position: absolute; opacity: 0; diff --git a/assets/scss/components/notes_md.scss b/assets/scss/components/notes_md.scss index 303b0ce..5b86159 100644 --- a/assets/scss/components/notes_md.scss +++ b/assets/scss/components/notes_md.scss @@ -57,11 +57,19 @@ font-style: italic !important; } } - pre > code { - margin-bottom: 2rem !important; - background-color: #eeeeee; - border-radius: 0.5rem; - padding: 1rem; + + pre{ + border-style: solid; + border-width: 0.05rem; + border-radius: 0.4rem; + border-color: rgb(209, 209, 209); + padding: 0.7rem; + background-color: #f8f8f8; + } + pre code { + font-family: Source Code Pro; + background-color: #eee0; + padding: 0em; } ul { diff --git a/assets/scss/components/text.scss b/assets/scss/components/text.scss index 8b13789..e69de29 100644 --- a/assets/scss/components/text.scss +++ b/assets/scss/components/text.scss @@ -1 +0,0 @@ - diff --git a/assets/scss/vuexy/_customClasses.scss b/assets/scss/vuexy/_customClasses.scss index 892c13e..355a8c5 100644 --- a/assets/scss/vuexy/_customClasses.scss +++ b/assets/scss/vuexy/_customClasses.scss @@ -480,6 +480,7 @@ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + display : block !important } .text-big { diff --git a/assets/scss/vuexy/components/vxCard.scss b/assets/scss/vuexy/components/vxCard.scss index 26c5d1b..8208d60 100644 --- a/assets/scss/vuexy/components/vxCard.scss +++ b/assets/scss/vuexy/components/vxCard.scss @@ -10,7 +10,7 @@ .vx-card{ width: 100%; - background: #fff; + background: #ffffff; border-radius: .5rem; display: block; box-shadow: 0px 4px 25px 0px rgba(0,0,0,.1); diff --git a/assets/scss/vuexy/layout/_layoutCommon.scss b/assets/scss/vuexy/layout/_layoutCommon.scss index 4872587..55d165f 100644 --- a/assets/scss/vuexy/layout/_layoutCommon.scss +++ b/assets/scss/vuexy/layout/_layoutCommon.scss @@ -40,7 +40,11 @@ body { .router-view { position: relative; - padding: 2.2rem; + + //TEMPORARY SOLUTION. FIX SOON + $extraPadding:0rem; + padding: 2.2rem + $extraPadding; + // padding-left:$extraPadding; @media (max-width: 576px) { padding: 1.2rem !important; @@ -81,6 +85,10 @@ body { z-index: 41001; opacity: 1; } + .show-lower-overlay & { + z-index: 40999; + opacity: 1; + } } .the-footer { diff --git a/assets/scss/vuexy/layout/_theNavbar.scss b/assets/scss/vuexy/layout/_theNavbar.scss index 604f0e0..85389e3 100644 --- a/assets/scss/vuexy/layout/_theNavbar.scss +++ b/assets/scss/vuexy/layout/_theNavbar.scss @@ -22,15 +22,14 @@ } .vx-navbar-wrapper { - background: linear-gradient(to bottom, rgba(248, 248, 248, 0.95) 44%, rgba(248, 248, 248, 0.46) 73%, rgba(255, 255, 255, 0) 100%); - background-repeat-x: repeat; z-index: 41001; width: 100%; + background-position-y: 0; height: 103px; - background-repeat-y: no-repeat; + // transition-duration: 1s; // position: fixed; top: 0; - // transition: all .5s; + transition: all .5s ease; .vx-navbar { .vs-con-items { @@ -67,10 +66,6 @@ } } -.show-overlay .vx-navbar-wrapper { - background: linear-gradient(to bottom, rgba(44, 48, 60, 0.9) 44%, rgba(44, 48, 60, 0.43) 73%, rgba(44, 48, 60, 0) 100%); -} - ///////////////////////////////////////////////////////// // NAVBAR VARIANTS diff --git a/assets/utils/color.ts b/assets/utils/color.ts index 1b28881..55a4bce 100644 --- a/assets/utils/color.ts +++ b/assets/utils/color.ts @@ -1,11 +1,9 @@ - - - export default { darken(color : any, percent : any) { var f=color.split(","),t=percent<0?0:255,p=percent<0?percent*-1:percent,R=parseInt(f[0].slice(4)),G=parseInt(f[1]),B=parseInt(f[2]); return "rgb("+(Math.round((t-R)*p)+R)+","+(Math.round((t-G)*p)+G)+","+(Math.round((t-B)*p)+B)+")"; }, + getColor(colorx : any, alphax = 1, defaultx = true){ // change color hex to RGB if(/^[#]/.test(colorx)){ @@ -35,16 +33,19 @@ export default { } return colorx }, + isColor(colorx : any){ let vscolors = ['primary','secondary','success','danger','warning','dark', 'light'] return vscolors.includes(colorx) }, + RandomColor(){ function getRandomInt(min : any, max : any) { return Math.floor(Math.random() * (max - min)) + min; } return `rgb(${getRandomInt(0,255)},${getRandomInt(0,255)},${getRandomInt(0,255)})` }, + rColor(colorx : any,opacity=1){ if(/^[#]/.test(colorx)){ let c = this.hexToRgb(colorx) @@ -76,6 +77,7 @@ export default { return `rgba(var(--primary),${opacity})` } }, + contrastColor(elementx : any) { let c = elementx if(/[#]/g.test(elementx)){ @@ -90,11 +92,13 @@ export default { return false } }, + setCssVariable(propertyName : any, value : any) { if(typeof window !== 'undefined'){ document.documentElement.style.setProperty(propertyName, value); } }, + hexToRgb(hex : any) { // Expand shorthand form (e.g. "03F") to full form (e.g. "0033FF") var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; @@ -110,9 +114,11 @@ export default { } : {}; }, + getVariable(styles : any, propertyName : any) { return String(styles.getPropertyValue(propertyName)).trim(); }, + changeColor(colorInicial : any) { let colores = ['primary','success','danger','warning','dark'] let colorx diff --git a/components/NotesSidebar.vue b/components/FilterSidebar.vue similarity index 80% rename from components/NotesSidebar.vue rename to components/FilterSidebar.vue index e3d5eea..3b13f14 100644 --- a/components/NotesSidebar.vue +++ b/components/FilterSidebar.vue @@ -1,6 +1,7 @@ + + +
+ + +
+ + + - + + + \ No newline at end of file diff --git a/components/NotesSearchBar.vue b/components/NotesSearchBar.vue new file mode 100644 index 0000000..ea30b8e --- /dev/null +++ b/components/NotesSearchBar.vue @@ -0,0 +1,169 @@ + + + + \ No newline at end of file diff --git a/components/QuestionCard.vue b/components/QuestionCard.vue index 1e81e5f..01086ac 100644 --- a/components/QuestionCard.vue +++ b/components/QuestionCard.vue @@ -1,59 +1,58 @@ - diff --git a/components/ResponseCard.vue b/components/ResponseCard.vue index 633a73e..9937660 100644 --- a/components/ResponseCard.vue +++ b/components/ResponseCard.vue @@ -1,5 +1,5 @@ + + diff --git a/pages/user/discord.vue b/pages/user/discord.vue index 6d9df9a..9050847 100644 --- a/pages/user/discord.vue +++ b/pages/user/discord.vue @@ -28,8 +28,6 @@ export default class DiscordAuth extends Vue { code, scope }) - console.log({ request }) - await authStore.refreshUserData(); this.$vs.notification({ title : "Success, Discord Linked!", message : 'Use the `/profile` command in the Quento Discord', diff --git a/pages/user/profile.vue b/pages/user/profile.vue index a922286..b1cd76f 100644 --- a/pages/user/profile.vue +++ b/pages/user/profile.vue @@ -16,28 +16,20 @@
-
{{ UserData.displayName }}
+
+ {{ UserData.displayName }} + Friends +
Grade {{ UserData.currentGrade }} at {{ UserData.school }}
-
- - -
{{ UserData.discordUsername }}
-
Link Discord
-
-
Level
@@ -46,7 +38,7 @@
-
+
@@ -99,10 +91,153 @@
-
+
Edit Profile + + +
{{ UserData.discordUsername }}
+
Link Discord
+
+ + + + + + + +
+
+ + + + +
+
+ +
{{person.displayName}}
+ +
+ Accept + Decline +
+
+ Follows You +
+
+
+ + +
+
+ + + + +
+
+ +
{{person.displayName}}
+ +
+ Unfollow + Follows You +
+
+
+ + +
+
+ + + + +
+
+ +
{{person.name}}
+ +
+ + Follow Request Pending + + + Follows You +
+
+
+
@@ -166,12 +301,20 @@ import firestore from '~/plugins/firestore' import { SubjectGroup_O, Subject_O, SubjectIconList } from '~/types/subjects' import NotesCard from '~/components/NotesCard.vue' import { Note_t, Note, Note_t_F } from '~/types/notes' +import { auth } from 'firebase' +import { UserData } from '~/types/user' +import { User } from '~/types' +import firebase from 'firebase/app' @Component({ components: { NotesCard }, - mounted() { - this.getUserNotes() + async mounted() { + await this.getUserNotes() + await this.getFriends() + if (this.$route.query.followers) { + this.followerModal = true + } } }) export default class UserProfile extends mixins(UserMixin) { @@ -185,6 +328,158 @@ export default class UserProfile extends mixins(UserMixin) { } UserNotes: Note[] = [] + followerModal = false + userInfo: UserData | null = null + followers: any = [] + following: any = [] + following_for_real: any = [] + async fetchUser(uid: string) { + try { + const doc = await firestore.doc(`users/${uid}`).get() + const userData2 = doc.data() as UserData + + const userDataReq = Object.assign({}, userData2) + return userDataReq + } catch (error) { + console.error({ error }) + return + } + } + + async removePending(uid: string) { + const loading = this.$vs.loading() + try { + const doc = await firestore + .collection('users') + .doc(this.AuthUser?.uid) + .update({ + pendingFollowing: firebase.firestore.FieldValue.arrayRemove(uid) + }) + + const doc2 = await firestore + .collection('users') + .doc(uid) + .collection('followers') + .doc(this.AuthUser?.uid) + .delete() + } catch (e) { + } + this.getFriends() + loading.close() + } + + async userFollowPerson(person: UserData) { + if (!person.following) { + return false + } + if (person.following.includes(this.AuthUser?.uid as string)) { + return true + } else { + return false + } + } + + async getFriends() { + if (!this.AuthUser) { + return + } + + var friends = [] + + // Get pending friends + const userObject = await this.fetchUser(this.AuthUser?.uid as string) + const pendingFriends = userObject?.pendingFollowing + + if (!pendingFriends) { + return + } + for (var i = 0; i < pendingFriends?.length; i++) { + const friendInfo = await this.fetchUser(pendingFriends[i]) + friends.push({ + name: friendInfo?.displayName, + photoURL: friendInfo?.photoURL, + status: 'pending', + uid: pendingFriends[i] + }) + } + + // Get friends + const doc = await firestore + .collection('users') + .doc(this.AuthUser?.uid) + .collection('followers') + .get() + const followers2 = doc.docs.map((follower: any) => follower.data()) + + this.following = Object.assign({}, friends) + this.followers = Object.assign({}, followers2) + // const followerList = doc as UserData + + // Get Following + this.following_for_real = ( + await Promise.all( + this.UserData?.following?.map((id) => + firestore.collection('users').doc(id).get() + ) || [] + ) + ).map((doc) => ({ ...doc.data(), uid: doc.id })) + + } + + async acceptFriend(uid: string, displayName: string, photoURL: string) { + const loading = this.$vs.loading() + + // Add friend to user's collection + const doc = await firestore + .collection('users') + .doc(this.AuthUser?.uid) + .collection('followers') + .doc(uid) + .update({ + accepted: true + }) + + await this.getFriends() + loading.close() + } + + async declineFriend(uid: string) { + const loading = this.$vs.loading() + // Remove the pending follow request from user's collection + + const doc = await firestore + .collection('users') + .doc(this.AuthUser?.uid) + .collection('followers') + .doc(uid) + .delete() + + // Delete pending following for friend + await this.getFriends() + loading.close() + } + + async unFollowFriend(uid: string) { + const loading = this.$vs.loading() + + const doc = await firestore + .collection('users') + .doc(this.AuthUser?.uid) + .update({ + following: firebase.firestore.FieldValue.arrayRemove(uid) + }) + + const unFollowQuery = await firestore + .collection('users') + .doc(uid) + .collection('followers') + .doc(this.AuthUser?.uid) + .delete() + + await this.getFriends() + loading.close() + } + async getUserNotes() { if (!this.AuthUser) { return @@ -218,8 +513,26 @@ export default class UserProfile extends mixins(UserMixin) { getIcon(subject: SubjectGroup_O | Subject_O) { return SubjectIconList[subject] } + + cmyk(color: number) { + const minBlack = 10 + const maxBlack = 90 + return ( + 255 * + (1 - color / 100) * + (1 - (Math.floor(Math.random() * (maxBlack - minBlack)) + minBlack) / 100) + ) + } randomColor() { - return Math.floor(Math.random() * 16777215).toString(16) + return ( + 'rgb(' + + this.cmyk(Math.floor(Math.random() * 100)).toString() + + ', ' + + this.cmyk(Math.floor(Math.random() * 100)).toString() + + ', ' + + this.cmyk(Math.floor(Math.random() * 100)).toString() + + ')' + ) } } diff --git a/pages/user/view/_id.vue b/pages/user/view/_id.vue index 2e04a19..7242029 100644 --- a/pages/user/view/_id.vue +++ b/pages/user/view/_id.vue @@ -20,7 +20,46 @@
-
{{ userInfo.displayName }}
+
+ {{ userInfo.displayName }} + Follow + + Follow Request Pending + + + Unfollow + Follows You +
+ + \ No newline at end of file diff --git a/screens/groups/groupCreateModal.vue b/screens/groups/groupCreateModal.vue new file mode 100644 index 0000000..d4991eb --- /dev/null +++ b/screens/groups/groupCreateModal.vue @@ -0,0 +1,275 @@ + + + \ No newline at end of file diff --git a/screens/groups/groupJoinModal.vue b/screens/groups/groupJoinModal.vue new file mode 100644 index 0000000..798542a --- /dev/null +++ b/screens/groups/groupJoinModal.vue @@ -0,0 +1,116 @@ + + + + \ No newline at end of file diff --git a/screens/groups/groupModal.vue b/screens/groups/groupModal.vue new file mode 100644 index 0000000..1123af6 --- /dev/null +++ b/screens/groups/groupModal.vue @@ -0,0 +1,38 @@ + + + \ No newline at end of file diff --git a/screens/notes/EditNotesModal.vue b/screens/notes/EditNotesModal.vue index 431d4c8..fa2dbe8 100644 --- a/screens/notes/EditNotesModal.vue +++ b/screens/notes/EditNotesModal.vue @@ -12,11 +12,13 @@ > Your note cannot exceed 5000 characters -
+
+ + {{ActiveNote.groupName}} + + - +
-
- {{ subjectGroup.name }} -
+
{{ subjectGroup.name }}
-
- {{ subject.name }} -
+
{{ subject.name }}
@@ -62,6 +68,7 @@ class="block mb-3 w-6 mt-3 w-full lg:w-1/2" placeholder="Grade" v-model="ActiveNote.grade" + :disabled="ActiveNote.groupId" > Grade {{ grade }}
+ + +
{{ school }}
+
+
- + />
@@ -102,9 +122,9 @@