---
const today = new Date();
---

<footer>
	&copy; {today.getFullYear()} Rolf Martin Glomsrud. All rights reserved.
	<div class="social-links">
		<a href="https://code.polsevev.dev" target="_blank" >
			<span class="sr-only">My Github?</span>
			<img src="/svg/Forgejo_logo.svg"/>
			<svg viewBox="0 0 16 16" aria-hidden="true" width="32" height="32" astro-icon="social/github" ></svg>
		</a>
		</a>
	</div>
</footer>

<style>
	footer {
		padding: 1em 1em 1em 1em;
		color: white;
		background-color: rgb(198, 60, 81);
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		margin-top: 2rem;
		margin-bottom: 2rem;
		border-radius: 10px;
		width: 90%;
		
		max-width: 1000px;
	}
	.social-links {
		display: flex;
		justify-content: center;
	}
	.social-links a {
		text-decoration: none;
		color: rgb(var(--gray));
	}
	.social-links a:hover {
		color: rgb(var(--gray-dark));
	}
	img{
		background-color: white;
		padding: 5px;
	}
</style>
