Skip to content

Commit 1d6b8eb

Browse files
Some enhancements!
1 parent dc20ce8 commit 1d6b8eb

File tree

5 files changed

+44
-8
lines changed

5 files changed

+44
-8
lines changed

public/images/map-ph.png

602 KB
Loading

public/images/map.PNG

-342 KB
Binary file not shown.

src/App.vue

+4-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ export default {
4040
};
4141
</script>
4242
<style>
43-
.parent-container {
44-
margin-left: 40px;
43+
@media screen and (min-width: 600px) {
44+
.parent-container {
45+
margin-left: 40px;
46+
}
4547
}
4648
</style>

src/components/PersonalProject.vue

+14-3
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@
2727
<a-timeline class="pl-0">
2828
<a-timeline-item
2929
class="pb-1"
30-
:color="color"
3130
v-for="(commit, index) in data.commits"
3231
:key="index"
33-
>{{ commit.message }} <small> by <a :href="commit.user_link" target="_blank">{{commit.id}} </a> on {{commit.date | moment('DD/MM/YYYY')}}</small>
32+
>{{ commit.message }}
33+
<small>
34+
by
35+
<a :href="commit.user_link" target="_blank">{{ commit.id }} </a>
36+
on {{ commit.date | moment("DD/MM/YYYY") }}</small
37+
>
3438
</a-timeline-item>
3539
</a-timeline>
3640
</v-card-text>
@@ -52,6 +56,12 @@
5256
</v-col>
5357
</v-row>
5458
</v-container>
59+
<v-card-text
60+
class="mt-2 pt-0 ml-0"
61+
v-if="data.tech && data.tech.length > 0"
62+
>
63+
<technology-stacks :tech="data" :hasHeader="false" />
64+
</v-card-text>
5565
</v-card>
5666
</v-timeline-item>
5767
</template>
@@ -60,9 +70,10 @@ import file from "../firebase/file";
6070
import moment from "moment";
6171
import YTVideoCard from "./YTVideoCard.vue";
6272
import ImageCard from "./ImageCard.vue";
73+
import TechnologyStacks from "./TechnologyStacks.vue";
6374
6475
export default {
65-
components: { YTVideoCard, ImageCard },
76+
components: { YTVideoCard, ImageCard, TechnologyStacks },
6677
data() {
6778
return {
6879
image: "images/logo_ph.jpg",

src/views/pages/Contact.vue

+26-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</v-col>
2424
</v-row>
2525
<v-row>
26-
<v-col cols="2" class="px-0" v-if="Object.keys(data).length > 2">
26+
<v-col cols="2" class="px-0" v-if="Object.keys(data).length > 2">
2727
<v-icon>mdi-crosshairs-gps </v-icon>
2828
</v-col>
2929
<v-col>
@@ -40,20 +40,43 @@
4040
</v-row>
4141
</v-container>
4242
</div>
43-
<div class="col-md-7 col-md-push-1">
44-
<!-- Some other contetn place holder -->
43+
<div class="col-md-7 pb-8">
44+
<v-card :href="data.map_link" target="_blank">
45+
<v-img :src="image" />
46+
</v-card>
4547
</div>
4648
</div>
4749
</div>
4850
</template>
4951

5052
<script>
53+
import file from "../../firebase/file";
5154
import ModuleHeader from "../../components/ModuleHeader.vue";
5255
export default {
5356
name: "Contact",
5457
props: { data: {} },
58+
data() {
59+
return {
60+
image: "images/map-ph.png",
61+
};
62+
},
5563
components: {
5664
ModuleHeader,
5765
},
66+
watch: {
67+
data: function (val) {
68+
if (val.map) {
69+
file
70+
.getFile(val.map)
71+
.then((url) => {
72+
this.image = url;
73+
})
74+
.catch(() => {
75+
this.image = "images/map-ph.png";
76+
console.warn("Error loading project logo image ");
77+
});
78+
}
79+
},
80+
},
5881
};
5982
</script>

0 commit comments

Comments
 (0)