-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
59ef512
commit fb27feb
Showing
7 changed files
with
195 additions
and
132 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { ReactNode } from 'react'; | ||
|
||
export function MainLayout({ children }: { children: ReactNode }) { | ||
return ( | ||
<div | ||
style={{ | ||
display: 'flex', | ||
flexDirection: 'column', | ||
width: '100vw', | ||
height: '100vh', | ||
isolation: 'isolate', | ||
}} | ||
> | ||
<header>This is a header</header> | ||
<main style={{ flexGrow: 1 }}>{children}</main> | ||
<footer>This is a footer</footer> | ||
</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,50 +1,55 @@ | ||
export const cities = [ | ||
'Algiers', | ||
'Atlanta', | ||
'Baghdad', | ||
'Bangkok', | ||
'Beijing', | ||
'Bogota', | ||
'Buenos Aires', | ||
'Cairo', | ||
'Chennai', | ||
'Chicago', | ||
'Delhi', | ||
'Essen, Germany', | ||
'Ho Chi Minh City', | ||
'Hong Kong', | ||
'Istanbul', | ||
'Jakarta', | ||
'Johannesburg', | ||
'Karachi', | ||
'Khartoum, Sudan', | ||
'Kinshasa', | ||
'Kolkata', | ||
'Lagos, Nigeria', | ||
'Lima', | ||
'London', | ||
'Los Angeles', | ||
'Madrid', | ||
'Manila', | ||
'Mexico City', | ||
'Miami', | ||
'Milan', | ||
'Montreal', | ||
'Moscow', | ||
'Mumbai', | ||
'New York', | ||
'Osaka', | ||
'Paris', | ||
'Riyadh', | ||
'San Francisco', | ||
'Santiago', | ||
'Sao Paolo', | ||
'Seoul', | ||
'Shanghai', | ||
'St. Petersburg', | ||
'Sydney', | ||
'Taipei', | ||
'Tehran', | ||
'Tokyo', | ||
'Washington D.C.', | ||
]; | ||
export const cities = { | ||
'Buenos Aires': 2, | ||
Cairo: 3, | ||
Chicago: 2, | ||
Denver: 2, | ||
Frankfurt: 2, | ||
Istanbul: 3, | ||
Jacksonville: 3, | ||
Lagos: 3, | ||
Lima: 1, | ||
London: 3, | ||
'New York': 2, | ||
Paris: 2, | ||
'San Francisco': 2, | ||
'Sao Paolo': 1, | ||
Tripoli: 3, | ||
Washington: 3, | ||
// | ||
// 'Algiers': 0, | ||
// 'Atlanta': 0, | ||
// 'Baghdad': 0, | ||
// 'Bangkok': 0, | ||
// 'Beijing': 0, | ||
// 'Bogota': 0, | ||
// 'Chennai': 0, | ||
// 'Delhi': 0, | ||
// 'Essen': 0, | ||
// 'Ho Chi Minh City': 0, | ||
// 'Hong Kong': 0, | ||
// 'Jakarta': 0, | ||
// 'Johannesburg': 0, | ||
// 'Karachi': 0, | ||
// 'Khartoum': 0, | ||
// 'Kinshasa': 0, | ||
// 'Kolkata': 0, | ||
// 'Los Angeles': 0, | ||
// 'Madrid': 0, | ||
// 'Manila': 0, | ||
// 'Mexico City': 0, | ||
// 'Miami': 0, | ||
// 'Milan': 0, | ||
// 'Montreal': 0, | ||
// 'Moscow': 0, | ||
// 'Mumbai': 0, | ||
// 'Osaka': 0, | ||
// 'Riyadh': 0, | ||
// 'Santiago': 0, | ||
// 'Seoul': 0, | ||
// 'Shanghai': 0, | ||
// 'St. Petersburg': 0, | ||
// 'Sydney': 0, | ||
// 'Taipei': 0, | ||
// 'Tehran': 0, | ||
// 'Tokyo': 0, | ||
}; |
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.