Skip to content

Commit 4c309ff

Browse files
authored
Merge pull request #17 from vedovelli/improvements
Improvements
2 parents 6d4cc07 + a16ba50 commit 4c309ff

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

client/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<title>Codecasts.com.br - SPA - Starter Kit</title>
66
</head>
77
<body>
8+
<a href="https://github.com/codecasts/spa-starter-kit"><img style="position: absolute; top: 0; left: 0; border: 0; z-index: 2;" src="https://camo.githubusercontent.com/121cd7cbdc3e4855075ea8b558508b91ac463ac2/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f677265656e5f3030373230302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_green_007200.png"></a>
89
<div id="app"></div>
910
<!-- built files will be auto injected -->
1011
</body>

client/src/Root.vue

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,11 @@ export default {
1919
<template>
2020
<div id="app">
2121
<cc-nav-bar v-show="shouldShowNavigation"></cc-nav-bar>
22-
<cc-alerts></cc-alerts>
2322
<div class="container">
24-
<transition name="fade">
25-
<router-view></router-view>
26-
</transition>
23+
<cc-alerts></cc-alerts>
24+
<router-view></router-view>
2725
</div>
2826
</div>
2927
</template>
3028

3129
<style lang="sass" src="assets/sass/app.scss"></style>
32-
33-
<style scoped>
34-
.fade-enter-active, .fade-leave-active {
35-
transition: opacity .5s ease;
36-
}
37-
.fade-enter, .fade-leave-active {
38-
opacity: 0;
39-
}
40-
</style>

client/src/app/dashboard/main.vue

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,15 @@
77

88
<template>
99
<div>
10-
<blockquote>
11-
A highly opinionated Single Page Application starter kit built on top of Vue.js and Laravel.
12-
</blockquote>
10+
<div class="text-center">
11+
<img class="cover" src="http://vedovelli.com.br/spas.png" alt="Codecasts Single Page Application starter kit">
12+
<h4>A highly opinionated Single Page Application starter kit built on top of Vue.js and Laravel.</h4>
13+
</div>
1314
</div>
1415
</template>
16+
17+
<style scoped>
18+
.cover {
19+
max-width: 800px;
20+
}
21+
</style>

client/src/components/root/navbar.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<div>
2626
<nav class="navbar navbar-default">
2727
<div class="container-fluid">
28-
<div class="navbar-header">
28+
<div class="navbar-header spacer">
2929
<a class="navbar-brand" href="http://www.codecasts.com.br/">
3030
Codecasts.com.br
3131
</a>
@@ -42,7 +42,7 @@
4242
<div class="nav navbar-form navbar-right">
4343
<cc-spinner></cc-spinner>
4444
<span class="username">{{ user.name }}</span>
45-
<button class="btn btn-default" @click="logout">Logout</button>
45+
<button class="btn btn-default btn-sm" @click="logout">Logout</button>
4646
</div>
4747
</div>
4848
</div>
@@ -51,6 +51,9 @@
5151
</template>
5252

5353
<style scoped>
54+
.spacer {
55+
margin-left: 120px;
56+
}
5457
.username {
5558
padding: 6px 20px;
5659
border-radius: 20px;

0 commit comments

Comments
 (0)