Skip to content

Commit 48c7111

Browse files
authored
Merge branch 'dev' into 271-email-templates
2 parents fcbe6d4 + fa255b3 commit 48c7111

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

frontend/src/components/app/users/UserImages.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
'background-size' :'cover',
88
'background-image': 'url(' + getImage() + ')'}">
99
<div v-if="imagesCount > 1" class="absolute flex w-full top-0 left-0 w-full z-10 px-8 pt-1">
10-
<div v-for="image in this.images" :key="image.id"
11-
v-on:click="setImage(image.id)"
10+
<div v-for="(image, index) in this.images" :key="image.id"
11+
v-on:click="setImage(index)"
1212
v-bind:class="{
1313
'flex-1':true,
1414
'mx-2': true,
1515
'h-2': true,
1616
'rounded-md': true,
17-
'bg-gray-200': true,
18-
'cursor-pointer': image.id !== currentImage,
19-
'bg-gray-400': image.id === currentImage}"></div>
17+
'bg-gray-500': index !== currentImage,
18+
'cursor-pointer': index !== currentImage,
19+
'bg-gray-100': index === currentImage}"></div>
2020
</div>
2121
<div v-bind:class="{
2222
'absolute': true,

frontend/src/components/shared/NavBar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
</div>
2424
<div id="links" v-on:click="openOnSmallerScreens()" v-bind:class="isOpen ? 'block' : 'hidden'" class="px-2 pb-5 text-center md:p-0 md:block md:flex md:items-center">
2525
<div v-if="!loggedIn" class="md:flex md:bg-purple-matcha md:border-2 md:border-purple-matcha md:rounded-lg">
26-
<router-link to="/accounts/signin" class="navigation-button-logged-in md:hover:bg-white-matcha md:hover:text-purple-matcha md:text-purple-matcha md:bg-white-matcha md:py-2 md:px-8 md:rounded-md mx-0">Sign In</router-link>
27-
<router-link to="/accounts/signup" class="navigation-button-logged-in md:hover:bg-purple-matcha md:hover:text-white-matcha md:text-white-matcha md:py-2 md:px-8">Get Started</router-link>
26+
<router-link to="/accounts/signin" class="navigation-button-logged-in md:hover:bg-white-matcha md:hover:text-purple-matcha md:text-purple-matcha md:bg-white-matcha md:py-2 md:px-8 md:rounded-md mx-0 whitespace-no-wrap">Sign In</router-link>
27+
<router-link to="/accounts/signup" class="navigation-button-logged-in md:hover:bg-purple-matcha md:hover:text-white-matcha md:text-white-matcha md:py-2 md:px-8 whitespace-no-wrap">Get Started</router-link>
2828
</div>
2929
<router-link v-if="loggedIn && profileCompleted" to="/browse" v-bind:class="{'navigation-button-logged-in': true, 'font-black': currentRoute === 'Browse'}">Browse</router-link>
3030
<router-link v-if="loggedIn && profileCompleted" to="/search" v-bind:class="{'navigation-button-logged-in': true, 'font-black': currentRoute === 'Search'}">Search</router-link>

0 commit comments

Comments
 (0)