feat: added basic responsive design

This commit is contained in:
moonleay 2023-10-19 00:00:25 +02:00
parent 1749f7f3b1
commit 4caf4eede9
3 changed files with 54 additions and 15 deletions

View file

@ -3,22 +3,28 @@ import styles from "./wrapping_objects.module.css"
export function NavBar(){
return(
<nav className={styles.navMenu}>
<img className={styles.logo} src={"https://static.moonleay.net/img/lilJuddWeb/logos/logox256.png"} alt={"The Bots Logo"}/>
<a href={"/"} target={"_self"}>li'l Judd</a>
<ul>
<li>
<ul className={styles.grid}>
<li className={styles.navElem}>
<div className={styles.logoWtxt}>
<img className={`${styles.logo} ${styles.pad3px}`}
src={"https://static.moonleay.net/img/lilJuddWeb/logos/logox256.png"}
alt={"The Bots Logo"}/>
<a className={styles.pad3px} href={"/"} target={"_self"}>li'l Judd</a>
</div>
</li>
<li className={styles.navElem}>
<a href={"/features"} target={"_self"}>Features</a>
</li>
<li>
<li className={styles.navElem}>
<a href={"/how-do-i"} target={"_self"}>How do I...?</a>
</li>
<li>
<li className={styles.navElem}>
<a href={"/stack"} target={"_self"}>The Stack</a>
</li>
<li>
<li className={styles.navElem}>
<a href={"/about"} target={"_self"}>About</a>
</li>
<li>
<li className={styles.navElem}>
<a href={"https://discord.com/api/oauth2/authorize?client_id=1024410658973941862&permissions=8&scope=bot"}
target={"_blank"}>Invite to your Discord Server</a>
</li>
@ -35,6 +41,7 @@ export function Footer() {
<img className={styles.footerImage} src={"https://static.moonleay.net/img/lilJuddWeb/lilJudd.png"}
alt={"A cute Image of lil Judd <3"}/>
<p>li'l Judd</p>
<p className={styles.footerImageNote}>Your competitive Splatoon assistant.</p>
</div>
<div className={styles.footerTable}>
<table className={styles.table}>
@ -119,9 +126,7 @@ export function Footer() {
</tbody>
</table>
</div>
<div className={styles.footerNotice}>
<Notice/>
</div>
<Notice/>
</footer>
</>
)
@ -129,7 +134,7 @@ export function Footer() {
export function Notice() {
return (
<div>
<div className={styles.footerNotice}>
<p>This website is NOT affiliated with Nintendo or any other party. All product names, logos, and brands are property of their respective owners.</p>
<p>li'l Judd &copy; 2023 <a href={"https://moonleay.net/"} target={"_blank"}>moonleay</a></p>
</div>