Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ module.exports = {
index: path.resolve(__dirname, '../dist/index.html'),
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: '/',
// remove the dot below if you want it for webroot vs cordova
assetsPublicPath: './',
productionSourceMap: true,
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="utf-8">
<title>Incentify</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<!-- built files will be auto injected -->
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs"
},
"dependencies": {
"vue": "^1.0.21",
"babel-runtime": "^6.0.0"
"animate.css": "^3.5.2",
"babel-runtime": "^6.0.0",
"vue": "^1.0.21"
},
"devDependencies": {
"babel-core": "^6.0.0",
Expand Down
36 changes: 13 additions & 23 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
import navbar from './components/navbar';
import topBranding from './components/top-branding';

// require('spectre.css/dist/spectre.css');
// require('bulma/css/bulma.css');
require('bulma/bulma.sass');
require('font-awesome/css/font-awesome.css');
require('animate.css/animate.css');
Expand All @@ -26,55 +24,47 @@
</script>

<style>
.global-font-size {
font-size: 50px;
}

.navbar-one {
position: fixed;
bottom: 0px;
position: fixed;
bottom: 0px;
width: 100%;
}
body {
align-items: center;
justify-content: center;
padding: 5px !important;
flex-wrap: nowrap !important;
background-color: ghostwhite !important;
}

.wrapper {
height: 81vh !important;
width: 100% !important;
}
.btn-padding {
padding: 10px !important;
font-size: 20px !important;
text-transform: uppercase !important;
height: 150px !important;
height: 81vh;
width: 100%;
}
/*

.red-nav {
color: red !important;
border-color: red !important;
background-color: white !important;
}

.red-nav:hover {
background-color: black !important;
color: white !important;
border-color: red !important;
background-color: white;
}

.red-nav:focus {
background-color: black !important;
color: white !important;
border-color: red !important;
background-color: white;
}

.red-nav:active {
background-color: black !important;
color: white !important;
border-color: white !important;
background-color: white;
}

.lil-marg {
margin-right: 25px !important;
}
} */
</style>
54 changes: 23 additions & 31 deletions src/components/Dashboard.vue
Original file line number Diff line number Diff line change
@@ -1,35 +1,26 @@
<template>

<div class="global-font-size">
<div class="content">
<div class="is-mobile lil-marg">
<div class="has-text-right page-title">Dashboard</div>
</div>
<div class="card is-fullwidth margin-dash">
<div class="card-content">
<div class="content">
<strong>Goal Name</strong> username with GoalProvider
<progress class="progress is-small is-success" value="15" max="100">15%</progress>
percentage of goal completion%
</div>
</div>
</div>
<div class="card is-fullwidth margin-dash">

<div class="card is-fullwidth goal-vertical-spacing">
<div class="card-content">
<div class="content">
<strong>Treehouse</strong> comrww
<img src="../assets/treehouse-logo.png" class="is-pulled-right goal-provider-icon">
<h1><strong>Treehouse</strong> comrww <img src="../assets/treehouse-logo.png" class="is-pulled-right goal-provider-icon"></h1>
<progress class="progress is-small is-success" value="45" max="100">45%</progress>
45%
<h3>45% of {{55}} Points</h3> Time Remaining: 1 day, 23 hours, 21 minutes
</div>
</div>
</div>
<div class="card is-fullwidth margin-dash">

<div class="card is-fullwidth goal-vertical-spacing">
<div class="card-content">
<div class="content">
<strong>DuoLingo</strong> comrww
<img src="../assets/duolingo-logo.png" class="is-pulled-right goal-provider-icon">
<h1><strong>DuoLingo</strong> comrww <img src="../assets/duolingo-logo.png" class="is-pulled-right goal-provider-icon"></h1>
<progress class="progress is-small is-success" value="5" max="100">5%</progress>
5%
<h3>5% of {{55}} Points</h3> Time Remaining: 2 days, 3 hours, 10 minutes
</div>
</div>
</div>
Expand All @@ -40,8 +31,6 @@
<script>
export default {

// name: 'component_name',

data() {
return {

Expand All @@ -51,15 +40,18 @@ export default {
</script>

<style lang="css" scoped>
.margin-dash {
margin-top: 15px;
}
.page-title {
font-size: 40px;
color: #587272;
}
.goal-provider-icon {
height: 50px;
width: 50px;
}
.goal-vertical-spacing {
margin-top: .75rem;
}

.page-title {
font-size: 1.8rem;
color: #587272;
margin-right: 3%;
}

.goal-provider-icon {
height: 2.2rem;
width: 2.2rem;
}
</style>
Loading