diff --git a/components/footer.js b/components/footer.js index 2629b3a..9d553f8 100644 --- a/components/footer.js +++ b/components/footer.js @@ -1,6 +1,6 @@ import styles from '../styles/components/Footer.module.css' -const Header = () => ( +const Footer = () => (
@@ -10,4 +10,4 @@ const Header = () => (
) -export default Header \ No newline at end of file +export default Footer \ No newline at end of file diff --git a/components/socials.js b/components/socials.js new file mode 100644 index 0000000..005101c --- /dev/null +++ b/components/socials.js @@ -0,0 +1,12 @@ +import styles from '../styles/components/Socials.module.css' + +const Socials = () => ( +
+ Twitter + Twitch + Trello + Ko-fi +
+) + +export default Socials \ No newline at end of file diff --git a/pages/contact.js b/pages/contact.js index f2313ae..a7533b6 100644 --- a/pages/contact.js +++ b/pages/contact.js @@ -2,6 +2,7 @@ import Head from 'next/head' import styles from '../styles/Contact.module.css' import Header from '../components/header'; import Footer from '../components/footer'; +import Socials from '../components/socials'; export default function Contact() { return ( @@ -19,12 +20,7 @@ export default function Contact() {

Contact

-
- Twitter - Twitch - Trello - Ko-fi -
+
diff --git a/pages/index.js b/pages/index.js index b95d537..90b8aab 100644 --- a/pages/index.js +++ b/pages/index.js @@ -2,6 +2,7 @@ import Head from 'next/head' import styles from '../styles/Index.module.css' import Header from '../components/header'; import Footer from '../components/footer'; +import Socials from '../components/socials'; function RandomMotto(props) { const Mottos = [ @@ -45,12 +46,7 @@ export default function Index() {
-
- Twitter - Twitch - Trello - Ko-fi -
+ diff --git a/styles/Commissions.module.css b/styles/Commissions.module.css index 8bd8d2d..a1f3b66 100644 --- a/styles/Commissions.module.css +++ b/styles/Commissions.module.css @@ -7,4 +7,11 @@ .row img { width: 200px; +} + +/* mobile */ +@media (max-aspect-ratio: 1/1) { + .row { + flex-direction: column; + } } \ No newline at end of file diff --git a/styles/components/Socials.module.css b/styles/components/Socials.module.css new file mode 100644 index 0000000..879c69a --- /dev/null +++ b/styles/components/Socials.module.css @@ -0,0 +1,25 @@ + .buttons { + display: flex; + flex-direction: column; + gap: 1em; +} + +.buttons > a { + display: flex; + justify-content: center; + align-items: center; + gap: 1em; + border-radius: 10px; + padding: 0.4em 2em; + font-size: 1.3em; + box-shadow: 2px 2px 10px rgba(0,0,0,0.2); + background-color: rgba(79,79,255,1); + color: white; + transition-duration: 0.1s; + font-family: 'Dela Gothic One', cursive; +} + +.buttons > a:hover { + transform: scale(0.95); + transition-duration: 0.1s; +} \ No newline at end of file diff --git a/styles/globals.css b/styles/globals.css index 0ffb4b7..62515fe 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -64,38 +64,6 @@ h1, h2, h3 { } -/* buttons in the content field */ -.content .buttons { - display: flex; - flex-direction: column; - gap: 1em; -} - -.content .buttons > a { - display: flex; - justify-content: center; - align-items: center; - gap: 1em; - border-radius: 10px; - padding: 0.4em 2em; - font-size: 1.3em; - box-shadow: 2px 2px 10px rgba(0,0,0,0.2); - background-color: rgba(79,79,255,1); - color: white; - transition-duration: 0.1s; - font-family: 'Dela Gothic One', cursive; -} - -.content .buttons > a:hover { - transform: scale(0.95); - transition-duration: 0.1s; -} - -.icon { - font-size: 1.3rem; -} - - /* mobile */ @media(max-aspect-ratio: 5/4) { .content {