summaryrefslogtreecommitdiff
path: root/src/views/Home.vue
blob: 4fba7b610c02ba06e9dd79279ab62f8790015bb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<template>
	<main class="home">
		<h1>The Mana World Project</h1>
		<p>The Mana World (TMW) is a serious effort to create an innovative free and open source MMORPG. TMW uses 2D graphics and aims to create a large and diverse interactive world. It is licensed under the GPL, making sure this game can't ever run away from you.</p>
		<div class="read-more">
			<router-link :to="{ name: 'about' }">Read More >></router-link>
		</div>

		<h1>Recent News</h1>
		<News count="1"/>
		<div class="read-more">
			<router-link :to="{ name: 'news' }">More News >></router-link>
		</div>
	</main>
</template>

<style scoped>
.read-more {
	text-align: right;
	padding-right: 8px;

	& a, & a:visited {
		color: #2f2e32;
		text-decoration: none;
		font-weight: bold;
		font-size: 0.8em;

		&:hover {
			text-decoration: underline;
		}
	}
}
</style>

<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
import News from "@/components/News.vue";

@Component({
	components: {
		News,
	},
})
export default class Home extends Vue {}
</script>