diff options
author | Ashelyn Rose <git@tempest.dev> | 2023-07-19 16:04:21 -0600 |
---|---|---|
committer | Ashelyn Rose <git@tempest.dev> | 2023-07-19 16:04:21 -0600 |
commit | 8730783c1cc16d26b952c254b6a90769b8bcc158 (patch) | |
tree | 0fd0dada145f2922a4f35f187d791c6b6e820091 | |
parent | 53e7daffac70865dbd9d619ad578230ebf7eb44a (diff) |
put webring in footer
-rw-r--r-- | app/webring/page.tsx | 29 | ||||
-rw-r--r-- | components/layout/Footer.tsx | 6 | ||||
-rw-r--r-- | components/layout/Header.tsx | 2 | ||||
-rw-r--r-- | styles/layout.css | 20 |
4 files changed, 20 insertions, 37 deletions
diff --git a/app/webring/page.tsx b/app/webring/page.tsx deleted file mode 100644 index 900d7ce..0000000 --- a/app/webring/page.tsx +++ /dev/null @@ -1,29 +0,0 @@ -import InfoBar from "~/components/InfoBar/" - -export default function Webring() { - return ( - - <> - <h1 className="pageTitle"> - Webring - </h1> - <main className="mainColumn"> - <InfoBar> - Because we have many good friends - </InfoBar> - <p> - This site is part of the umbreon.online webring, which is run by one of our partners. - </p> - <p> - You can find more information about this at the website{' '} - <a target="_blank" href="https://webring.umbreon.online">webring.umbreon.online</a>, - or you can visit our immediate neighbor sites here: - </p> - <div style={{ display: 'flex', justifyContent: 'space-around' }}> - <a style={{ textDecoration: 'none' }} target="_blank" href="https://webring.umbreon.online/prev?from=https://tempest.dev"><- Previous</a> - <a style={{ textDecoration: 'none' }} target="_blank" href="https://webring.umbreon.online/next?from=https://tempest.dev">Next -></a> - </div> - </main> - </> - ) -} diff --git a/components/layout/Footer.tsx b/components/layout/Footer.tsx index f18c60d..3ea7990 100644 --- a/components/layout/Footer.tsx +++ b/components/layout/Footer.tsx @@ -2,7 +2,11 @@ export default function Footer() { return ( <footer> <span>Website by ashelyn rose</span> - <a href="https://git.tempest.dev/ashe/tempest.dev">Site Source</a> + <span> + <a style={{ textDecoration: 'none' }} href="https://webring.umbreon.online/prev?from=https://tempest.dev"><</a> + <a target="_blank" href="https://webring.umbreon.online/">webring</a> + <a style={{ textDecoration: 'none' }} href="https://webring.umbreon.online/next?from=https://tempest.dev">></a> + </span> <a href="/pay-transparency">Pay Transparency</a> </footer> ) diff --git a/components/layout/Header.tsx b/components/layout/Header.tsx index 6fa16ff..5e589c9 100644 --- a/components/layout/Header.tsx +++ b/components/layout/Header.tsx @@ -22,7 +22,7 @@ export default function Title() { <a href="/about">about</a> {/* <a href="/posts">posts</a> */} <a href="/contact">contact</a> - <a href="/webring">webring</a> + <a target="blank" href="https://git.tempest.dev/ashe/tempest.dev">code</a> </nav> <div className="headerBackground"> <Image diff --git a/styles/layout.css b/styles/layout.css index cef976d..d416712 100644 --- a/styles/layout.css +++ b/styles/layout.css @@ -202,30 +202,38 @@ footer { max-width: 100vw; } -footer span { +footer span:first-child { flex: 1; } -footer a:not(:first-of-type) { +footer > *:not(:first-child) { margin-left: calc(2 * var(--text-padding)); } +footer span a { + margin: 8px; +} + @media (max-width: 600px) { footer { box-sizing: initial; - flex: initial; - flex-wrap: wrap; + flex-direction: column; height: 60px; align-items:center; justify-content:center; margin: 8px 0; padding: 0; + height: auto; + flex: initial; } - footer span { + footer > * { display: block; - min-width: 100%; text-align: center; } + + footer span:first-child{ + flex: 0; + } } |