mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 05:37:56 +00:00
Fix LaunchpadScreen: remove duplicate header, move add button
This commit is contained in:
@@ -80,7 +80,7 @@ const HomeStackNavigator: React.FC = () => {
|
|||||||
<Stack.Screen name="P2P" component={P2PScreen} options={{ headerTitle: 'P2P Bazirganî' }} />
|
<Stack.Screen name="P2P" component={P2PScreen} options={{ headerTitle: 'P2P Bazirganî' }} />
|
||||||
<Stack.Screen name="B2B" component={B2BScreen} options={{ headerTitle: 'B2B Bazirganî' }} />
|
<Stack.Screen name="B2B" component={B2BScreen} options={{ headerTitle: 'B2B Bazirganî' }} />
|
||||||
<Stack.Screen name="TaxZekat" component={TaxZekatScreen} options={{ headerTitle: 'Bac & Zekat' }} />
|
<Stack.Screen name="TaxZekat" component={TaxZekatScreen} options={{ headerTitle: 'Bac & Zekat' }} />
|
||||||
<Stack.Screen name="Launchpad" component={LaunchpadScreen} options={{ headerTitle: 'Launchpad' }} />
|
<Stack.Screen name="Launchpad" component={LaunchpadScreen} options={{ headerTitle: '🚀 Launchpad' }} />
|
||||||
<Stack.Screen name="President" component={PresidentScreen} options={{ headerTitle: 'Serok' }} />
|
<Stack.Screen name="President" component={PresidentScreen} options={{ headerTitle: 'Serok' }} />
|
||||||
<Stack.Screen name="Vote" component={VoteScreen} options={{ headerTitle: 'Deng' }} />
|
<Stack.Screen name="Vote" component={VoteScreen} options={{ headerTitle: 'Deng' }} />
|
||||||
<Stack.Screen name="Validators" component={ValidatorsScreen} options={{ headerTitle: 'Validators' }} />
|
<Stack.Screen name="Validators" component={ValidatorsScreen} options={{ headerTitle: 'Validators' }} />
|
||||||
|
|||||||
@@ -529,14 +529,10 @@ const LaunchpadScreen: React.FC = () => {
|
|||||||
<View style={styles.container}>
|
<View style={styles.container}>
|
||||||
<StatusBar barStyle="dark-content" backgroundColor="#F8F9FA" />
|
<StatusBar barStyle="dark-content" backgroundColor="#F8F9FA" />
|
||||||
|
|
||||||
{/* Action Bar */}
|
{/* Add Button Row */}
|
||||||
<View style={styles.header}>
|
<View style={styles.actionRow}>
|
||||||
<View style={styles.headerContent}>
|
|
||||||
<Text style={styles.headerTitle}>🚀 Launchpad</Text>
|
|
||||||
<Text style={styles.headerSubtitle}>Multi-Presale Platform</Text>
|
|
||||||
</View>
|
|
||||||
<TouchableOpacity onPress={handleNewProject} style={styles.addButton}>
|
<TouchableOpacity onPress={handleNewProject} style={styles.addButton}>
|
||||||
<Text style={styles.addIcon}>+</Text>
|
<Text style={styles.addIcon}>+ Projeya Nû</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
@@ -762,41 +758,24 @@ const styles = StyleSheet.create({
|
|||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
color: '#666',
|
color: '#666',
|
||||||
},
|
},
|
||||||
header: {
|
actionRow: {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
alignItems: 'center',
|
justifyContent: 'flex-end',
|
||||||
paddingHorizontal: 16,
|
paddingHorizontal: 16,
|
||||||
paddingVertical: 12,
|
paddingVertical: 8,
|
||||||
backgroundColor: KurdistanColors.spi,
|
|
||||||
borderBottomWidth: 1,
|
|
||||||
borderBottomColor: '#E0E0E0',
|
|
||||||
},
|
|
||||||
headerContent: {
|
|
||||||
flex: 1,
|
|
||||||
marginLeft: 12,
|
|
||||||
},
|
|
||||||
headerTitle: {
|
|
||||||
fontSize: 20,
|
|
||||||
fontWeight: 'bold',
|
|
||||||
color: KurdistanColors.reş,
|
|
||||||
},
|
|
||||||
headerSubtitle: {
|
|
||||||
fontSize: 12,
|
|
||||||
color: '#666',
|
|
||||||
marginTop: 2,
|
|
||||||
},
|
},
|
||||||
addButton: {
|
addButton: {
|
||||||
width: 40,
|
paddingHorizontal: 16,
|
||||||
height: 40,
|
paddingVertical: 10,
|
||||||
borderRadius: 20,
|
borderRadius: 20,
|
||||||
backgroundColor: KurdistanColors.kesk,
|
backgroundColor: KurdistanColors.kesk,
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
},
|
},
|
||||||
addIcon: {
|
addIcon: {
|
||||||
fontSize: 24,
|
fontSize: 14,
|
||||||
color: KurdistanColors.spi,
|
color: KurdistanColors.spi,
|
||||||
fontWeight: 'bold',
|
fontWeight: '600',
|
||||||
},
|
},
|
||||||
platformStats: {
|
platformStats: {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
|
|||||||
Reference in New Issue
Block a user