<template>
	<footer class="footer">
		<span class="segment">© traxxx</span>

		<router-link
			:to="{ name: 'stats' }"
			class="segment footer-link nolink"
		>stats</router-link>
	</footer>
</template>

<style lang="scss" scoped>
.footer {
	margin: 2rem 0 0 0;
	background: var(--background);
	color: var(--shadow);
	box-shadow: inset 0 1px 3px var(--darken-hint);
	font-size: .8rem;
	font-weight: bold;
	text-align: center;
}

.segment {
	padding: .5rem;

	&:not(:last-child) {
		border-right: solid 1px var(--shadow-hint);
	}
}

.footer-link {
	text-decoration: underline;
}
</style>
