feat: floating fading footer (#3008)

Co-authored-by: thisProjects <wibbet@wobbet.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
This commit is contained in:
Nathan
2023-05-12 22:52:54 +01:00
committed by GitHub
parent 3941bc1a70
commit 3bd45d09f3
4 changed files with 53 additions and 9 deletions

View File

@@ -16,6 +16,8 @@
font-weight: 400;
border-top: 1px solid rgba(214, 211, 211, 0.5);
width: 100%;
position: fixed;
bottom: 0;
@include screen(tablet) {
font-size: 10px;

View File

@@ -3,10 +3,11 @@ import styles from './Footer.module.scss';
export type FooterProps = {
version: string;
dynamicPadding: string;
};
export const Footer: FC<FooterProps> = ({ version }) => (
<footer className={styles.footer} id="footer">
export const Footer: FC<FooterProps> = ({ version, dynamicPadding }) => (
<footer className={styles.footer} id="footer" style={{ paddingRight: dynamicPadding }}>
<span>
Powered by <a href="https://owncast.online">Owncast v{version}</a>
</span>