Commit ff3f6147 authored by Trisno's avatar Trisno

kasih warna gold di header shopping cart dan menu confirmation

parent 783f9942
...@@ -259,18 +259,18 @@ class Auth extends React.Component { ...@@ -259,18 +259,18 @@ class Auth extends React.Component {
}, title: 'CHANGE PASSWORD' }, title: 'CHANGE PASSWORD'
}} /> }} />
<Stack.Screen name="Card Activation" component={CardActivation} options={{ <Stack.Screen name="Card Activation" component={CardActivation} options={{
headerStyle: { backgroundColor: '#CFB368' }, headerStyle: { backgroundColor: '#CFB368' },
headerTitleContainerStyle: { alignContent: 'center' }, headerTitleContainerStyle: { alignContent: 'center' },
headerTitleAlign: 'center', headerTitleAlign: 'center',
headerTintColor: '#fff', headerTintColor: '#fff',
headerTitleStyle: { headerTitleStyle: {
alignSelf: 'center', alignSelf: 'center',
fontFamily: 'Gotham-Black', fontFamily: 'Gotham-Black',
fontSize: 18, fontSize: 18,
color: 'white', color: 'white',
textAlign: 'center' textAlign: 'center'
}, title: 'ACTIVATE CARD' }, title: 'ACTIVATE CARD'
}} /> }} />
<Stack.Screen name="Renewal" component={Renewal} options={{ <Stack.Screen name="Renewal" component={Renewal} options={{
headerStyle: { backgroundColor: '#CFB368' }, headerStyle: { backgroundColor: '#CFB368' },
headerTitleContainerStyle: { alignContent: 'center' }, headerTitleContainerStyle: { alignContent: 'center' },
...@@ -326,16 +326,18 @@ class Auth extends React.Component { ...@@ -326,16 +326,18 @@ class Auth extends React.Component {
}, title: 'Tambah Alamat' }, title: 'Tambah Alamat'
}} /> }} />
<Stack.Screen name="Menu Detail" component={MenuDetail} <Stack.Screen name="Menu Detail" component={MenuDetail}
options={({ route }) => ({ headerStyle: { backgroundColor: '#CFB368' }, options={({ route }) => ({
headerTitleContainerStyle: { alignContent: 'center' }, headerStyle: { backgroundColor: '#CFB368' },
headerTitleAlign: 'center', headerTitleContainerStyle: { alignContent: 'center' },
headerTintColor: '#fff', headerTitleAlign: 'center',
headerTitleStyle: { headerTintColor: '#fff',
alignSelf: 'center', headerTitleStyle: {
fontFamily: 'Gotham-Black', alignSelf: 'center',
color: 'white', fontFamily: 'Gotham-Black',
textAlign: 'center' color: 'white',
}, title: route.params.nameMenu })} textAlign: 'center'
}, title: route.params.nameMenu
})}
/> />
<Stack.Screen name="Pickup Name" component={PickupName} options={{ <Stack.Screen name="Pickup Name" component={PickupName} options={{
headerStyle: { backgroundColor: '#CFB368' }, headerStyle: { backgroundColor: '#CFB368' },
...@@ -352,7 +354,20 @@ class Auth extends React.Component { ...@@ -352,7 +354,20 @@ class Auth extends React.Component {
<Stack.Screen name="Outlet Detail" component={OutletDetail} /> <Stack.Screen name="Outlet Detail" component={OutletDetail} />
<Stack.Screen name="Menu Select" component={MenuSelection} options={{ headerShown: false }} /> <Stack.Screen name="Menu Select" component={MenuSelection} options={{ headerShown: false }} />
<Stack.Screen name="Card Info" component={CardInfo} /> <Stack.Screen name="Card Info" component={CardInfo} />
<Stack.Screen name="Shopping Cart" component={ShoppingCart} /> <Stack.Screen name="Shopping Cart" component={ShoppingCart}
options={{
headerStyle: { backgroundColor: '#CFB368' },
headerTitleContainerStyle: { alignContent: 'center' },
headerTitleAlign: 'center',
headerTintColor: '#fff',
headerTitleStyle: {
alignSelf: 'center',
fontFamily: 'Gotham-Black',
fontSize: 18,
color: 'white',
textAlign: 'center'
}, title: 'Shopping Cart'
}} />
<Stack.Screen name="Order History" component={OrderHistory} /> <Stack.Screen name="Order History" component={OrderHistory} />
<Stack.Screen name="Reward History" component={RewardHistory} <Stack.Screen name="Reward History" component={RewardHistory}
options={{ options={{
...@@ -445,6 +460,22 @@ class Auth extends React.Component { ...@@ -445,6 +460,22 @@ class Auth extends React.Component {
title: 'TRANSACTION HISTORY' title: 'TRANSACTION HISTORY'
}} /> }} />
<Stack.Screen name="Transaction Detail" component={TransactionDetail} <Stack.Screen name="Transaction Detail" component={TransactionDetail}
options={{
headerStyle: { backgroundColor: "#CFB368" },
headerBackTitleStyle: { color: 'white' },
headerTintColor: '#fff',
headerTitleAlign: 'center',
headerTitleStyle: {
fontFamily: 'Gotham-Black',
color: 'white',
fontSize: 18,
},
title: 'TRANSACTION DETAIL'
}} />
{/* <Stack.Screen name="Email Confirmation" component={EmailConfirmation} /> */}
<Stack.Screen name="News Detail" component={NewsDetail} options={{ headerShown: false }} />
<Stack.Screen name="Confirm Your Order" component={MenuConfirmation}
options={{ options={{
headerStyle: { backgroundColor: "#CFB368" }, headerStyle: { backgroundColor: "#CFB368" },
headerBackTitleStyle: { color: 'white' }, headerBackTitleStyle: { color: 'white' },
...@@ -455,12 +486,8 @@ class Auth extends React.Component { ...@@ -455,12 +486,8 @@ class Auth extends React.Component {
color: 'white', color: 'white',
fontSize: 18, fontSize: 18,
}, },
title: 'TRANSACTION DETAIL' title: 'Confirm Your Order'
}} /> }} />
{/* <Stack.Screen name="Email Confirmation" component={EmailConfirmation} /> */}
<Stack.Screen name="News Detail" component={NewsDetail} options={{ headerShown: false }} />
<Stack.Screen name="Confirm Your Order" component={MenuConfirmation} />
<Stack.Screen name="Date Time" component={DateTime} /> <Stack.Screen name="Date Time" component={DateTime} />
<Stack.Screen name="New Register" component={NewRegister} <Stack.Screen name="New Register" component={NewRegister}
options={{ options={{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment