-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix for the overflow problem on screens with viewport width of 36…
…0px and below (#28) * fixed overflow problem in the hero section and changed main display into flex * removed markdoc dep * some minor reverts * adding .idea folder to gitignore * removing the .idea folder * removing the package-lock.json file * reformating code using prettier
- Loading branch information
1 parent
224c992
commit 38256ef
Showing
17 changed files
with
3,471 additions
and
1,146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,6 @@ yarn-error.log* | |
|
||
# typescript | ||
*.tsbuildinfo | ||
|
||
# .idea | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const withPlugins = require('next-compose-plugins'); | ||
const optimizedImages = require('next-optimized-images'); | ||
const withPlugins = require('next-compose-plugins') | ||
const optimizedImages = require('next-optimized-images') | ||
|
||
module.exports = withPlugins([ | ||
[optimizedImages, { | ||
optipng: { | ||
optimizationLevel: 3, | ||
}, | ||
}], { | ||
[ | ||
optimizedImages, | ||
{ | ||
optipng: { | ||
optimizationLevel: 3 | ||
} | ||
} | ||
], | ||
{ | ||
reactStrictMode: true, | ||
images: { | ||
disableStaticImages: true | ||
} | ||
} | ||
}]) | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,48 @@ | ||
@media (min-width: 576px) { | ||
|
||
body>footer, | ||
body>header, | ||
body>main, | ||
section { | ||
--block-spacing-vertical: calc(var(--spacing) * 1.2); | ||
} | ||
body > footer, | ||
body > header, | ||
body > main, | ||
section { | ||
--block-spacing-vertical: calc(var(--spacing) * 1.2); | ||
} | ||
} | ||
|
||
@media (min-width: 768px) { | ||
|
||
body>footer, | ||
body>header, | ||
body>main, | ||
section { | ||
--block-spacing-vertical: calc(var(--spacing) * 1); | ||
} | ||
body > footer, | ||
body > header, | ||
body > main, | ||
section { | ||
--block-spacing-vertical: calc(var(--spacing) * 1); | ||
} | ||
} | ||
|
||
@media (min-width: 992px) { | ||
|
||
body>footer, | ||
body>header, | ||
body>main, | ||
section { | ||
--block-spacing-vertical: calc(var(--spacing) * 2); | ||
} | ||
body > footer, | ||
body > header, | ||
body > main, | ||
section { | ||
--block-spacing-vertical: calc(var(--spacing) * 2); | ||
} | ||
} | ||
|
||
|
||
@media (max-width: 990px) { | ||
|
||
nav.container-fluid { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
nav.container-fluid { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
|
||
nav.container-fluid div { | ||
display: flex; | ||
flex-wrap: wrap; | ||
flex-direction: column-reverse; | ||
align-items: center; | ||
} | ||
} | ||
|
||
nav.container-fluid div { | ||
display: flex; | ||
flex-wrap: wrap; | ||
flex-direction: column-reverse; | ||
align-items: center; | ||
} | ||
|
||
} | ||
/*added a breakpoint for the navbar*/ | ||
@media (max-width: 360px) { | ||
nav.container-fluid div a { | ||
font-size: 0.84rem; | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@import url("pico.min.css"); | ||
@import url("heroic.css"); | ||
@import url("media.css"); | ||
@import url("colors.css"); | ||
@import url('pico.min.css'); | ||
@import url('heroic.css'); | ||
@import url('media.css'); | ||
@import url('colors.css'); |
Oops, something went wrong.