-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* lint fix * fix link + start ui desktop
- Loading branch information
Showing
7 changed files
with
137 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import React from 'react'; | ||
import { View, Text, StyleSheet } from 'react-native'; | ||
import stylesheet from './styles'; | ||
import { useStyles } from '../../../hooks'; | ||
|
||
const Sidebar = () => { | ||
const styles = useStyles(stylesheet); | ||
|
||
return ( | ||
<View style={styles.sidebar}> | ||
<Text style={styles.sidebarText}>AFK</Text> | ||
<Text style={[styles.title]}>Features coming soon</Text> | ||
<Text style={[styles.item]}> | ||
Launchpad | ||
</Text> | ||
<Text style={[styles.item,]}> | ||
Notifications | ||
</Text> | ||
<Text style={[styles.item]}> | ||
Communities | ||
</Text> | ||
<Text style={[styles.item]}> | ||
Art peace | ||
</Text> | ||
<Text style={[styles.item]}> | ||
Onramp & DeFI | ||
</Text> | ||
</View> | ||
); | ||
}; | ||
|
||
export default Sidebar; |
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,70 @@ | ||
import { Spacing, ThemedStyleSheet } from "../../../styles"; | ||
|
||
export default ThemedStyleSheet((theme) => ({ | ||
container: {}, | ||
sidebar: { | ||
width: 250, | ||
height: '100%', | ||
backgroundColor: theme.colors.background, | ||
padding: 20 | ||
}, | ||
sidebarText: { | ||
fontSize: 18 | ||
}, | ||
title: { | ||
fontWeight: 'bold', | ||
marginBottom: 16, | ||
color:theme.colors.text | ||
}, | ||
item: { | ||
paddingVertical: 8, | ||
color:theme.colors.text | ||
|
||
}, | ||
outsideContainer: { | ||
position: 'absolute', | ||
top: 0, | ||
right: 0, | ||
bottom: 0, | ||
left: 0, | ||
width: '100%', | ||
height: '100%', | ||
}, | ||
|
||
outside: { | ||
width: '100%', | ||
height: '100%', | ||
}, | ||
|
||
menuContainer: { | ||
position: 'absolute', | ||
zIndex: 1, | ||
}, | ||
menu: { | ||
position: 'absolute', | ||
height: 'auto', | ||
backgroundColor: theme.colors.divider, | ||
borderRadius: 16, | ||
overflow: 'hidden', | ||
shadowColor: theme.colors.shadow, | ||
shadowOffset: { width: 0, height: 2 }, | ||
shadowRadius: 4, | ||
elevation: 2, | ||
}, | ||
|
||
menuItem: { | ||
flex: 1, | ||
flexDirection: 'row', | ||
alignItems: 'center', | ||
gap: Spacing.xxsmall, | ||
backgroundColor: theme.colors.surface, | ||
paddingHorizontal: Spacing.medium, | ||
paddingVertical: Spacing.small, | ||
}, | ||
menuItemLabel: { | ||
flex: 1, | ||
fontSize: 17, | ||
lineHeight: 22, | ||
color: theme.colors.text, | ||
}, | ||
})); |
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
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