-
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
1fa502c
commit 4713d19
Showing
14 changed files
with
111 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Empty file.
Empty file.
Empty file.
Empty file.
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,14 @@ | ||
import { NavLink } from "react-router-dom"; | ||
import { HeaderContainer, HeaderNavigation } from "./Header.styled"; | ||
|
||
export const Header = () => { | ||
return ( | ||
<HeaderContainer> | ||
<HeaderNavigation> | ||
<NavLink to="/">RentCamp</NavLink> | ||
<NavLink to="/home">Rent</NavLink> | ||
<NavLink to="/favourite">Favourite</NavLink> | ||
</HeaderNavigation> | ||
</HeaderContainer> | ||
); | ||
}; |
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,12 @@ | ||
import styled from "styled-components"; | ||
|
||
export const HeaderContainer = styled.div` | ||
margin: 0 auto; | ||
padding: 30px 64px; | ||
max-width: 1440px; | ||
`; | ||
|
||
export const HeaderNavigation = styled.nav` | ||
display: flex; | ||
gap: 20px; | ||
`; |
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,18 @@ | ||
import { RotatingLines } from "react-loader-spinner"; | ||
import { LoaderContainer, Backbrop } from "./Loader.styled"; | ||
|
||
export const Loader = () => { | ||
return ( | ||
<Backbrop> | ||
<LoaderContainer> | ||
<RotatingLines | ||
strokeColor="#4f58fd" | ||
strokeWidth="5" | ||
animationDuration="0.75" | ||
width="96" | ||
visible={true} | ||
/> | ||
</LoaderContainer> | ||
</Backbrop> | ||
); | ||
}; |
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 styled from "styled-components"; | ||
|
||
export const Backbrop = styled.div` | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
z-index: 100; | ||
width: 100%; | ||
height: 100%; | ||
background-color: rgba(46, 47, 66, 0.4); | ||
`; | ||
|
||
export const LoaderContainer = styled.div` | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
`; |
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,7 @@ | ||
export default function FavouritePage() { | ||
return ( | ||
<section className="container"> | ||
<h1>favourite</h1> | ||
</section> | ||
); | ||
} |
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,7 @@ | ||
export default function WelcomePage() { | ||
return ( | ||
<section className="container"> | ||
<h1>WelcomePage</h1> | ||
</section> | ||
); | ||
} |