Skip to content
Open
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
7 changes: 6 additions & 1 deletion src/components/Hero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ export default {
}

#tagline {
font-size: 32px;
font-size: 40px;
margin-bottom: 20px;
text-align: center;
}

.hero-copy {
Expand All @@ -55,6 +57,9 @@ export default {
align-items: center;
flex-wrap: wrap;
margin: 20px 0;
max-width: 900px;
margin-left: auto;
margin-right: auto;
}

#description {
Expand Down
5 changes: 4 additions & 1 deletion src/components/PromiseCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,13 @@ a {
color: white;
position: relative;
margin: 10px auto;
border-radius: 8px;
padding: 15px;
transition: box-shadow 0.3s;
}

.promise-card:hover {
box-shadow: 1px 2px 13px 0px rgb(132, 131, 131);
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

header {
Expand Down
12 changes: 6 additions & 6 deletions src/components/PromiseStats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
<el-card id="Promise_stats" header="Promise Statistics">
<h2>{{ totalPromises }} promise {{ totalPromises === 1 ? '' : 's' }} made</h2>
<el-row v-for="(value, key) in stats" :key="key">
<el-col :span="14">
<el-col :span="8">
{{ key }}
</el-col>
<!-- <el-col :span="8">
<el-col :span="10">
<el-progress
:show-text="false"
:stroke-width="10"
color="darkslategrey"
:percentage="Math.round( (value/totalPromises)*100 )">
</el-progress>
</el-col> -->
<el-col :span="10">
:percentage="Math.round((value/totalPromises)*100)"
/>
</el-col>
<el-col :span="6">
<b>{{ value }}</b>
</el-col>

Expand Down
3 changes: 2 additions & 1 deletion src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ main {
margin: 0 auto;
padding: 40px;
border-radius: 10px;
background: #d9edf7;
background: linear-gradient(135deg, #d9edf7, #fff);
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.el-button {
Expand Down