diff --git a/src/Components/Navbar/NavDesktop.tsx b/src/Components/Navbar/NavDesktop.tsx index 5bbc318..88c3ce6 100644 --- a/src/Components/Navbar/NavDesktop.tsx +++ b/src/Components/Navbar/NavDesktop.tsx @@ -39,113 +39,114 @@ export default function NavDesktop() { return ( diff --git a/src/Components/Navbar/NavMobile.tsx b/src/Components/Navbar/NavMobile.tsx index 08fadad..15a214a 100644 --- a/src/Components/Navbar/NavMobile.tsx +++ b/src/Components/Navbar/NavMobile.tsx @@ -73,68 +73,70 @@ export default function NavMobile() { return (
diff --git a/src/features/Hackathons/pages/HackathonsPage/HackathonsPage.tsx b/src/features/Hackathons/pages/HackathonsPage/HackathonsPage.tsx index 83b99f0..a96e64f 100644 --- a/src/features/Hackathons/pages/HackathonsPage/HackathonsPage.tsx +++ b/src/features/Hackathons/pages/HackathonsPage/HackathonsPage.tsx @@ -28,36 +28,38 @@ export default function HackathonsPage() {
- +
+ +
+
) } diff --git a/src/features/Posts/pages/FeedPage/FeedPage.tsx b/src/features/Posts/pages/FeedPage/FeedPage.tsx index a4257cb..8a4ada7 100644 --- a/src/features/Posts/pages/FeedPage/FeedPage.tsx +++ b/src/features/Posts/pages/FeedPage/FeedPage.tsx @@ -43,78 +43,80 @@ export default function FeedPage() {
-
- {tagFilter &&

- setTagFilter(null)}>Stories - - {tagFilter.title} -

} -

{ - tagFilter ? - <>{tagFilter.icon} {capitalize(tagFilter.title)} - : - "Stories ✍🏼" - }

-
-
- -
-
- -
- - + +
) diff --git a/src/features/Posts/pages/PostDetailsPage/PostDetailsPage.tsx b/src/features/Posts/pages/PostDetailsPage/PostDetailsPage.tsx index 345774f..42b7f54 100644 --- a/src/features/Posts/pages/PostDetailsPage/PostDetailsPage.tsx +++ b/src/features/Posts/pages/PostDetailsPage/PostDetailsPage.tsx @@ -45,29 +45,31 @@ export default function PostDetailsPage() {
- +
+ - - -
-
- }> - - -
diff --git a/src/features/Profiles/pages/EditProfilePage/EditProfilePage.tsx b/src/features/Profiles/pages/EditProfilePage/EditProfilePage.tsx index 204250b..2d87707 100644 --- a/src/features/Profiles/pages/EditProfilePage/EditProfilePage.tsx +++ b/src/features/Profiles/pages/EditProfilePage/EditProfilePage.tsx @@ -45,55 +45,57 @@ export default function EditProfilePage() { Settings -
- -
- - } /> - } /> - } /> - - } /> - -
+ )} + +
+ } + +
+ + } /> + } /> + } /> + + } /> + +
+ ) diff --git a/src/features/Profiles/pages/ProfilePage/ProfilePage.tsx b/src/features/Profiles/pages/ProfilePage/ProfilePage.tsx index 92142be..e358d88 100644 --- a/src/features/Profiles/pages/ProfilePage/ProfilePage.tsx +++ b/src/features/Profiles/pages/ProfilePage/ProfilePage.tsx @@ -48,9 +48,10 @@ export default function ProfilePage() { } -
- {isMediumScreen ? +
{isMediumScreen ? <>
) diff --git a/src/features/Projects/pages/ExplorePage/ExplorePage.tsx b/src/features/Projects/pages/ExplorePage/ExplorePage.tsx index 27053cd..88f3fb7 100644 --- a/src/features/Projects/pages/ExplorePage/ExplorePage.tsx +++ b/src/features/Projects/pages/ExplorePage/ExplorePage.tsx @@ -11,10 +11,8 @@ export default function ExplorePage() { {`Explore Lightning Products`} -
- +
-
diff --git a/src/styles/index.scss b/src/styles/index.scss index 96fdc2e..b94d9f1 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -26,21 +26,27 @@ body { @include gt-md { --padding: 32px; } - width: calc(min(100% - 2 * var(--padding), 1440px)); - margin: 0 auto; + + display: grid; + grid-template-columns: minmax(var(--padding), 1fr) minmax(auto, 1440px) minmax( + var(--padding), + 1fr + ); + + > * { + grid-column: 2/3; + min-width: 0; + } + + > .full-width { + grid-column: 1/-1; + } } .page-container { padding: 32px 0; } -// @media screen and (min-width: 780px) { -// .page-container { -// width: calc(min(100% - 64px, 1440px)); -// margin: 0 auto; -// } -// } - svg { display: inline-block; }