Skip to content

Commit

Permalink
Fix layout (#4)
Browse files Browse the repository at this point in the history
* Fix Footer layout for mobile

* Add domain to met tags

* Bump to version 5.0.3

* Add domain to start_url in manifest
  • Loading branch information
megatroom authored Oct 17, 2020
1 parent 83c55ad commit fcf8820
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
9 changes: 6 additions & 3 deletions components/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ export default function Layout({ children }) {
/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#282a36" />
<link rel="icon" href="/favicon.ico" />
<link rel="icon" href="https://nardiniacademy.com/favicon.ico" />
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;700&display=swap"
rel="stylesheet"
></link>
<link rel="apple-touch-icon" href="/logo192.png" />
<link rel="manifest" href="/manifest.json" />
<link
rel="apple-touch-icon"
href="https://nardiniacademy.com/logo192.png"
/>
<link rel="manifest" href="https://nardiniacademy.com/manifest.json" />
</Head>
{children}
<style jsx global>{`
Expand Down
10 changes: 10 additions & 0 deletions components/organisms/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,16 @@ export default function Footer() {
.footer-link:hover {
color: ${theme.colors.primary.main};
}
@media (max-width: 767px) {
.footer {
text-align: center;
}
.grid {
grid-template-columns: 1fr;
}
}
`}</style>
</>
);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nardini-academy",
"version": "5.0.2",
"version": "5.0.3",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"sizes": "512x512"
}
],
"start_url": ".",
"start_url": "https://nardiniacademy.com/",
"display": "standalone",
"theme_color": "#00bcd4",
"background_color": "#282a36"
Expand Down

1 comment on commit fcf8820

@vercel
Copy link

@vercel vercel bot commented on fcf8820 Oct 17, 2020

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.