Skip to content

Commit a2e20a9

Browse files
author
Sandeep Ramgolam
committed
added redirect rule for netlify
1 parent ce88cc5 commit a2e20a9

File tree

3 files changed

+61
-20
lines changed

3 files changed

+61
-20
lines changed

netlify.toml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# The following redirect is intended for use with most SPA's that handles routing internally.
2+
[[redirects]]
3+
from = "/*"
4+
to = "/index.html"
5+
status = 200

src/components/past-events.vue

+24-18
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,29 @@
11
<template>
2-
<section class="fdb-block fp-active">
3-
<div class="container">
2+
<section class="fdb-block fp-active">
3+
<div class="container">
4+
<div class="row text-left justify-content-center pt-5">
5+
<div class="col-12 col-md-6 col-lg-5 m-auto">
6+
<h3>
7+
<strong>Event One</strong>
8+
</h3>
49

5-
<div class="row text-left justify-content-center pt-5">
6-
<div class="col-12 col-md-6 col-lg-5 m-auto">
7-
<h3><strong>Event One</strong></h3>
10+
<p class="text-h3">
11+
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia,
12+
there live the blind texts.
13+
</p>
14+
</div>
15+
<div class="col-12 col-md-6 col-lg-5 m-auto pt-3 pt-md-0">
16+
<h3>
17+
<strong>Event Two</strong>
18+
</h3>
819

9-
<p class="text-h3">Far far away, behind the word mountains, far from the countries Vokalia and Consonantia,
10-
there live the blind texts.</p>
11-
</div>
12-
<div class="col-12 col-md-6 col-lg-5 m-auto pt-3 pt-md-0">
13-
<h3><strong>Event Two</strong></h3>
14-
15-
<p class="text-h3">Even the all-powerful Pointing has no control about the blind texts it is an almost
16-
unorthographic life One day however a small line.</p>
17-
</div>
18-
</div>
19-
20-
</div>
21-
</section>
20+
<p class="text-h3">
21+
Even the all-powerful Pointing has no control about the blind texts it is an almost
22+
unorthographic life One day however a small line.
23+
</p>
24+
</div>
25+
</div>
26+
</div>
27+
</section>
2228
</template>
2329

src/views/PagePastEvents.vue

+32-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,33 @@
22
<div class="page-past-events">
33
<h1 class="text-3xl">Past Events</h1>
44
<past-events></past-events>
5+
6+
<h1 class="text-3xl">Heroes</h1>
7+
8+
<img class="hero" src="/images/heroes/batmanAndSuperman.svg" />
9+
<img class="hero" src="/images/heroes/captainAmerica.svg" />
10+
<img class="hero" src="/images/heroes/captainAmericaTwo.svg" />
11+
<img class="hero" src="/images/heroes/deadpool.svg" />
12+
<img class="hero" src="/images/heroes/deadpooltwo.svg" />
13+
<img class="hero" src="/images/heroes/fivesome.svg" />
14+
<img class="hero" src="/images/heroes/herofaces.svg" />
15+
<img class="hero" src="/images/heroes/hulk.svg" />
16+
<img class="hero" src="/images/heroes/ironman.svg" />
17+
<img class="hero" src="/images/heroes/ironmanFace.svg" />
18+
<img class="hero" src="/images/heroes/ironmanthree.svg" />
19+
<img class="hero" src="/images/heroes/ironmantwo.svg" />
20+
<img class="hero" src="/images/heroes/joker.svg" />
21+
<img class="hero" src="/images/heroes/sixsome.svg" />
22+
<img class="hero" src="/images/heroes/spiderman.svg" />
23+
<img class="hero" src="/images/heroes/spidermantwo.svg" />
24+
<img class="hero" src="/images/heroes/supergirl.svg" />
25+
<img class="hero" src="/images/heroes/superman.svg" />
26+
<img class="hero" src="/images/heroes/wonderwoman.svg" />
27+
<img class="hero" src="/images/heroes/wonderwomanSide.svg" />
528
</div>
629
</template>
730

831
<script>
9-
1032
import pastEvents from "@/components/past-events.vue";
1133
1234
export default {
@@ -18,6 +40,14 @@ export default {
1840
</script>
1941

2042
<style lang="scss">
21-
.page-past-events {
43+
.hero {
44+
width: 100%;
45+
height: 100vh;
46+
object-fit: contain;
47+
object-position: center center;
48+
text-align: center;
49+
display: block;
50+
}
51+
.page-past-events {
2252
}
2353
</style>

0 commit comments

Comments
 (0)