jscdn.ink/dist/components/footer.js

36 lines
750 B
JavaScript
Raw Normal View History

2023-11-14 19:14:01 +08:00
import { html, css, Component } from 'wkit'
class Footer extends Component {
static styles = css`
.copyright {
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 128px;
background: var(--color-plain-1);
color: var(--color-grey-2);
.link {
margin-left: 6px;
color: var(--color-blue-1);
text-decoration: underline;
}
}
`
render() {
return html`
<footer class="copyright">
<span>&copy;Copyright 2022 jscdn.ink Power by</span>
<a class="link" target="_blank" href="https://git.wkit.fun/bytedo/wkitd"
>wkitd</a
>
</footer>
`
}
}
Footer.reg('footer')