-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEAT] #38 신규 쓰레기통 제보 뷰 퍼블 & 웹뷰 작업 마무리
- Loading branch information
Showing
10 changed files
with
145 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react'; | ||
import Svg, {Path} from 'react-native-svg'; | ||
export default function AddressSvg({width, height, fill}: SvgProps) { | ||
return ( | ||
<Svg width={width} height={height} viewBox="0 0 24 24" fill="none"> | ||
<Path | ||
d="M12 21.0037C10.7369 19.9263 9.56619 18.7452 8.5 17.4727C6.9 15.5617 5 12.7157 5 10.0037C4.99858 7.17126 6.70425 4.6171 9.32107 3.53311C11.9379 2.44912 14.9501 3.04895 16.952 5.05271C18.2685 6.36332 19.0059 8.1461 19 10.0037C19 12.7157 17.1 15.5617 15.5 17.4727C14.4338 18.7452 13.2631 19.9263 12 21.0037ZM12 7.00371C10.9282 7.00371 9.93782 7.57551 9.40193 8.50371C8.86603 9.43192 8.86603 10.5755 9.40193 11.5037C9.93782 12.4319 10.9282 13.0037 12 13.0037C13.6569 13.0037 15 11.6606 15 10.0037C15 8.34686 13.6569 7.00371 12 7.00371Z" | ||
fill="#278FFF" | ||
/> | ||
</Svg> | ||
); | ||
} |
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,15 +1,13 @@ | ||
import {createNativeStackNavigator} from '@react-navigation/native-stack'; | ||
import Home from 'screens/home/Home'; | ||
import PassPort from 'screens/passport/PassPort'; | ||
import ReportNewBin from 'screens/reportNewBin/ReportNewBin'; | ||
|
||
export default function HomeNavigator() { | ||
const Stack = createNativeStackNavigator<RootHomeParamList>(); | ||
return ( | ||
<Stack.Navigator initialRouteName="Home" screenOptions={{headerShown: false, gestureEnabled: true}}> | ||
<Stack.Screen name="Home" component={Home} /> | ||
<Stack.Screen name="PassPort" component={PassPort} /> | ||
<Stack.Screen name="ReportNewBin" component={ReportNewBin} /> | ||
</Stack.Navigator> | ||
); | ||
} |
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,12 @@ | ||
import { createNativeStackNavigator } from "@react-navigation/native-stack"; | ||
import ReportNewBin from "screens/reportNewBin/ReportNewBin"; | ||
|
||
export default function ReportNewBinNavigator() { | ||
const Stack = createNativeStackNavigator<RootReportNewBinParamList>(); | ||
|
||
return ( | ||
<Stack.Navigator initialRouteName="ReportNewBin" screenOptions={{headerShown: false}}> | ||
<Stack.Screen name="ReportNewBin" component={ReportNewBin} /> | ||
</Stack.Navigator> | ||
); | ||
} |
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,32 @@ | ||
import DefaultText from "components/DefaultText"; | ||
import { Palette } from "constants/palette"; | ||
import { Typo } from "constants/typo"; | ||
import styled from "styled-components/native"; | ||
|
||
export const AddressWrapper = styled.View` | ||
flex-direction: row; | ||
align-items: center; | ||
justify-content: center; | ||
`; | ||
|
||
export const TextAddress = styled(DefaultText)` | ||
font-size: ${Typo.B2.fontSize}; | ||
font-weight: ${Typo.B2.fontWeight}; | ||
color: ${Palette.Gray6}; | ||
`; | ||
|
||
export const Button = styled.TouchableOpacity` | ||
width: 100%; | ||
padding: 16px 30px; | ||
justify-content: center; | ||
align-items: center; | ||
background: ${Palette.Primary}; | ||
border-radius: 10px; | ||
margin-bottom: 20px; | ||
`; | ||
|
||
export const ButtonText = styled(DefaultText)` | ||
font-size: ${Typo.Button1.fontSize}; | ||
font-weight: ${Typo.Button1.fontWeight}; | ||
color: ${Palette.White}; | ||
`; |
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