Skip to content

Commit

Permalink
Fix mobile styles and move to pnpm. (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
leerob committed Nov 13, 2022
1 parent 16faa11 commit f09e6ad
Show file tree
Hide file tree
Showing 6 changed files with 301 additions and 203 deletions.
12 changes: 6 additions & 6 deletions components/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import styles from './nav.module.css'

export default function Nav() {
return (
<ul className={styles["nav-ul"]}>
<Item href="/newest">new</Item>
<Item href="/show">show</Item>
<Item href="/ask">ask</Item>
<Item href="/jobs">jobs</Item>
<Item href="/submit">submit</Item>
<ul className={styles['nav-ul']}>
<Item href="/">new</Item>
<Item href="/">show</Item>
<Item href="/">ask</Item>
<Item href="/">jobs</Item>
<Item href="/">submit</Item>
</ul>
)
}
Expand Down
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,12 @@
"next": "^13.0.3",
"react": "^18.3.0-next",
"react-dom": "^18.3.0-next"
},
"prettier": {
"arrowParens": "always",
"singleQuote": true,
"semi": false,
"tabWidth": 2,
"trailingComma": "none"
}
}
286 changes: 286 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions styles/RootLayout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
@media (max-width: 750px) {
.main {
padding: 0;
width: 100%;
}
}
2 changes: 1 addition & 1 deletion styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ body {
justify-content: center;
height: 100%;
margin: 0;
padding: 20px 20px 80px;
padding: 0;
box-sizing: border-box;
color: #333;
-webkit-font-smoothing: antialiased;
Expand Down

1 comment on commit f09e6ad

@vercel
Copy link

@vercel vercel bot commented on f09e6ad Nov 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.