Skip to content

Commit c79ece2

Browse files
committed
create page for health and hygiene and add infographic
1 parent 2432fe6 commit c79ece2

File tree

5 files changed

+76
-1
lines changed

5 files changed

+76
-1
lines changed

public/images/buildings.png

57.8 KB
Loading

public/images/covid-infographic.svg

+21
Loading

src/components/health.vue

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<template>
2+
<div>
3+
<img
4+
class="info"
5+
src="/images/covid-infographic.svg"
6+
alt="Covid 19 Infographic"
7+
/>
8+
<p class="text-center mr-5">
9+
Please click
10+
<a href="https://www.who.int/emergencies/diseases/novel-coronavirus-2019"
11+
><strong>here</strong></a
12+
>
13+
to find additional information on Covid-19 at the World Health
14+
Organisation
15+
</p>
16+
17+
<br />
18+
</div>
19+
</template>

src/router/index.js

+10-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import PageSessionSingle from '../views/PageSessionSingle.vue';
1212
import PageSpeakers from '../views/PageSpeakers.vue';
1313
import PageSpeakerSingle from '../views/PageSpeakerSingle.vue';
1414
import PageVenue from '../views/PageVenue.vue';
15+
import PageHealth from '../views/PageHealth.vue';
1516

1617

1718
Vue.use(VueRouter);
@@ -41,13 +42,21 @@ const routes = [
4142
title: "Venue"
4243
}
4344
},
45+
{
46+
path: "/health",
47+
name: "PageHealth",
48+
component: PageHealth,
49+
meta: {
50+
title: "Health and Hygiene"
51+
}
52+
},
4453
{
4554
path: '/credits',
4655
name: 'PageCredits',
4756
component: PageCredits,
4857
meta: {
4958
title: 'Credits',
50-
layout:'full'
59+
layout: 'full'
5160
}
5261
},
5362
{

src/views/PageHealth.vue

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<template>
2+
<div class="page-health generic-page">
3+
<health></health>
4+
</div>
5+
</template>
6+
7+
<script>
8+
import health from "@/components/health.vue";
9+
10+
export default {
11+
name: "PageHealth",
12+
components: {
13+
health
14+
}
15+
};
16+
</script>
17+
18+
<style lang="scss">
19+
.page-health {
20+
21+
}
22+
.info {
23+
margin-right: auto;
24+
margin-left: auto;
25+
}
26+
</style>

0 commit comments

Comments
 (0)