embroidery-viewer/src/lib/sections/Footer.svelte

49 lines
852 B
Svelte

<script>
import { t } from "../../i18n"
import { appVersion } from "../../utils/env";
</script>
<footer>
<div class="footer-content">
<p>{@html $t("main.copyright", { year: new Date().getFullYear(), website: "https://leomurca.xyz" })}</p>
<p>{@html $t("main.version", { version: appVersion() })}</p>
</div>
</footer>
<style>
footer {
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
background-color: #f8f9fa;
border-top: 1px solid #ddd;
width: 100%;
bottom: 0;
}
.footer-content {
text-align: center;
}
footer p {
margin: 5px 0;
font-size: 14px;
color: #333;
}
footer p:first-child {
font-weight: bold;
}
@media (max-width: 768px) {
footer {
padding: 15px;
}
footer p {
font-size: 12px;
}
}
</style>