Skip to content

Commit

Permalink
In Development
Browse files Browse the repository at this point in the history
  • Loading branch information
skewll committed Dec 16, 2023
1 parent f57036b commit 46f783e
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 39 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "lynhunt.lovingmemory.link",
"name": "demo.seanvaughn.com",
"version": "1.0.0",
"private": true,
"scripts": {
Expand Down
72 changes: 34 additions & 38 deletions pages/gallery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,17 @@
<!-- CONTENT START -->
<h1 class="title">Photo Gallery</h1>
<!-- CONTENT END -->
<CoolLightBox
:items="images"
:index="index"
@close="index = null">
<CoolLightBox :items="images" :index="index" @close="index = null">
</CoolLightBox>

<div class="images-wrapper">
<div
class="image"
v-for="(image, imageIndex) in thumbs"
:key="imageIndex"
@click="index = imageIndex"
:style="{ backgroundImage: 'url(' + image + ')' }"
></div>
<div class="image" v-for="(image, imageIndex) in thumbs" :key="imageIndex" @click="index = imageIndex"
:style="{ backgroundImage: 'url(' + image + ')' }"></div>
</div>
<p>*To upload to gallery, email photos or a zip file containing photos to
<a href="mailto:upload@seanvaughn.com?subject=Upload">{{$config.uploadEmail}}</a>
<!-- </p> this Works :-) -->

<p>*To upload to gallery, email photos or a zip file containing photos to
<a href="mailto:upload@seanvaughn.com?subject=Upload">{{ $config.uploadEmail }}</a>
<!-- </p> this Works :-) -->
</p>
<!-- <p>*To upload to gallery, email photos or a zip file containing photos to
<a :href="config.uploadEmailLink">{{$config.uploadEmail}}</a>
Expand All @@ -37,7 +30,7 @@
</p> THIS DOESNT WORK -->
<!-- <p>*To upload to gallery, email photos or a zip file containing photos to
<a :href="`mailto:${{{$config.uploadEmail}}}?subject=Upload`">{{$config.uploadEmail}}</a>
</p> DOESNT WORK-->
</p> DOESNT WORK-->
<!-- <p>*To upload to gallery, email photos or a zip file containing photos to
<a :href="'mailto:' + config.uploadEmail + '?subject=Upload'">{{$config.uploadEmail}}</a>
</p> DOESNT WORK-->
Expand All @@ -60,7 +53,7 @@
<script>
import CoolLightBox from 'vue-cool-lightbox'
import 'vue-cool-lightbox/dist/vue-cool-lightbox.min.css'
export default {
export default {
components: {
CoolLightBox,
},
Expand Down Expand Up @@ -92,29 +85,32 @@ import 'vue-cool-lightbox/dist/vue-cool-lightbox.min.css'

<style lang="scss">
.images-wrapper {
margin-bottom: 20px;
margin-right: 20px;
display: flex;
flex-wrap: wrap;
width: 100%;
@media screen and (max-width: 800px) {
justify-content: center;
width: calc(100% + 60px);
margin-left: -30px;
margin-bottom: 0px;
}
margin-bottom: 20px;
margin-right: 20px;
display: flex;
flex-wrap: wrap;
width: 100%;
@media screen and (max-width: 800px) {
justify-content: center;
width: calc(100% + 60px);
margin-left: -30px;
margin-bottom: 0px;
}
}
.images-wrapper .image {
cursor: pointer;
background-position: 50%;
background-repeat: no-repeat;
background-size: cover;
margin: 3px;
width: 120px;
height: 120px;
@media screen and (max-width: 800px) {
width: 105px;
height: 105px;
}
cursor: pointer;
background-position: 50%;
background-repeat: no-repeat;
background-size: cover;
margin: 3px;
width: 120px;
height: 120px;
@media screen and (max-width: 800px) {
width: 105px;
height: 105px;
}
}
</style>

0 comments on commit 46f783e

Please sign in to comment.