-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Andrei/phs 50 ii hifi home screen web and design updates (#60)
* feat: web screens met, testing on iPhone SE screens + switch to web: instead of md: needed * feat: iPhone SE debugged, window containers required * chore: sync * feat+bug: Hover and Focus effects added to visitor resources buttons. Custom shadow classes added to tailwind config, for use in future hifi styles. Hunter-cream renamed to hunter-cream for figma design system consistency. syncing but some weird issues with the npm run pre-commit command, some files committed by mistake * chore: Added hover + focus effects to buttons, reorganized files relating to the home page components * fix: padding on title header and sizing of exhibit button styling, Galaxy Fold 5 boundary issues + button icon gap fixes incoming * fix: Galaxy Fold 5 + Iphone SE boundary error fixed. Note: aim to use max prefix on measurements for parent tags to avoid this in the future * fix: fixed bounding issues again + visitor resources button styling fixes * feat: transition to using React Context for window resize checks, should look into using other React Contexts in the future
- Loading branch information
1 parent
abe75d7
commit 2a08d25
Showing
37 changed files
with
690 additions
and
612 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
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 |
---|---|---|
|
@@ -119,4 +119,4 @@ export default function FeaturedToursPage() { | |
</div> | ||
</div> | ||
); | ||
} | ||
} |
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,12 +1,11 @@ | ||
import './globals.css'; | ||
import type { Metadata } from 'next'; | ||
import { Inter, Lato, Manrope } from 'next/font/google'; | ||
import { Inter } from 'next/font/google'; | ||
import React from 'react'; | ||
import { WindowWidthProvider } from '../context/WindowWidthContext/WindowWidthContext'; | ||
|
||
const inter = Inter({ subsets: ['latin'] }); | ||
|
||
const manrope = Manrope({ weight: ['400', '700'], subsets: ['latin'] }); | ||
|
||
// const lato = Lato({ weight: ['300', '400', '500', '700'], subsets: ['latin'] }); | ||
|
||
export const metadata: Metadata = { | ||
|
@@ -33,13 +32,13 @@ export default function RootLayout({ | |
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" | ||
crossOrigin="" | ||
/> | ||
<link | ||
href='https://fonts.googleapis.com/css?family=Lato:400,700' | ||
rel='stylesheet' | ||
integrity="sha384-DelNu+PL/74bL4pHGH8gPG8J5Q6wrLpZiiVttBSvpOibBVQf3EOXerhZlmHcnZsI" | ||
type='text/css' | ||
crossOrigin="" | ||
/> | ||
<link | ||
href="https://fonts.googleapis.com/css?family=Lato:400,700" | ||
rel="stylesheet" | ||
integrity="sha384-DelNu+PL/74bL4pHGH8gPG8J5Q6wrLpZiiVttBSvpOibBVQf3EOXerhZlmHcnZsI" | ||
type="text/css" | ||
crossOrigin="" | ||
/> | ||
<script | ||
src="https://unpkg.com/[email protected]/dist/leaflet.js" | ||
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" | ||
|
@@ -48,7 +47,9 @@ export default function RootLayout({ | |
<script src="html5-qrcode.min.js" /> | ||
</head> | ||
|
||
<body className={inter.className}>{children}</body> | ||
<body className={inter.className}> | ||
<WindowWidthProvider>{children}</WindowWidthProvider> | ||
</body> | ||
</html> | ||
); | ||
} |
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
Oops, something went wrong.