From abab7a1074dbb7833102f124df6b209ea842efc4 Mon Sep 17 00:00:00 2001 From: khatabwedaa Date: Mon, 15 Feb 2021 09:39:16 +0200 Subject: [PATCH 1/4] Init --- .editorconfig | 13 ++ .gitignore | 104 +++++++-- LICENSE | 21 -- .../css/custom-utilities.css | 2 +- .../css/app.css => assets/css/tailwind.css | 2 +- {src/assets => assets}/merakiui-og.png | Bin {src/assets => assets}/svg/Catalogue-pana.svg | 0 {src/assets => assets}/svg/Responsive-bro.svg | 0 {src/assets => assets}/svg/hero-pattern.svg | 0 {src/assets => assets}/svg/logo.svg | 0 {src/assets => assets}/tails.jpg | Bin {src/assets => assets}/tails_mobile.jpg | Bin babel.config.js | 4 - components/Logo.vue | 29 +++ components/README.md | 7 + layouts/default.vue | 5 + {src/models => models}/Components.js | 0 {src/models => models}/ComponentsFilter.js | 0 nuxt.config.js | 47 ++++ package.json | 68 ++---- pages/index.vue | 8 + postcss.config.js | 7 - public/_redirects | 2 - public/index.html | 17 -- src/App.vue | 80 ------- src/components/Header.vue | 80 ------- src/components/Main.vue | 174 --------------- src/components/ui/Alerts/ErrorFullWidth.vue | 51 ----- src/components/ui/Alerts/ErrorPop.vue | 45 ---- src/components/ui/Alerts/InfoFullWidth.vue | 51 ----- src/components/ui/Alerts/InfoPop.vue | 45 ---- src/components/ui/Alerts/NotificationPop.vue | 39 ---- src/components/ui/Alerts/SuccessFullWidth.vue | 51 ----- src/components/ui/Alerts/SuccessPop.vue | 46 ---- src/components/ui/Alerts/WarningFullWidth.vue | 51 ----- src/components/ui/Alerts/WarningPop.vue | 45 ---- .../ui/Authentication/LoginWithSideImage.vue | 133 ----------- .../ui/Authentication/SimpleLogin.vue | 83 ------- src/components/ui/Buttons/Primary.vue | 23 -- src/components/ui/Buttons/WithIcon.vue | 29 --- src/components/ui/Buttons/WithMenu.vue | 67 ------ src/components/ui/Cards/Article.vue | 57 ----- src/components/ui/Cards/ArticleWithImage.vue | 59 ----- .../ui/Cards/ArticleWithSMIcons.vue | 89 -------- src/components/ui/Cards/Product.vue | 43 ---- .../ui/Cards/ProductWithEvaluation.vue | 90 -------- src/components/ui/Cards/SimpleProduct.vue | 41 ---- src/components/ui/Cards/Testimonial.vue | 43 ---- src/components/ui/Cards/User.vue | 33 --- src/components/ui/Cards/UserWithDetails.vue | 99 --------- src/components/ui/Dropdowns/Notification.vue | 105 --------- src/components/ui/Dropdowns/Simple.vue | 81 ------- src/components/ui/Footers/Simple.vue | 67 ------ src/components/ui/Footers/WithDetails.vue | 161 -------------- .../ui/Footers/WithSubscribeForm.vue | 83 ------- src/components/ui/Forms/Contact.vue | 131 ----------- src/components/ui/Forms/Newsletter.vue | 55 ----- src/components/ui/Forms/Search.vue | 96 -------- src/components/ui/Forms/Simple.vue | 79 ------- src/components/ui/Forms/SimpleNewsletter.vue | 45 ---- src/components/ui/Heros/ECommerce.vue | 128 ----------- src/components/ui/Heros/WithBGImage.vue | 94 -------- src/components/ui/Heros/WithImage.vue | 210 ------------------ src/components/ui/Heros/WithPattern.vue | 118 ---------- src/components/ui/Heros/WithSideImage.vue | 114 ---------- src/components/ui/Navbars/ECommerce.vue | 92 -------- src/components/ui/Navbars/WithAvatar.vue | 110 --------- src/components/ui/Navbars/WithCategories.vue | 201 ----------------- src/components/ui/Navbars/WithSearch.vue | 92 -------- src/components/ui/Paginations/Simple.vue | 61 ----- src/components/ui/Sections/AboutMe.vue | 111 --------- src/components/ui/Sections/Feature.vue | 87 -------- src/components/ui/Sections/OurTeam.vue | 103 --------- .../ui/Sections/ParagraphWithImage.vue | 49 ---- src/components/ui/Sidebars/WithAvatar.vue | 111 --------- src/components/ui/Sidebars/WithSearch.vue | 167 -------------- src/components/utilities/AppButton.vue | 18 -- src/components/utilities/CodeSnippet.vue | 42 ---- src/components/utilities/ViewComponent.vue | 92 -------- src/main.js | 20 -- {public => static}/favicon.ico | Bin tailwind.config.js | 7 +- 82 files changed, 216 insertions(+), 4697 deletions(-) create mode 100644 .editorconfig delete mode 100644 LICENSE rename {src/assets => assets}/css/custom-utilities.css (99%) rename src/assets/css/app.css => assets/css/tailwind.css (89%) rename {src/assets => assets}/merakiui-og.png (100%) rename {src/assets => assets}/svg/Catalogue-pana.svg (100%) rename {src/assets => assets}/svg/Responsive-bro.svg (100%) rename {src/assets => assets}/svg/hero-pattern.svg (100%) rename {src/assets => assets}/svg/logo.svg (100%) rename {src/assets => assets}/tails.jpg (100%) rename {src/assets => assets}/tails_mobile.jpg (100%) delete mode 100644 babel.config.js create mode 100644 components/Logo.vue create mode 100644 components/README.md create mode 100644 layouts/default.vue rename {src/models => models}/Components.js (100%) rename {src/models => models}/ComponentsFilter.js (100%) create mode 100644 nuxt.config.js create mode 100644 pages/index.vue delete mode 100644 postcss.config.js delete mode 100644 public/_redirects delete mode 100644 public/index.html delete mode 100644 src/App.vue delete mode 100644 src/components/Header.vue delete mode 100644 src/components/Main.vue delete mode 100644 src/components/ui/Alerts/ErrorFullWidth.vue delete mode 100644 src/components/ui/Alerts/ErrorPop.vue delete mode 100644 src/components/ui/Alerts/InfoFullWidth.vue delete mode 100644 src/components/ui/Alerts/InfoPop.vue delete mode 100644 src/components/ui/Alerts/NotificationPop.vue delete mode 100644 src/components/ui/Alerts/SuccessFullWidth.vue delete mode 100644 src/components/ui/Alerts/SuccessPop.vue delete mode 100644 src/components/ui/Alerts/WarningFullWidth.vue delete mode 100644 src/components/ui/Alerts/WarningPop.vue delete mode 100644 src/components/ui/Authentication/LoginWithSideImage.vue delete mode 100644 src/components/ui/Authentication/SimpleLogin.vue delete mode 100644 src/components/ui/Buttons/Primary.vue delete mode 100644 src/components/ui/Buttons/WithIcon.vue delete mode 100644 src/components/ui/Buttons/WithMenu.vue delete mode 100644 src/components/ui/Cards/Article.vue delete mode 100644 src/components/ui/Cards/ArticleWithImage.vue delete mode 100644 src/components/ui/Cards/ArticleWithSMIcons.vue delete mode 100644 src/components/ui/Cards/Product.vue delete mode 100644 src/components/ui/Cards/ProductWithEvaluation.vue delete mode 100644 src/components/ui/Cards/SimpleProduct.vue delete mode 100644 src/components/ui/Cards/Testimonial.vue delete mode 100644 src/components/ui/Cards/User.vue delete mode 100644 src/components/ui/Cards/UserWithDetails.vue delete mode 100644 src/components/ui/Dropdowns/Notification.vue delete mode 100644 src/components/ui/Dropdowns/Simple.vue delete mode 100644 src/components/ui/Footers/Simple.vue delete mode 100644 src/components/ui/Footers/WithDetails.vue delete mode 100644 src/components/ui/Footers/WithSubscribeForm.vue delete mode 100644 src/components/ui/Forms/Contact.vue delete mode 100644 src/components/ui/Forms/Newsletter.vue delete mode 100644 src/components/ui/Forms/Search.vue delete mode 100644 src/components/ui/Forms/Simple.vue delete mode 100644 src/components/ui/Forms/SimpleNewsletter.vue delete mode 100644 src/components/ui/Heros/ECommerce.vue delete mode 100644 src/components/ui/Heros/WithBGImage.vue delete mode 100644 src/components/ui/Heros/WithImage.vue delete mode 100644 src/components/ui/Heros/WithPattern.vue delete mode 100644 src/components/ui/Heros/WithSideImage.vue delete mode 100644 src/components/ui/Navbars/ECommerce.vue delete mode 100644 src/components/ui/Navbars/WithAvatar.vue delete mode 100644 src/components/ui/Navbars/WithCategories.vue delete mode 100644 src/components/ui/Navbars/WithSearch.vue delete mode 100644 src/components/ui/Paginations/Simple.vue delete mode 100644 src/components/ui/Sections/AboutMe.vue delete mode 100644 src/components/ui/Sections/Feature.vue delete mode 100644 src/components/ui/Sections/OurTeam.vue delete mode 100644 src/components/ui/Sections/ParagraphWithImage.vue delete mode 100644 src/components/ui/Sidebars/WithAvatar.vue delete mode 100644 src/components/ui/Sidebars/WithSearch.vue delete mode 100644 src/components/utilities/AppButton.vue delete mode 100644 src/components/utilities/CodeSnippet.vue delete mode 100644 src/components/utilities/ViewComponent.vue delete mode 100644 src/main.js rename {public => static}/favicon.ico (100%) diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..5d12634 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitignore b/.gitignore index 997c6eb..93e0503 100644 --- a/.gitignore +++ b/.gitignore @@ -1,23 +1,91 @@ -.DS_Store -node_modules -/dist -package-lock.json -yarn.lock - -# local env files -.env.local -.env.*.local - -# Log files +# Created by .ignore support plugin (hsz.mobi) +### Node template +# Logs +/logs +*.log npm-debug.log* yarn-debug.log* yarn-error.log* +yarn.lock -# Editor directories and files +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# TypeScript v1 declaration files +typings/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env + +# parcel-bundler cache (https://parceljs.org/) +.cache + +# next.js build output +.next + +# nuxt.js build output +.nuxt + +# Nuxt generate +dist + +# vuepress build output +.vuepress/dist + +# Serverless directories +.serverless + +# IDE / Editor .idea -.vscode -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? + +# Service worker +sw.* + +# macOS +.DS_Store + +# Vim swap files +*.swp diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 359c663..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2020 Meraki UI - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/src/assets/css/custom-utilities.css b/assets/css/custom-utilities.css similarity index 99% rename from src/assets/css/custom-utilities.css rename to assets/css/custom-utilities.css index 0604f90..292694e 100644 --- a/src/assets/css/custom-utilities.css +++ b/assets/css/custom-utilities.css @@ -17,4 +17,4 @@ ::-webkit-scrollbar-thumb:hover { background: #718096; -} +} \ No newline at end of file diff --git a/src/assets/css/app.css b/assets/css/tailwind.css similarity index 89% rename from src/assets/css/app.css rename to assets/css/tailwind.css index 20045c2..6df8f05 100644 --- a/src/assets/css/app.css +++ b/assets/css/tailwind.css @@ -7,4 +7,4 @@ /* @import "./custom-components.css"; */ @import "tailwindcss/utilities"; -@import "./custom-utilities.css"; +@import "./custom-utilities.css"; \ No newline at end of file diff --git a/src/assets/merakiui-og.png b/assets/merakiui-og.png similarity index 100% rename from src/assets/merakiui-og.png rename to assets/merakiui-og.png diff --git a/src/assets/svg/Catalogue-pana.svg b/assets/svg/Catalogue-pana.svg similarity index 100% rename from src/assets/svg/Catalogue-pana.svg rename to assets/svg/Catalogue-pana.svg diff --git a/src/assets/svg/Responsive-bro.svg b/assets/svg/Responsive-bro.svg similarity index 100% rename from src/assets/svg/Responsive-bro.svg rename to assets/svg/Responsive-bro.svg diff --git a/src/assets/svg/hero-pattern.svg b/assets/svg/hero-pattern.svg similarity index 100% rename from src/assets/svg/hero-pattern.svg rename to assets/svg/hero-pattern.svg diff --git a/src/assets/svg/logo.svg b/assets/svg/logo.svg similarity index 100% rename from src/assets/svg/logo.svg rename to assets/svg/logo.svg diff --git a/src/assets/tails.jpg b/assets/tails.jpg similarity index 100% rename from src/assets/tails.jpg rename to assets/tails.jpg diff --git a/src/assets/tails_mobile.jpg b/assets/tails_mobile.jpg similarity index 100% rename from src/assets/tails_mobile.jpg rename to assets/tails_mobile.jpg diff --git a/babel.config.js b/babel.config.js deleted file mode 100644 index ae71563..0000000 --- a/babel.config.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - presets: ["@vue/cli-plugin-babel/preset"], - plugins: ["@babel/plugin-syntax-dynamic-import"], -}; diff --git a/components/Logo.vue b/components/Logo.vue new file mode 100644 index 0000000..b1de012 --- /dev/null +++ b/components/Logo.vue @@ -0,0 +1,29 @@ + + + diff --git a/components/README.md b/components/README.md new file mode 100644 index 0000000..a079f10 --- /dev/null +++ b/components/README.md @@ -0,0 +1,7 @@ +# COMPONENTS + +**This directory is not required, you can delete it if you don't want to use it.** + +The components directory contains your Vue.js Components. + +_Nuxt.js doesn't supercharge these components._ diff --git a/layouts/default.vue b/layouts/default.vue new file mode 100644 index 0000000..0acb4c7 --- /dev/null +++ b/layouts/default.vue @@ -0,0 +1,5 @@ + diff --git a/src/models/Components.js b/models/Components.js similarity index 100% rename from src/models/Components.js rename to models/Components.js diff --git a/src/models/ComponentsFilter.js b/models/ComponentsFilter.js similarity index 100% rename from src/models/ComponentsFilter.js rename to models/ComponentsFilter.js diff --git a/nuxt.config.js b/nuxt.config.js new file mode 100644 index 0000000..fb511ba --- /dev/null +++ b/nuxt.config.js @@ -0,0 +1,47 @@ +export default { + // Disable server-side rendering: https://go.nuxtjs.dev/ssr-mode + ssr: false, + + // Target: https://go.nuxtjs.dev/config-target + target: 'static', + + // Global page headers: https://go.nuxtjs.dev/config-head + head: { + title: 'merakiui', + htmlAttrs: { + lang: 'en' + }, + meta: [ + { charset: 'utf-8' }, + { name: 'viewport', content: 'width=device-width, initial-scale=1' }, + { hid: 'description', name: 'description', content: '' } + ], + link: [ + { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' } + ] + }, + + // Global CSS: https://go.nuxtjs.dev/config-css + css: [ + ], + + // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins + plugins: [ + ], + + // Auto import components: https://go.nuxtjs.dev/config-components + components: true, + + // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules + buildModules: [ + '@nuxtjs/tailwindcss' + ], + + // Modules: https://go.nuxtjs.dev/config-modules + modules: [ + ], + + // Build Configuration: https://go.nuxtjs.dev/config-build + build: { + } +} diff --git a/package.json b/package.json index 52bdfc6..51e1462 100644 --- a/package.json +++ b/package.json @@ -1,64 +1,22 @@ { "name": "merakiui", - "version": "0.1.0", + "version": "1.0.0", "private": true, "scripts": { - "serve": "vue-cli-service serve", - "build": "vue-cli-service build", - "lint": "vue-cli-service lint" + "dev": "nuxt", + "build": "nuxt build", + "start": "nuxt start", + "generate": "nuxt generate" }, "dependencies": { - "autoprefixer": "^9.7.6", - "core-js": "^3.6.4", - "highlight.js": "^10.0.2", - "postcss-import": "^12.0.1", - "tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.0.1", - "vue": "^2.6.11", - "vue-analytics": "^5.22.1", - "vue-backtotop": "^1.6.1", - "vue-clipboard2": "^0.3.1", - "vue-meta": "^2.4.0" + "core-js": "^3.8.3", + "nuxt": "^2.14.12" }, "devDependencies": { - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@vue/cli-plugin-babel": "^4.3.0", - "@vue/cli-plugin-eslint": "^4.3.0", - "@vue/cli-service": "^4.3.0", - "babel-eslint": "^10.1.0", - "eslint": "^6.7.2", - "eslint-plugin-vue": "^6.2.2", - "husky": "^4.3.0", - "lint-staged": "^10.5.1", - "prettier": "^2.1.2", - "vue-template-compiler": "^2.6.11" - }, - "husky": { - "hooks": { - "pre-commit": "lint-staged" - } - }, - "lint-staged": { - "*.{js,css,md}": [ - "prettier --tab-width 4 --jsx-bracket-same-line true --write" - ] - }, - "eslintConfig": { - "root": true, - "env": { - "node": true - }, - "extends": [ - "plugin:vue/essential", - "eslint:recommended" - ], - "parserOptions": { - "parser": "babel-eslint" - }, - "rules": {} - }, - "browserslist": [ - "> 1%", - "last 2 versions", - "not dead" - ] + "@nuxtjs/tailwindcss": "^3.4.2", + "@tailwindcss/postcss7-compat": "^2.0.3", + "autoprefixer": "^9", + "postcss": "^7", + "tailwindcss": "npm:@tailwindcss/postcss7-compat" + } } diff --git a/pages/index.vue b/pages/index.vue new file mode 100644 index 0000000..16a82c1 --- /dev/null +++ b/pages/index.vue @@ -0,0 +1,8 @@ + + + diff --git a/postcss.config.js b/postcss.config.js deleted file mode 100644 index a7c599b..0000000 --- a/postcss.config.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - plugins: [ - require("postcss-import"), - require("tailwindcss"), - require("autoprefixer"), - ], -}; diff --git a/public/_redirects b/public/_redirects deleted file mode 100644 index 75ae215..0000000 --- a/public/_redirects +++ /dev/null @@ -1,2 +0,0 @@ -# Netlify settings for single-page application -/* /index.html 200 \ No newline at end of file diff --git a/public/index.html b/public/index.html deleted file mode 100644 index cd1b503..0000000 --- a/public/index.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - Meraki UI Tailwindcss Components - - - -
- - - diff --git a/src/App.vue b/src/App.vue deleted file mode 100644 index 20de5d8..0000000 --- a/src/App.vue +++ /dev/null @@ -1,80 +0,0 @@ - - - - - diff --git a/src/components/Header.vue b/src/components/Header.vue deleted file mode 100644 index d8071e2..0000000 --- a/src/components/Header.vue +++ /dev/null @@ -1,80 +0,0 @@ - - - diff --git a/src/components/Main.vue b/src/components/Main.vue deleted file mode 100644 index 03efacf..0000000 --- a/src/components/Main.vue +++ /dev/null @@ -1,174 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Alerts/ErrorFullWidth.vue b/src/components/ui/Alerts/ErrorFullWidth.vue deleted file mode 100644 index c7c870e..0000000 --- a/src/components/ui/Alerts/ErrorFullWidth.vue +++ /dev/null @@ -1,51 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Alerts/ErrorPop.vue b/src/components/ui/Alerts/ErrorPop.vue deleted file mode 100644 index 0f2d5fa..0000000 --- a/src/components/ui/Alerts/ErrorPop.vue +++ /dev/null @@ -1,45 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Alerts/InfoFullWidth.vue b/src/components/ui/Alerts/InfoFullWidth.vue deleted file mode 100644 index d08e95f..0000000 --- a/src/components/ui/Alerts/InfoFullWidth.vue +++ /dev/null @@ -1,51 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Alerts/InfoPop.vue b/src/components/ui/Alerts/InfoPop.vue deleted file mode 100644 index 464200f..0000000 --- a/src/components/ui/Alerts/InfoPop.vue +++ /dev/null @@ -1,45 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Alerts/NotificationPop.vue b/src/components/ui/Alerts/NotificationPop.vue deleted file mode 100644 index 7ff21ef..0000000 --- a/src/components/ui/Alerts/NotificationPop.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Alerts/SuccessFullWidth.vue b/src/components/ui/Alerts/SuccessFullWidth.vue deleted file mode 100644 index 8d61b6f..0000000 --- a/src/components/ui/Alerts/SuccessFullWidth.vue +++ /dev/null @@ -1,51 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Alerts/SuccessPop.vue b/src/components/ui/Alerts/SuccessPop.vue deleted file mode 100644 index 8e236ec..0000000 --- a/src/components/ui/Alerts/SuccessPop.vue +++ /dev/null @@ -1,46 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Alerts/WarningFullWidth.vue b/src/components/ui/Alerts/WarningFullWidth.vue deleted file mode 100644 index 5404b45..0000000 --- a/src/components/ui/Alerts/WarningFullWidth.vue +++ /dev/null @@ -1,51 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Alerts/WarningPop.vue b/src/components/ui/Alerts/WarningPop.vue deleted file mode 100644 index 88b0064..0000000 --- a/src/components/ui/Alerts/WarningPop.vue +++ /dev/null @@ -1,45 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Authentication/LoginWithSideImage.vue b/src/components/ui/Authentication/LoginWithSideImage.vue deleted file mode 100644 index 2ae6f97..0000000 --- a/src/components/ui/Authentication/LoginWithSideImage.vue +++ /dev/null @@ -1,133 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Authentication/SimpleLogin.vue b/src/components/ui/Authentication/SimpleLogin.vue deleted file mode 100644 index e340f50..0000000 --- a/src/components/ui/Authentication/SimpleLogin.vue +++ /dev/null @@ -1,83 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Buttons/Primary.vue b/src/components/ui/Buttons/Primary.vue deleted file mode 100644 index 390499e..0000000 --- a/src/components/ui/Buttons/Primary.vue +++ /dev/null @@ -1,23 +0,0 @@ - - - diff --git a/src/components/ui/Buttons/WithIcon.vue b/src/components/ui/Buttons/WithIcon.vue deleted file mode 100644 index 377bdc3..0000000 --- a/src/components/ui/Buttons/WithIcon.vue +++ /dev/null @@ -1,29 +0,0 @@ - - - diff --git a/src/components/ui/Buttons/WithMenu.vue b/src/components/ui/Buttons/WithMenu.vue deleted file mode 100644 index 413a20a..0000000 --- a/src/components/ui/Buttons/WithMenu.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - diff --git a/src/components/ui/Cards/Article.vue b/src/components/ui/Cards/Article.vue deleted file mode 100644 index c70e990..0000000 --- a/src/components/ui/Cards/Article.vue +++ /dev/null @@ -1,57 +0,0 @@ - - - diff --git a/src/components/ui/Cards/ArticleWithImage.vue b/src/components/ui/Cards/ArticleWithImage.vue deleted file mode 100644 index 27e11fe..0000000 --- a/src/components/ui/Cards/ArticleWithImage.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Cards/ArticleWithSMIcons.vue b/src/components/ui/Cards/ArticleWithSMIcons.vue deleted file mode 100644 index 5f7509d..0000000 --- a/src/components/ui/Cards/ArticleWithSMIcons.vue +++ /dev/null @@ -1,89 +0,0 @@ - - - diff --git a/src/components/ui/Cards/Product.vue b/src/components/ui/Cards/Product.vue deleted file mode 100644 index ef5f723..0000000 --- a/src/components/ui/Cards/Product.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - diff --git a/src/components/ui/Cards/ProductWithEvaluation.vue b/src/components/ui/Cards/ProductWithEvaluation.vue deleted file mode 100644 index be95fea..0000000 --- a/src/components/ui/Cards/ProductWithEvaluation.vue +++ /dev/null @@ -1,90 +0,0 @@ - - - diff --git a/src/components/ui/Cards/SimpleProduct.vue b/src/components/ui/Cards/SimpleProduct.vue deleted file mode 100644 index 91a3b2f..0000000 --- a/src/components/ui/Cards/SimpleProduct.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - diff --git a/src/components/ui/Cards/Testimonial.vue b/src/components/ui/Cards/Testimonial.vue deleted file mode 100644 index 1ec08cf..0000000 --- a/src/components/ui/Cards/Testimonial.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - diff --git a/src/components/ui/Cards/User.vue b/src/components/ui/Cards/User.vue deleted file mode 100644 index 963f8a2..0000000 --- a/src/components/ui/Cards/User.vue +++ /dev/null @@ -1,33 +0,0 @@ - - - diff --git a/src/components/ui/Cards/UserWithDetails.vue b/src/components/ui/Cards/UserWithDetails.vue deleted file mode 100644 index 181db1b..0000000 --- a/src/components/ui/Cards/UserWithDetails.vue +++ /dev/null @@ -1,99 +0,0 @@ - - - diff --git a/src/components/ui/Dropdowns/Notification.vue b/src/components/ui/Dropdowns/Notification.vue deleted file mode 100644 index b0b25e5..0000000 --- a/src/components/ui/Dropdowns/Notification.vue +++ /dev/null @@ -1,105 +0,0 @@ - - - diff --git a/src/components/ui/Dropdowns/Simple.vue b/src/components/ui/Dropdowns/Simple.vue deleted file mode 100644 index 9ad1947..0000000 --- a/src/components/ui/Dropdowns/Simple.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - diff --git a/src/components/ui/Footers/Simple.vue b/src/components/ui/Footers/Simple.vue deleted file mode 100644 index 2f1a013..0000000 --- a/src/components/ui/Footers/Simple.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Footers/WithDetails.vue b/src/components/ui/Footers/WithDetails.vue deleted file mode 100644 index 308bec3..0000000 --- a/src/components/ui/Footers/WithDetails.vue +++ /dev/null @@ -1,161 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Footers/WithSubscribeForm.vue b/src/components/ui/Footers/WithSubscribeForm.vue deleted file mode 100644 index e5f7a3f..0000000 --- a/src/components/ui/Footers/WithSubscribeForm.vue +++ /dev/null @@ -1,83 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Forms/Contact.vue b/src/components/ui/Forms/Contact.vue deleted file mode 100644 index 3240c9d..0000000 --- a/src/components/ui/Forms/Contact.vue +++ /dev/null @@ -1,131 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Forms/Newsletter.vue b/src/components/ui/Forms/Newsletter.vue deleted file mode 100644 index 4942541..0000000 --- a/src/components/ui/Forms/Newsletter.vue +++ /dev/null @@ -1,55 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Forms/Search.vue b/src/components/ui/Forms/Search.vue deleted file mode 100644 index a6f02ef..0000000 --- a/src/components/ui/Forms/Search.vue +++ /dev/null @@ -1,96 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Forms/Simple.vue b/src/components/ui/Forms/Simple.vue deleted file mode 100644 index 2f16ba3..0000000 --- a/src/components/ui/Forms/Simple.vue +++ /dev/null @@ -1,79 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Forms/SimpleNewsletter.vue b/src/components/ui/Forms/SimpleNewsletter.vue deleted file mode 100644 index 34bb038..0000000 --- a/src/components/ui/Forms/SimpleNewsletter.vue +++ /dev/null @@ -1,45 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Heros/ECommerce.vue b/src/components/ui/Heros/ECommerce.vue deleted file mode 100644 index 5806c92..0000000 --- a/src/components/ui/Heros/ECommerce.vue +++ /dev/null @@ -1,128 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Heros/WithBGImage.vue b/src/components/ui/Heros/WithBGImage.vue deleted file mode 100644 index 847b986..0000000 --- a/src/components/ui/Heros/WithBGImage.vue +++ /dev/null @@ -1,94 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Heros/WithImage.vue b/src/components/ui/Heros/WithImage.vue deleted file mode 100644 index ac46e74..0000000 --- a/src/components/ui/Heros/WithImage.vue +++ /dev/null @@ -1,210 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Heros/WithPattern.vue b/src/components/ui/Heros/WithPattern.vue deleted file mode 100644 index 4dd646c..0000000 --- a/src/components/ui/Heros/WithPattern.vue +++ /dev/null @@ -1,118 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Heros/WithSideImage.vue b/src/components/ui/Heros/WithSideImage.vue deleted file mode 100644 index a92a75d..0000000 --- a/src/components/ui/Heros/WithSideImage.vue +++ /dev/null @@ -1,114 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Navbars/ECommerce.vue b/src/components/ui/Navbars/ECommerce.vue deleted file mode 100644 index e15be63..0000000 --- a/src/components/ui/Navbars/ECommerce.vue +++ /dev/null @@ -1,92 +0,0 @@ - - - diff --git a/src/components/ui/Navbars/WithAvatar.vue b/src/components/ui/Navbars/WithAvatar.vue deleted file mode 100644 index 0b65328..0000000 --- a/src/components/ui/Navbars/WithAvatar.vue +++ /dev/null @@ -1,110 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Navbars/WithCategories.vue b/src/components/ui/Navbars/WithCategories.vue deleted file mode 100644 index 846b90c..0000000 --- a/src/components/ui/Navbars/WithCategories.vue +++ /dev/null @@ -1,201 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/components/ui/Navbars/WithSearch.vue b/src/components/ui/Navbars/WithSearch.vue deleted file mode 100644 index c90f652..0000000 --- a/src/components/ui/Navbars/WithSearch.vue +++ /dev/null @@ -1,92 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Paginations/Simple.vue b/src/components/ui/Paginations/Simple.vue deleted file mode 100644 index 9100496..0000000 --- a/src/components/ui/Paginations/Simple.vue +++ /dev/null @@ -1,61 +0,0 @@ - - - diff --git a/src/components/ui/Sections/AboutMe.vue b/src/components/ui/Sections/AboutMe.vue deleted file mode 100644 index bb72b4b..0000000 --- a/src/components/ui/Sections/AboutMe.vue +++ /dev/null @@ -1,111 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Sections/Feature.vue b/src/components/ui/Sections/Feature.vue deleted file mode 100644 index 938a178..0000000 --- a/src/components/ui/Sections/Feature.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Sections/OurTeam.vue b/src/components/ui/Sections/OurTeam.vue deleted file mode 100644 index 9fa7164..0000000 --- a/src/components/ui/Sections/OurTeam.vue +++ /dev/null @@ -1,103 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Sections/ParagraphWithImage.vue b/src/components/ui/Sections/ParagraphWithImage.vue deleted file mode 100644 index 01b9985..0000000 --- a/src/components/ui/Sections/ParagraphWithImage.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Sidebars/WithAvatar.vue b/src/components/ui/Sidebars/WithAvatar.vue deleted file mode 100644 index a4cdf42..0000000 --- a/src/components/ui/Sidebars/WithAvatar.vue +++ /dev/null @@ -1,111 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/ui/Sidebars/WithSearch.vue b/src/components/ui/Sidebars/WithSearch.vue deleted file mode 100644 index 7092f3f..0000000 --- a/src/components/ui/Sidebars/WithSearch.vue +++ /dev/null @@ -1,167 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/utilities/AppButton.vue b/src/components/utilities/AppButton.vue deleted file mode 100644 index 33e0661..0000000 --- a/src/components/utilities/AppButton.vue +++ /dev/null @@ -1,18 +0,0 @@ - - - diff --git a/src/components/utilities/CodeSnippet.vue b/src/components/utilities/CodeSnippet.vue deleted file mode 100644 index eec8df5..0000000 --- a/src/components/utilities/CodeSnippet.vue +++ /dev/null @@ -1,42 +0,0 @@ - - - diff --git a/src/components/utilities/ViewComponent.vue b/src/components/utilities/ViewComponent.vue deleted file mode 100644 index db64bfe..0000000 --- a/src/components/utilities/ViewComponent.vue +++ /dev/null @@ -1,92 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/main.js b/src/main.js deleted file mode 100644 index 8a9ffea..0000000 --- a/src/main.js +++ /dev/null @@ -1,20 +0,0 @@ -import Vue from "vue"; -import App from "./App.vue"; -import Meta from "vue-meta"; -import VueClipboard from "vue-clipboard2"; -import VueAnalytics from "vue-analytics"; -import ViewComponent from "./components/utilities/ViewComponent"; - -Vue.use(Meta); - -Vue.component("view-component", ViewComponent); - -Vue.config.productionTip = false; - -Vue.use(VueClipboard); - -Vue.use(VueAnalytics, { id: "UA-167213766-1" }); - -console.log("Hello 😎, If you like it star it on Github 🚀"); - -new Vue({ render: (h) => h(App) }).$mount("#app"); diff --git a/public/favicon.ico b/static/favicon.ico similarity index 100% rename from public/favicon.ico rename to static/favicon.ico diff --git a/tailwind.config.js b/tailwind.config.js index dd94afc..c8d76d9 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,5 +1,10 @@ module.exports = { - purge: ["./src/**/*.vue"], + purge: [ + './components/**/*.{vue,js}', + './layouts/**/*.vue', + './pages/**/*.vue', + './nuxt.config.{js,ts}', + ], darkMode: "class", theme: { extend: { From e09f2a604556b58e62742b49da6baf689f087761 Mon Sep 17 00:00:00 2001 From: khatabwedaa Date: Mon, 15 Feb 2021 10:22:20 +0200 Subject: [PATCH 2/4] =?UTF-8?q?Move=20all=20files=20and=20migrated=20it=20?= =?UTF-8?q?=F0=9F=8C=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 2 +- README.md | 2 +- components/Header.vue | 80 +++++++ components/Main.vue | 174 +++++++++++++++ components/ui/Alerts/ErrorFullWidth.vue | 51 +++++ components/ui/Alerts/ErrorPop.vue | 45 ++++ components/ui/Alerts/InfoFullWidth.vue | 51 +++++ components/ui/Alerts/InfoPop.vue | 45 ++++ components/ui/Alerts/NotificationPop.vue | 39 ++++ components/ui/Alerts/SuccessFullWidth.vue | 51 +++++ components/ui/Alerts/SuccessPop.vue | 46 ++++ components/ui/Alerts/WarningFullWidth.vue | 51 +++++ components/ui/Alerts/WarningPop.vue | 45 ++++ .../ui/Authentication/LoginWithSideImage.vue | 133 +++++++++++ components/ui/Authentication/SimpleLogin.vue | 83 +++++++ components/ui/Buttons/Primary.vue | 23 ++ components/ui/Buttons/WithIcon.vue | 29 +++ components/ui/Buttons/WithMenu.vue | 67 ++++++ components/ui/Cards/Article.vue | 57 +++++ components/ui/Cards/ArticleWithImage.vue | 59 +++++ components/ui/Cards/ArticleWithSMIcons.vue | 89 ++++++++ components/ui/Cards/Product.vue | 43 ++++ components/ui/Cards/ProductWithEvaluation.vue | 90 ++++++++ components/ui/Cards/SimpleProduct.vue | 41 ++++ components/ui/Cards/Testimonial.vue | 43 ++++ components/ui/Cards/User.vue | 33 +++ components/ui/Cards/UserWithDetails.vue | 99 +++++++++ components/ui/Dropdowns/Notification.vue | 105 +++++++++ components/ui/Dropdowns/Simple.vue | 81 +++++++ components/ui/Footers/Simple.vue | 67 ++++++ components/ui/Footers/WithDetails.vue | 161 ++++++++++++++ components/ui/Footers/WithSubscribeForm.vue | 83 +++++++ components/ui/Forms/Contact.vue | 131 +++++++++++ components/ui/Forms/Newsletter.vue | 55 +++++ components/ui/Forms/Search.vue | 96 ++++++++ components/ui/Forms/Simple.vue | 79 +++++++ components/ui/Forms/SimpleNewsletter.vue | 45 ++++ components/ui/Heros/ECommerce.vue | 128 +++++++++++ components/ui/Heros/WithBGImage.vue | 94 ++++++++ components/ui/Heros/WithImage.vue | 210 ++++++++++++++++++ components/ui/Heros/WithPattern.vue | 118 ++++++++++ components/ui/Heros/WithSideImage.vue | 114 ++++++++++ components/ui/Navbars/ECommerce.vue | 92 ++++++++ components/ui/Navbars/WithAvatar.vue | 110 +++++++++ components/ui/Navbars/WithCategories.vue | 201 +++++++++++++++++ components/ui/Navbars/WithSearch.vue | 92 ++++++++ components/ui/Paginations/Simple.vue | 61 +++++ components/ui/Sections/AboutMe.vue | 111 +++++++++ components/ui/Sections/Feature.vue | 87 ++++++++ components/ui/Sections/OurTeam.vue | 103 +++++++++ components/ui/Sections/ParagraphWithImage.vue | 49 ++++ components/ui/Sidebars/WithAvatar.vue | 111 +++++++++ components/ui/Sidebars/WithSearch.vue | 167 ++++++++++++++ components/utilities/AppButton.vue | 18 ++ components/utilities/CodeSnippet.vue | 42 ++++ components/utilities/ViewComponent.vue | 93 ++++++++ nuxt.config.js | 1 + package.json | 5 +- pages/index.vue | 47 +++- plugins/vue-clipboard.js | 4 + 60 files changed, 4526 insertions(+), 6 deletions(-) create mode 100644 components/Header.vue create mode 100644 components/Main.vue create mode 100644 components/ui/Alerts/ErrorFullWidth.vue create mode 100644 components/ui/Alerts/ErrorPop.vue create mode 100644 components/ui/Alerts/InfoFullWidth.vue create mode 100644 components/ui/Alerts/InfoPop.vue create mode 100644 components/ui/Alerts/NotificationPop.vue create mode 100644 components/ui/Alerts/SuccessFullWidth.vue create mode 100644 components/ui/Alerts/SuccessPop.vue create mode 100644 components/ui/Alerts/WarningFullWidth.vue create mode 100644 components/ui/Alerts/WarningPop.vue create mode 100644 components/ui/Authentication/LoginWithSideImage.vue create mode 100644 components/ui/Authentication/SimpleLogin.vue create mode 100644 components/ui/Buttons/Primary.vue create mode 100644 components/ui/Buttons/WithIcon.vue create mode 100644 components/ui/Buttons/WithMenu.vue create mode 100644 components/ui/Cards/Article.vue create mode 100644 components/ui/Cards/ArticleWithImage.vue create mode 100644 components/ui/Cards/ArticleWithSMIcons.vue create mode 100644 components/ui/Cards/Product.vue create mode 100644 components/ui/Cards/ProductWithEvaluation.vue create mode 100644 components/ui/Cards/SimpleProduct.vue create mode 100644 components/ui/Cards/Testimonial.vue create mode 100644 components/ui/Cards/User.vue create mode 100644 components/ui/Cards/UserWithDetails.vue create mode 100644 components/ui/Dropdowns/Notification.vue create mode 100644 components/ui/Dropdowns/Simple.vue create mode 100644 components/ui/Footers/Simple.vue create mode 100644 components/ui/Footers/WithDetails.vue create mode 100644 components/ui/Footers/WithSubscribeForm.vue create mode 100644 components/ui/Forms/Contact.vue create mode 100644 components/ui/Forms/Newsletter.vue create mode 100644 components/ui/Forms/Search.vue create mode 100644 components/ui/Forms/Simple.vue create mode 100644 components/ui/Forms/SimpleNewsletter.vue create mode 100644 components/ui/Heros/ECommerce.vue create mode 100644 components/ui/Heros/WithBGImage.vue create mode 100644 components/ui/Heros/WithImage.vue create mode 100644 components/ui/Heros/WithPattern.vue create mode 100644 components/ui/Heros/WithSideImage.vue create mode 100644 components/ui/Navbars/ECommerce.vue create mode 100644 components/ui/Navbars/WithAvatar.vue create mode 100644 components/ui/Navbars/WithCategories.vue create mode 100644 components/ui/Navbars/WithSearch.vue create mode 100644 components/ui/Paginations/Simple.vue create mode 100644 components/ui/Sections/AboutMe.vue create mode 100644 components/ui/Sections/Feature.vue create mode 100644 components/ui/Sections/OurTeam.vue create mode 100644 components/ui/Sections/ParagraphWithImage.vue create mode 100644 components/ui/Sidebars/WithAvatar.vue create mode 100644 components/ui/Sidebars/WithSearch.vue create mode 100644 components/utilities/AppButton.vue create mode 100644 components/utilities/CodeSnippet.vue create mode 100644 components/utilities/ViewComponent.vue create mode 100644 plugins/vue-clipboard.js diff --git a/.editorconfig b/.editorconfig index 5d12634..e9a9bff 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,7 +3,7 @@ root = true [*] indent_style = space -indent_size = 2 +indent_size = 4 end_of_line = lf charset = utf-8 trim_trailing_whitespace = true diff --git a/README.md b/README.md index 99627c5..353689d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- Ibis logo + Ibis logo ## Meraki UI diff --git a/components/Header.vue b/components/Header.vue new file mode 100644 index 0000000..d8071e2 --- /dev/null +++ b/components/Header.vue @@ -0,0 +1,80 @@ + + + diff --git a/components/Main.vue b/components/Main.vue new file mode 100644 index 0000000..85de690 --- /dev/null +++ b/components/Main.vue @@ -0,0 +1,174 @@ + + + \ No newline at end of file diff --git a/components/ui/Alerts/ErrorFullWidth.vue b/components/ui/Alerts/ErrorFullWidth.vue new file mode 100644 index 0000000..c7c870e --- /dev/null +++ b/components/ui/Alerts/ErrorFullWidth.vue @@ -0,0 +1,51 @@ + + + \ No newline at end of file diff --git a/components/ui/Alerts/ErrorPop.vue b/components/ui/Alerts/ErrorPop.vue new file mode 100644 index 0000000..0f2d5fa --- /dev/null +++ b/components/ui/Alerts/ErrorPop.vue @@ -0,0 +1,45 @@ + + + \ No newline at end of file diff --git a/components/ui/Alerts/InfoFullWidth.vue b/components/ui/Alerts/InfoFullWidth.vue new file mode 100644 index 0000000..d08e95f --- /dev/null +++ b/components/ui/Alerts/InfoFullWidth.vue @@ -0,0 +1,51 @@ + + + \ No newline at end of file diff --git a/components/ui/Alerts/InfoPop.vue b/components/ui/Alerts/InfoPop.vue new file mode 100644 index 0000000..464200f --- /dev/null +++ b/components/ui/Alerts/InfoPop.vue @@ -0,0 +1,45 @@ + + + \ No newline at end of file diff --git a/components/ui/Alerts/NotificationPop.vue b/components/ui/Alerts/NotificationPop.vue new file mode 100644 index 0000000..7ff21ef --- /dev/null +++ b/components/ui/Alerts/NotificationPop.vue @@ -0,0 +1,39 @@ + + + \ No newline at end of file diff --git a/components/ui/Alerts/SuccessFullWidth.vue b/components/ui/Alerts/SuccessFullWidth.vue new file mode 100644 index 0000000..8d61b6f --- /dev/null +++ b/components/ui/Alerts/SuccessFullWidth.vue @@ -0,0 +1,51 @@ + + + \ No newline at end of file diff --git a/components/ui/Alerts/SuccessPop.vue b/components/ui/Alerts/SuccessPop.vue new file mode 100644 index 0000000..8e236ec --- /dev/null +++ b/components/ui/Alerts/SuccessPop.vue @@ -0,0 +1,46 @@ + + + \ No newline at end of file diff --git a/components/ui/Alerts/WarningFullWidth.vue b/components/ui/Alerts/WarningFullWidth.vue new file mode 100644 index 0000000..5404b45 --- /dev/null +++ b/components/ui/Alerts/WarningFullWidth.vue @@ -0,0 +1,51 @@ + + + \ No newline at end of file diff --git a/components/ui/Alerts/WarningPop.vue b/components/ui/Alerts/WarningPop.vue new file mode 100644 index 0000000..88b0064 --- /dev/null +++ b/components/ui/Alerts/WarningPop.vue @@ -0,0 +1,45 @@ + + + \ No newline at end of file diff --git a/components/ui/Authentication/LoginWithSideImage.vue b/components/ui/Authentication/LoginWithSideImage.vue new file mode 100644 index 0000000..2ae6f97 --- /dev/null +++ b/components/ui/Authentication/LoginWithSideImage.vue @@ -0,0 +1,133 @@ + + + \ No newline at end of file diff --git a/components/ui/Authentication/SimpleLogin.vue b/components/ui/Authentication/SimpleLogin.vue new file mode 100644 index 0000000..e340f50 --- /dev/null +++ b/components/ui/Authentication/SimpleLogin.vue @@ -0,0 +1,83 @@ + + + \ No newline at end of file diff --git a/components/ui/Buttons/Primary.vue b/components/ui/Buttons/Primary.vue new file mode 100644 index 0000000..390499e --- /dev/null +++ b/components/ui/Buttons/Primary.vue @@ -0,0 +1,23 @@ + + + diff --git a/components/ui/Buttons/WithIcon.vue b/components/ui/Buttons/WithIcon.vue new file mode 100644 index 0000000..377bdc3 --- /dev/null +++ b/components/ui/Buttons/WithIcon.vue @@ -0,0 +1,29 @@ + + + diff --git a/components/ui/Buttons/WithMenu.vue b/components/ui/Buttons/WithMenu.vue new file mode 100644 index 0000000..413a20a --- /dev/null +++ b/components/ui/Buttons/WithMenu.vue @@ -0,0 +1,67 @@ + + + diff --git a/components/ui/Cards/Article.vue b/components/ui/Cards/Article.vue new file mode 100644 index 0000000..c70e990 --- /dev/null +++ b/components/ui/Cards/Article.vue @@ -0,0 +1,57 @@ + + + diff --git a/components/ui/Cards/ArticleWithImage.vue b/components/ui/Cards/ArticleWithImage.vue new file mode 100644 index 0000000..27e11fe --- /dev/null +++ b/components/ui/Cards/ArticleWithImage.vue @@ -0,0 +1,59 @@ + + + \ No newline at end of file diff --git a/components/ui/Cards/ArticleWithSMIcons.vue b/components/ui/Cards/ArticleWithSMIcons.vue new file mode 100644 index 0000000..5f7509d --- /dev/null +++ b/components/ui/Cards/ArticleWithSMIcons.vue @@ -0,0 +1,89 @@ + + + diff --git a/components/ui/Cards/Product.vue b/components/ui/Cards/Product.vue new file mode 100644 index 0000000..ef5f723 --- /dev/null +++ b/components/ui/Cards/Product.vue @@ -0,0 +1,43 @@ + + + diff --git a/components/ui/Cards/ProductWithEvaluation.vue b/components/ui/Cards/ProductWithEvaluation.vue new file mode 100644 index 0000000..be95fea --- /dev/null +++ b/components/ui/Cards/ProductWithEvaluation.vue @@ -0,0 +1,90 @@ + + + diff --git a/components/ui/Cards/SimpleProduct.vue b/components/ui/Cards/SimpleProduct.vue new file mode 100644 index 0000000..91a3b2f --- /dev/null +++ b/components/ui/Cards/SimpleProduct.vue @@ -0,0 +1,41 @@ + + + diff --git a/components/ui/Cards/Testimonial.vue b/components/ui/Cards/Testimonial.vue new file mode 100644 index 0000000..1ec08cf --- /dev/null +++ b/components/ui/Cards/Testimonial.vue @@ -0,0 +1,43 @@ + + + diff --git a/components/ui/Cards/User.vue b/components/ui/Cards/User.vue new file mode 100644 index 0000000..963f8a2 --- /dev/null +++ b/components/ui/Cards/User.vue @@ -0,0 +1,33 @@ + + + diff --git a/components/ui/Cards/UserWithDetails.vue b/components/ui/Cards/UserWithDetails.vue new file mode 100644 index 0000000..181db1b --- /dev/null +++ b/components/ui/Cards/UserWithDetails.vue @@ -0,0 +1,99 @@ + + + diff --git a/components/ui/Dropdowns/Notification.vue b/components/ui/Dropdowns/Notification.vue new file mode 100644 index 0000000..b0b25e5 --- /dev/null +++ b/components/ui/Dropdowns/Notification.vue @@ -0,0 +1,105 @@ + + + diff --git a/components/ui/Dropdowns/Simple.vue b/components/ui/Dropdowns/Simple.vue new file mode 100644 index 0000000..9ad1947 --- /dev/null +++ b/components/ui/Dropdowns/Simple.vue @@ -0,0 +1,81 @@ + + + diff --git a/components/ui/Footers/Simple.vue b/components/ui/Footers/Simple.vue new file mode 100644 index 0000000..2f1a013 --- /dev/null +++ b/components/ui/Footers/Simple.vue @@ -0,0 +1,67 @@ + + + \ No newline at end of file diff --git a/components/ui/Footers/WithDetails.vue b/components/ui/Footers/WithDetails.vue new file mode 100644 index 0000000..308bec3 --- /dev/null +++ b/components/ui/Footers/WithDetails.vue @@ -0,0 +1,161 @@ + + + \ No newline at end of file diff --git a/components/ui/Footers/WithSubscribeForm.vue b/components/ui/Footers/WithSubscribeForm.vue new file mode 100644 index 0000000..e5f7a3f --- /dev/null +++ b/components/ui/Footers/WithSubscribeForm.vue @@ -0,0 +1,83 @@ + + + \ No newline at end of file diff --git a/components/ui/Forms/Contact.vue b/components/ui/Forms/Contact.vue new file mode 100644 index 0000000..3240c9d --- /dev/null +++ b/components/ui/Forms/Contact.vue @@ -0,0 +1,131 @@ + + + \ No newline at end of file diff --git a/components/ui/Forms/Newsletter.vue b/components/ui/Forms/Newsletter.vue new file mode 100644 index 0000000..4942541 --- /dev/null +++ b/components/ui/Forms/Newsletter.vue @@ -0,0 +1,55 @@ + + + \ No newline at end of file diff --git a/components/ui/Forms/Search.vue b/components/ui/Forms/Search.vue new file mode 100644 index 0000000..a6f02ef --- /dev/null +++ b/components/ui/Forms/Search.vue @@ -0,0 +1,96 @@ + + + \ No newline at end of file diff --git a/components/ui/Forms/Simple.vue b/components/ui/Forms/Simple.vue new file mode 100644 index 0000000..2f16ba3 --- /dev/null +++ b/components/ui/Forms/Simple.vue @@ -0,0 +1,79 @@ + + + \ No newline at end of file diff --git a/components/ui/Forms/SimpleNewsletter.vue b/components/ui/Forms/SimpleNewsletter.vue new file mode 100644 index 0000000..34bb038 --- /dev/null +++ b/components/ui/Forms/SimpleNewsletter.vue @@ -0,0 +1,45 @@ + + + \ No newline at end of file diff --git a/components/ui/Heros/ECommerce.vue b/components/ui/Heros/ECommerce.vue new file mode 100644 index 0000000..10ef0d5 --- /dev/null +++ b/components/ui/Heros/ECommerce.vue @@ -0,0 +1,128 @@ + + + \ No newline at end of file diff --git a/components/ui/Heros/WithBGImage.vue b/components/ui/Heros/WithBGImage.vue new file mode 100644 index 0000000..847b986 --- /dev/null +++ b/components/ui/Heros/WithBGImage.vue @@ -0,0 +1,94 @@ + + + \ No newline at end of file diff --git a/components/ui/Heros/WithImage.vue b/components/ui/Heros/WithImage.vue new file mode 100644 index 0000000..ac46e74 --- /dev/null +++ b/components/ui/Heros/WithImage.vue @@ -0,0 +1,210 @@ + + + \ No newline at end of file diff --git a/components/ui/Heros/WithPattern.vue b/components/ui/Heros/WithPattern.vue new file mode 100644 index 0000000..4dd646c --- /dev/null +++ b/components/ui/Heros/WithPattern.vue @@ -0,0 +1,118 @@ + + + \ No newline at end of file diff --git a/components/ui/Heros/WithSideImage.vue b/components/ui/Heros/WithSideImage.vue new file mode 100644 index 0000000..a92a75d --- /dev/null +++ b/components/ui/Heros/WithSideImage.vue @@ -0,0 +1,114 @@ + + + \ No newline at end of file diff --git a/components/ui/Navbars/ECommerce.vue b/components/ui/Navbars/ECommerce.vue new file mode 100644 index 0000000..e15be63 --- /dev/null +++ b/components/ui/Navbars/ECommerce.vue @@ -0,0 +1,92 @@ + + + diff --git a/components/ui/Navbars/WithAvatar.vue b/components/ui/Navbars/WithAvatar.vue new file mode 100644 index 0000000..0b65328 --- /dev/null +++ b/components/ui/Navbars/WithAvatar.vue @@ -0,0 +1,110 @@ + + + \ No newline at end of file diff --git a/components/ui/Navbars/WithCategories.vue b/components/ui/Navbars/WithCategories.vue new file mode 100644 index 0000000..846b90c --- /dev/null +++ b/components/ui/Navbars/WithCategories.vue @@ -0,0 +1,201 @@ + + + + + \ No newline at end of file diff --git a/components/ui/Navbars/WithSearch.vue b/components/ui/Navbars/WithSearch.vue new file mode 100644 index 0000000..c90f652 --- /dev/null +++ b/components/ui/Navbars/WithSearch.vue @@ -0,0 +1,92 @@ + + + \ No newline at end of file diff --git a/components/ui/Paginations/Simple.vue b/components/ui/Paginations/Simple.vue new file mode 100644 index 0000000..9100496 --- /dev/null +++ b/components/ui/Paginations/Simple.vue @@ -0,0 +1,61 @@ + + + diff --git a/components/ui/Sections/AboutMe.vue b/components/ui/Sections/AboutMe.vue new file mode 100644 index 0000000..bb72b4b --- /dev/null +++ b/components/ui/Sections/AboutMe.vue @@ -0,0 +1,111 @@ + + + \ No newline at end of file diff --git a/components/ui/Sections/Feature.vue b/components/ui/Sections/Feature.vue new file mode 100644 index 0000000..938a178 --- /dev/null +++ b/components/ui/Sections/Feature.vue @@ -0,0 +1,87 @@ + + + \ No newline at end of file diff --git a/components/ui/Sections/OurTeam.vue b/components/ui/Sections/OurTeam.vue new file mode 100644 index 0000000..9fa7164 --- /dev/null +++ b/components/ui/Sections/OurTeam.vue @@ -0,0 +1,103 @@ + + + \ No newline at end of file diff --git a/components/ui/Sections/ParagraphWithImage.vue b/components/ui/Sections/ParagraphWithImage.vue new file mode 100644 index 0000000..01b9985 --- /dev/null +++ b/components/ui/Sections/ParagraphWithImage.vue @@ -0,0 +1,49 @@ + + + \ No newline at end of file diff --git a/components/ui/Sidebars/WithAvatar.vue b/components/ui/Sidebars/WithAvatar.vue new file mode 100644 index 0000000..a4cdf42 --- /dev/null +++ b/components/ui/Sidebars/WithAvatar.vue @@ -0,0 +1,111 @@ + + + \ No newline at end of file diff --git a/components/ui/Sidebars/WithSearch.vue b/components/ui/Sidebars/WithSearch.vue new file mode 100644 index 0000000..7092f3f --- /dev/null +++ b/components/ui/Sidebars/WithSearch.vue @@ -0,0 +1,167 @@ + + + \ No newline at end of file diff --git a/components/utilities/AppButton.vue b/components/utilities/AppButton.vue new file mode 100644 index 0000000..33e0661 --- /dev/null +++ b/components/utilities/AppButton.vue @@ -0,0 +1,18 @@ + + + diff --git a/components/utilities/CodeSnippet.vue b/components/utilities/CodeSnippet.vue new file mode 100644 index 0000000..eec8df5 --- /dev/null +++ b/components/utilities/CodeSnippet.vue @@ -0,0 +1,42 @@ + + + diff --git a/components/utilities/ViewComponent.vue b/components/utilities/ViewComponent.vue new file mode 100644 index 0000000..83f7ef2 --- /dev/null +++ b/components/utilities/ViewComponent.vue @@ -0,0 +1,93 @@ + + + + + \ No newline at end of file diff --git a/nuxt.config.js b/nuxt.config.js index fb511ba..7ca8c9d 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -27,6 +27,7 @@ export default { // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins plugins: [ + '~/plugins/vue-clipboard' ], // Auto import components: https://go.nuxtjs.dev/config-components diff --git a/package.json b/package.json index 51e1462..33460d3 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,10 @@ "@nuxtjs/tailwindcss": "^3.4.2", "@tailwindcss/postcss7-compat": "^2.0.3", "autoprefixer": "^9", + "highlight.js": "^10.6.0", "postcss": "^7", - "tailwindcss": "npm:@tailwindcss/postcss7-compat" + "tailwindcss": "npm:@tailwindcss/postcss7-compat", + "vue-backtotop": "^1.6.1", + "vue-clipboard2": "^0.3.1" } } diff --git a/pages/index.vue b/pages/index.vue index 16a82c1..014436d 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,8 +1,49 @@ diff --git a/plugins/vue-clipboard.js b/plugins/vue-clipboard.js new file mode 100644 index 0000000..8ce0d97 --- /dev/null +++ b/plugins/vue-clipboard.js @@ -0,0 +1,4 @@ +import Vue from 'vue' +import VueClipboard from 'vue-clipboard2' + +Vue.use(VueClipboard) From 4273fd2b4f835744dd98d368b437d7c9883e98c6 Mon Sep 17 00:00:00 2001 From: khatabwedaa Date: Mon, 15 Feb 2021 10:49:47 +0200 Subject: [PATCH 3/4] Add meta tags and prettier --- layouts/default.vue | 4 +--- nuxt.config.js | 21 +++++++++++++++++++-- package.json | 13 +++++++++++++ pages/index.vue | 2 +- 4 files changed, 34 insertions(+), 6 deletions(-) diff --git a/layouts/default.vue b/layouts/default.vue index 0acb4c7..5d3ae9c 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -1,5 +1,3 @@ diff --git a/nuxt.config.js b/nuxt.config.js index 7ca8c9d..f2a260a 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -7,14 +7,31 @@ export default { // Global page headers: https://go.nuxtjs.dev/config-head head: { - title: 'merakiui', + title: 'Meraki UI Tailwindcss Components', htmlAttrs: { lang: 'en' }, meta: [ { charset: 'utf-8' }, { name: 'viewport', content: 'width=device-width, initial-scale=1' }, - { hid: 'description', name: 'description', content: '' } + { hid: 'description', name: 'description', content: 'Beautiful Tailwindcss components that support RTL languages & fully responsive based on Flexbox & CSS Grid.' }, + { name: "twitter:card", content: "summary_large_image" }, + { name: "twitter:title", content: "Meraki UI Tailwindcss Components" }, + { + name: "twitter:description", + content: + "Beautiful Tailwindcss components that support RTL languages & fully responsive based on Flexbox & CSS Grid.", + }, + { name: "twitter:image", content: '~/assets/merakiui-og.png' }, + { property: "og:title", content: "Meraki UI Tailwindcss Components" }, + { property: "og:site_name", content: "Meraki UI" }, + { property: "og:type", content: "website" }, + { property: "og:image", content: '~/assets/merakiui-og.png' }, + { + property: "og:description", + content: + "Beautiful Tailwindcss components that support RTL languages & fully responsive based on Flexbox & CSS Grid.", + }, ], link: [ { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' } diff --git a/package.json b/package.json index 33460d3..86532b6 100644 --- a/package.json +++ b/package.json @@ -17,9 +17,22 @@ "@tailwindcss/postcss7-compat": "^2.0.3", "autoprefixer": "^9", "highlight.js": "^10.6.0", + "husky": "^5.0.9", + "lint-staged": "^10.5.4", "postcss": "^7", + "prettier": "^2.2.1", "tailwindcss": "npm:@tailwindcss/postcss7-compat", "vue-backtotop": "^1.6.1", "vue-clipboard2": "^0.3.1" + }, + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } + }, + "lint-staged": { + "*.{js,css,md}": [ + "prettier --tab-width 4 --jsx-bracket-same-line true --write" + ] } } diff --git a/pages/index.vue b/pages/index.vue index 014436d..2c26bfc 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,6 +1,6 @@