forked from mloaf/dms-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
21 changed files
with
12,213 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.DS_Store | ||
node_modules | ||
/dist | ||
|
||
# local env files | ||
.env.local | ||
.env.*.local | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
# dms | ||
# Đây là ReadMe của dms-frontend | ||
# Các file tài nguyên được đặt trong thư mục assets, các layout được | ||
# đặt ở views, điều hướng các layout bằng router | ||
# *** Để chạy trang web sử dụng lệnh npm run serve | ||
# *** Để build trang web sử dụng lệnh npm build | ||
# 19/06/2020 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
presets: [ | ||
'@vue/cli-plugin-babel/preset' | ||
] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"name": "food-court", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"serve": "vue-cli-service serve", | ||
"build": "vue-cli-service build", | ||
"lint": "vue-cli-service lint" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.19.2", | ||
"core-js": "^3.6.5", | ||
"vue": "^2.6.11", | ||
"vue-router": "^3.2.0", | ||
"vuetify": "^2.2.11", | ||
"vuex": "^3.4.0" | ||
}, | ||
"devDependencies": { | ||
"@fortawesome/fontawesome-free": "^5.13.0", | ||
"@vue/cli-plugin-babel": "~4.4.0", | ||
"@vue/cli-plugin-eslint": "~4.4.0", | ||
"@vue/cli-plugin-router": "^4.4.1", | ||
"@vue/cli-plugin-vuex": "^4.4.1", | ||
"@vue/cli-service": "~4.4.0", | ||
"babel-eslint": "^10.1.0", | ||
"eslint": "^6.7.2", | ||
"eslint-plugin-vue": "^6.2.2", | ||
"sass": "^1.19.0", | ||
"sass-loader": "^8.0.0", | ||
"vue-cli-plugin-vuetify": "~2.0.5", | ||
"vue-template-compiler": "^2.6.11", | ||
"vuetify-loader": "^1.3.0" | ||
}, | ||
"eslintConfig": { | ||
"root": true, | ||
"env": { | ||
"node": true | ||
}, | ||
"extends": [ | ||
"plugin:vue/essential", | ||
"eslint:recommended" | ||
], | ||
"parserOptions": { | ||
"parser": "babel-eslint" | ||
}, | ||
"rules": {} | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"last 2 versions", | ||
"not dead" | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | ||
<link rel="icon" href="dms_logo.png"> | ||
<title>DMS - Dormitory Management Services</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"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700:100,300,400,500,700,900|Lekton:700:100,300,400,500,700,900&display=swap"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap" rel="stylesheet"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap" rel="stylesheet"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Libre+Baskerville&display=swap" rel="stylesheet"> | ||
</head> | ||
<body> | ||
<noscript> | ||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> | ||
</noscript> | ||
<div id="app"></div> | ||
<!-- built files will be auto injected --> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<template> | ||
<v-app> | ||
<v-main> | ||
<router-view></router-view> | ||
</v-main> | ||
</v-app> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'App', | ||
created() { | ||
}, | ||
methods: { | ||
}, | ||
data: () => ({ | ||
}), | ||
}; | ||
</script> | ||
|
||
<style> | ||
</style> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import Vue from 'vue' | ||
import App from './App.vue' | ||
import router from './router' | ||
import vuetify from './plugins/vuetify'; | ||
import store from './store'; | ||
//import 'bootstrap'; | ||
//import 'bootstrap/dist/css/bootstrap.min.css'; | ||
|
||
Vue.config.productionTip = false | ||
|
||
new Vue({ | ||
router, | ||
vuetify, | ||
store, | ||
render: h => h(App) | ||
}).$mount('#app') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import Vue from 'vue' | ||
import Vuetify from 'vuetify/lib' | ||
import '@fortawesome/fontawesome-free/css/all.css' | ||
|
||
Vue.use(Vuetify); | ||
|
||
export default new Vuetify({ | ||
icons: { | ||
iconfont: 'fa' | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
import Vue from 'vue' | ||
import VueRouter from 'vue-router' | ||
import Home from '../views/home' | ||
import SignUp from '../views/signup' | ||
|
||
Vue.use(VueRouter) | ||
|
||
const routes = [ | ||
{ | ||
path: '/', | ||
name: 'homepage', | ||
component: Home | ||
}, | ||
{ | ||
path: '/SignUp', | ||
name: 'signingup', | ||
component: SignUp, | ||
} | ||
] | ||
|
||
const router = new VueRouter({ | ||
mode: 'history', | ||
base: process.env.BASE_URL, | ||
routes | ||
}) | ||
|
||
export default router |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import Vue from 'vue' | ||
import Vuex from 'vuex' | ||
|
||
Vue.use(Vuex) | ||
|
||
export default new Vuex.Store({ | ||
state: () => ({ | ||
|
||
}), | ||
mutations: { | ||
|
||
}, | ||
actions: { | ||
|
||
}, | ||
modules: { | ||
|
||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
<template> | ||
<v-container id="thisContainer" fill-height fluid> | ||
<div class="myPageName"><img src="../assets/page_logo.png" height="60px"></div> | ||
<div class="myNavBar" style="width: 100%;"> | ||
<ul> | ||
<li><a href="#" id="about">About Us</a></li> | ||
<li><a href="#" id="news">News</a></li> | ||
<li><a href="#" id="signIn" style="padding-right:20px; position:relative;">Sign In</a></li> | ||
</ul> | ||
</div> | ||
<div class="myTitleDescription" id="titleDes"> | ||
<p>WHY CHOOSE US?</p> | ||
</div> | ||
<div class="myDescription"> | ||
<p> | ||
We're leading Vietnam's dormitory renting service.<br/> | ||
Start your exploration with us now ! | ||
</p> | ||
</div> | ||
<!-- | ||
<div class="buttonPos"> | ||
<button type="button" class="btn btn-warning" id="faq">Frequently Asked Question</button> | ||
<button type="button" class="btn btn-success" id="reg">Register Now!</button> | ||
</div>--> | ||
<div class="buttonPos"> | ||
<v-btn rounded color="red" dark style="margin-right: 10px;">Frequently Asked Question</v-btn> | ||
<v-btn rounded color="blue" dark>Register Now</v-btn> | ||
</div> | ||
<div class="myImgDescription"><img src="../assets/img_des.png" height="400px"></div> | ||
<!--<div class="myNavBarBackground"></div>--> | ||
<div class="footerSignature"> | ||
<p>© 2020 DMS Corporation • Developed by CLMCA Studio</p> | ||
</div> | ||
</v-container> | ||
</template> | ||
|
||
<script> | ||
//import DetailView from './detail' | ||
export default { | ||
//components: { Detail }, | ||
data: () => ({ | ||
}) | ||
} | ||
</script> | ||
|
||
<style> | ||
@import url('https://fonts.googleapis.com/css?family=Quicksand'); | ||
@import url('https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js'); | ||
/* Navigation Bar */ | ||
.myPageName{ | ||
opacity: 100%; | ||
left: 50px; | ||
top: 10px; | ||
position: absolute; | ||
} | ||
.v-btn--active .v-btn__content { | ||
color: white; | ||
} | ||
#thisContainer{ | ||
background-image: url("../assets/wallpaper.jpg"); | ||
background-size: cover; | ||
height: 1; | ||
} | ||
.myNavBar{ | ||
margin-top: 0px; | ||
font-family: 'Quicksand', sans-serif; | ||
font-size: 24px; | ||
color:white; | ||
} | ||
.myNavBar ul{ | ||
list-style-type:none; | ||
text-align: right; | ||
} | ||
.myNavBar ul li{ | ||
display: inline-table; | ||
width: auto; | ||
height: 600px; | ||
line-height: 40px; | ||
padding-left: 10px; | ||
padding-right: 10px; | ||
} | ||
.myNavBar ul li:hover{ | ||
opacity: 80%; | ||
} | ||
.myNavBar ul li a{ | ||
opacity: 100%; | ||
position: relative; | ||
top: -40px; | ||
text-decoration: none; | ||
color: inherit; | ||
} | ||
/* Navigation Bar */ | ||
/* Body Information */ | ||
.myTitleDescription{ | ||
position: absolute; | ||
top: 200px; | ||
left: 200px; | ||
font-size: 48px; | ||
color: white; | ||
opacity: 80%; | ||
} | ||
.myDescription{ | ||
position: absolute; | ||
left: 200px; | ||
top: 260px; | ||
font-size: 24px; | ||
color:white; | ||
opacity: 90%; | ||
} | ||
.myImgDescription{ | ||
position: absolute; | ||
top:150px; | ||
right: 200px; | ||
} | ||
.buttonPos{ | ||
position: absolute; | ||
left: 200px; | ||
top: 350px; | ||
} | ||
.footerSignature{ | ||
position: absolute; | ||
font-family: 'Quicksand', sans-serif; | ||
bottom: 0px; | ||
width: 100%; | ||
text-align: center; | ||
font-size: 18px; | ||
color: white; | ||
opacity: 80%; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<template> | ||
<v-app> | ||
|
||
</v-app> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
} | ||
</script> | ||
|
||
<style> | ||
</style> | ||
|
Oops, something went wrong.