Skip to content

Commit

Permalink
Resolve #10: Switch to black text logo in light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
big213 committed Apr 6, 2021
1 parent d22c19a commit 34d1d06
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
6 changes: 5 additions & 1 deletion frontend/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@
<v-app-bar-nav-icon @click.stop="drawer = !drawer" />
<nuxt-link to="/">
<v-img
:src="require('../static/cubepb-logo-2.png')"
:src="
require($vuetify.theme.dark
? '../static/cubepb-logo-2.png'
: '../static/cubepb-logo-2-b.png')
"
max-height="48"
max-width="130"
contain
Expand Down
10 changes: 9 additions & 1 deletion frontend/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@
<v-layout column justify-center align-center>
<v-flex xs12 sm8 md6 style="max-width: 600px">
<div class="text-center pb-5 pt-3">
<img src="../static/cubepb-logo-2.png" alt="" style="width: 75%" />
<img
:src="
require($vuetify.theme.dark
? '../static/cubepb-logo-2.png'
: '../static/cubepb-logo-2-b.png')
"
alt=""
style="max-width: 75%"
/>
</div>
<v-card>
<v-card-title class="headline">
Expand Down
Binary file added frontend/static/cubepb-logo-2-b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 34d1d06

Please sign in to comment.