Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ADapp
adapp-frontend
Commits
2d54bfbb
Commit
2d54bfbb
authored
3 years ago
by
Lucas Simon Susin
Browse files
Options
Download
Email Patches
Plain Diff
Logo preta e headers
parent
62da3b3e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
assets/images/logoBlack.png
+0
-0
assets/images/logoBlack.png
assets/images/playButton.svg
+0
-3
assets/images/playButton.svg
src/components/Header/header.tsx
+6
-9
src/components/Header/header.tsx
src/components/Header/styles.tsx
+21
-0
src/components/Header/styles.tsx
with
27 additions
and
12 deletions
+27
-12
assets/images/logoBlack.png
0 → 100644
View file @
2d54bfbb
16.2 KB
This diff is collapsed.
Click to expand it.
assets/images/playButton.svg
deleted
100644 → 0
View file @
62da3b3e
<svg
width=
"92"
height=
"92"
viewBox=
"0 0 92 92"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M45.9998 7.66675C24.8398 7.66675 7.6665 24.8401 7.6665 46.0001C7.6665 67.1601 24.8398 84.3334 45.9998 84.3334C67.1598 84.3334 84.3332 67.1601 84.3332 46.0001C84.3332 24.8401 67.1598 7.66675 45.9998 7.66675ZM38.3332 63.2501V28.7501L61.3332 46.0001L38.3332 63.2501Z"
fill=
"white"
/>
</svg>
This diff is collapsed.
Click to expand it.
src/components/Header/header.tsx
View file @
2d54bfbb
import
React
from
'
react
'
;
import
{
View
,
Button
}
from
'
react-native
'
;
// import IconButton from '@material-ui/core/IconButton';
// import ArrowBackIcon from '@material-ui/core';
import
'
./styles
'
;
import
{
Button
}
from
'
react-native
'
;
import
BlackLogo
from
'
../../../assets/images/logoBlack.png
'
;
import
{
HeaderContainer
,
LogoImage
}
from
'
./styles
'
;
export
default
function
Header
({
navigation
}:
any
)
{
function
renderMain
()
{
return
(
<
View
>
{
/* <IconButton aria-label="delete">
<ArrowBackIcon />
</IconButton> */
}
<
HeaderContainer
>
{
/* <LogoImage source={BlackLogo} /> */
}
<
Button
onPress
=
{
()
=>
{
navigation
.
navigate
(
'
Info
'
);
...
...
@@ -18,7 +15,7 @@ export default function Header({ navigation }: any) {
title
=
"Go to Info"
color
=
"#841584"
/>
</
View
>
</
HeaderContainer
>
);
}
...
...
This diff is collapsed.
Click to expand it.
src/components/Header/styles.tsx
View file @
2d54bfbb
import
styled
from
'
styled-components/native
'
;
import
{
SIZES
}
from
'
../../constants/theme
'
;
export
const
HeaderContainer
=
styled
.
View
`
flex: 1;
width:
${
SIZES
.
width
}
;
/* height: headerHeight; */
background-color: red;
`
;
export
const
LogoImage
=
styled
.
Image
`
display: flex;
width:
${
SIZES
.
width
}
; */
/* height: headerHeight;
`
;
export
default
{
HeaderContainer
,
LogoImage
};
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help