-
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.
Merge pull request #1 from pedrofeitosa98/develop
feature: player verdadeiro
- Loading branch information
Showing
28 changed files
with
814 additions
and
832 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { WaveAnimationContainer } from './style' | ||
|
||
export default function WaveAnimation() { | ||
return ( | ||
<WaveAnimationContainer> | ||
<div className="ocean"> | ||
<div className="wave"></div> | ||
</div> | ||
</WaveAnimationContainer> | ||
) | ||
} |
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,51 @@ | ||
import styled from 'styled-components' | ||
|
||
export const WaveAnimationContainer = styled.div` | ||
.ocean { | ||
height: 5px; | ||
width: 100%; | ||
position: absolute; | ||
bottom: 0; | ||
left: 0; | ||
background: #d1d1d1; | ||
} | ||
.wave { | ||
background: url(/images/wave.svg) repeat-x; | ||
position: absolute; | ||
top: -122px; | ||
width: 6400px; | ||
height: 122px; | ||
animation: wave 5s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite; | ||
transform: translate3d(0, 0, 0); | ||
} | ||
.wave:nth-of-type(2) { | ||
top: -175px; | ||
animation: | ||
wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) -0.125s infinite, | ||
swell 7s ease -1.25s infinite; | ||
opacity: 1; | ||
} | ||
@keyframes wave { | ||
0% { | ||
margin-left: 0; | ||
} | ||
100% { | ||
margin-left: -1600px; | ||
} | ||
} | ||
@keyframes swell { | ||
0%, | ||
100% { | ||
transform: translate3d(0, -25px, 0); | ||
} | ||
50% { | ||
transform: translate3d(0, 5px, 0); | ||
} | ||
} | ||
.endWave { | ||
display: none; | ||
} | ||
` |
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,13 @@ | ||
import WaveAnimation from '@/components/WaveAnimation' | ||
import { HeaderContainer } from './style' | ||
|
||
export default function Header() { | ||
return ( | ||
<HeaderContainer> | ||
<div className="logo-container"> | ||
<img src="/images/logo.png" alt="Logo Nappanautas" /> | ||
</div> | ||
<WaveAnimation /> | ||
</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,19 @@ | ||
import styled from 'styled-components' | ||
|
||
export const HeaderContainer = styled.header` | ||
width: 100%; | ||
height: 150px; | ||
position: relative; | ||
.logo-container { | ||
position: relative; | ||
margin: 0 auto; | ||
width: 114px; | ||
height: 210px; | ||
} | ||
& img { | ||
position: absolute; | ||
z-index: 2; | ||
} | ||
` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import axios from 'axios' | ||
|
||
// Chamadas pelo lado server com SSR | ||
const radioAPI = (ctx?: any) => { | ||
// const { ['laravel_session']: token } = parseCookies(ctx) | ||
|
||
const api = axios.create({ | ||
baseURL: 'https://sonic1.transmissaodigital.com', | ||
timeout: 10000 | ||
}) | ||
// api.defaults.xsrfCookieName = 'laravel_session' | ||
// api.defaults.withCredentials = true | ||
// axios.defaults.headers.common = { | ||
// Accept: 'application/json' | ||
// } | ||
|
||
return api | ||
} | ||
|
||
export default radioAPI |
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.