Skip to content

Commit

Permalink
Big One
Browse files Browse the repository at this point in the history
add vuetify + moment.js
- initial item + add page
- add imporance + description
- add fake about page
  • Loading branch information
thabetDo44 committed Jan 29, 2020
1 parent 360e097 commit 2ec2d8c
Show file tree
Hide file tree
Showing 13 changed files with 974 additions and 94 deletions.
112 changes: 109 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 13 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.8.2",
"@mdi/font": "^3.6.95",
"animate.css": "^3.7.2",
"core-js": "^3.4.4",
"moment": "^2.24.0",
"roboto-fontface": "*",
"vue": "^2.6.10",
"vue-router": "^3.1.3",
"vuetify": "^2.2.6",
"vuex": "^3.1.2"
},
"devDependencies": {
Expand All @@ -20,10 +26,15 @@
"@vue/cli-plugin-vuex": "^4.1.0",
"@vue/cli-service": "^4.1.0",
"babel-eslint": "^10.0.3",
"deepmerge": "^4.2.2",
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0",
"fibers": "^4.0.2",
"node-sass": "^4.12.0",
"sass-loader": "^8.0.0",
"vue-template-compiler": "^2.6.10"
"sass": "^1.25.0",
"sass-loader": "^8.0.2",
"vue-cli-plugin-vuetify": "^2.0.3",
"vue-template-compiler": "^2.6.10",
"vuetify-loader": "^1.3.0"
}
}
2 changes: 2 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>shopping-list</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css">
</head>
<body>
<noscript>
Expand Down
125 changes: 102 additions & 23 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,32 +1,111 @@
<template>
<div id="app">
<div id="nav">
<router-link to="/">Home</router-link> |
<router-link to="/about">About</router-link>
<div id="app">
<v-app id="inspire">
<v-navigation-drawer v-model="drawer" app clipped>
<v-list dense>
<v-list-item to="/">
<v-list-item-action>
<v-icon>fa-server</v-icon>
</v-list-item-action>
<v-list-item-content>
<v-list-item-title>Order Lists</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item to="/speed">
<v-list-item-action>
<v-icon>fa-fire</v-icon>
</v-list-item-action>
<v-list-item-content>
<v-list-item-title>Speed</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item to="/edit">
<v-list-item-action>
<v-icon>fa-edit</v-icon>
</v-list-item-action>
<v-list-item-content>
<v-list-item-title>Edit Orders</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item to="/about">
<v-list-item-action>
<v-icon>fa-user-friends</v-icon>
</v-list-item-action>
<v-list-item-content>
<v-list-item-title>About Us</v-list-item-title>
</v-list-item-content>
</v-list-item>
</v-list>
</v-navigation-drawer>

<v-app-bar app clipped-left>
<v-app-bar-nav-icon class="font-weight-bold" @click.stop="drawer = !drawer"/>
<v-toolbar-title class="site-logo">Shopping<span>List</span></v-toolbar-title>
</v-app-bar>

<v-content>
<v-container>
<v-layout align-left justify-start>
<router-view/>
</v-layout>
</v-container>
</v-content>

<!-- <v-footer app>-->
<!-- <span>&copy; 2019 All Right Receded ShoppingList.com</span>-->
<!-- </v-footer>-->
</v-app>
</div>
<router-view/>
</div>
</template>

<style lang="scss">
#app {
font-family: 'Avenir', Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
}
<script>
export default {
name: 'App',
data: () => ({
drawer: 0
}),
};
</script>

<style>
.w-25 {
width: 25% !important;
}
.w-50 {
width: 50% !important;
}
#nav {
padding: 30px;
.w-75 {
width: 75% !important;
}
a {
font-weight: bold;
color: #2c3e50;
.w-100 {
width: 100% !important;
}
&.router-link-exact-active {
color: #42b983;
main {
background-color: #E1F5FE
}
}
}
</style>
<style scoped>
.v-app-bar__nav-icon i:before {
font-weight: bold;
}
.site-logo {
background-color: transparent;
color: #0a6c7a;
font-weight: 900 !important;
font-size: 1.7rem !important;
font-family: "Baloo Bhaijaan", "Roboto", sans-serif;
}
.site-logo span {
color: #F44336;
}
.home {
width: 100%;
}
</style>
1 change: 1 addition & 0 deletions src/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2ec2d8c

Please sign in to comment.