diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-02-23 01:07:20 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-02-23 01:07:20 -0600 |
commit | e828f380e779b7c6c0b6cb45508ed59516c0feda (patch) | |
tree | 06a311ebb2d1a39ef4ea70fc2882b8e315938957 /src/view/shell/web/DesktopLeftColumn.tsx | |
parent | c5f28376c86478b4c55d9f0910d8d0cb4a1feb06 (diff) | |
download | voidsky-e828f380e779b7c6c0b6cb45508ed59516c0feda.tar.zst |
Update web header and search
Diffstat (limited to 'src/view/shell/web/DesktopLeftColumn.tsx')
-rw-r--r-- | src/view/shell/web/DesktopLeftColumn.tsx | 56 |
1 files changed, 2 insertions, 54 deletions
diff --git a/src/view/shell/web/DesktopLeftColumn.tsx b/src/view/shell/web/DesktopLeftColumn.tsx index 819bcba6d..54e3e93e1 100644 --- a/src/view/shell/web/DesktopLeftColumn.tsx +++ b/src/view/shell/web/DesktopLeftColumn.tsx @@ -70,12 +70,7 @@ export const DesktopLeftColumn = observer(() => { styles.containerBgLight, styles.containerBgDark, ) - const hoverBg = useColorSchemeStyle( - styles.navItemHoverBgLight, - styles.navItemHoverBgDark, - ) const pal = usePalette('default') - const onPressCompose = () => store.shell.openComposer({}) const avi = ( <UserAvatar handle={store.me.handle} @@ -90,15 +85,6 @@ export const DesktopLeftColumn = observer(() => { <Link style={styles.logo} href="/"> <Text type="title-xl">Bluesky</Text> </Link> - <Link href="/search" style={[pal.view, pal.borderDark, styles.search]}> - <MagnifyingGlassIcon - size={18} - style={[pal.textLight, styles.searchIconWrapper]} - /> - <Text type="md-thin" style={pal.textLight}> - Search - </Text> - </Link> <NavItem href="/" label="Home" @@ -124,19 +110,6 @@ export const DesktopLeftColumn = observer(() => { icon={<CogIcon strokeWidth={2} size={21} />} iconFilled={<CogIcon strokeWidth={2.5} size={21} />} /> - <View style={[pal.border, styles.separator]} /> - <Pressable - style={state => [ - // @ts-ignore Pressable state differs for RNW -prf - state.hovered && hoverBg, - ]}> - <TouchableOpacity style={styles.navItem} onPress={onPressCompose}> - <View style={styles.navItemIconWrapper}> - <ComposeIcon size={21} /> - </View> - <Text type="xl-thin">New Post</Text> - </TouchableOpacity> - </Pressable> </View> <View style={[styles.footer, pal.borderDark]}> <NavItem @@ -183,24 +156,8 @@ const styles = StyleSheet.create({ }, logo: { - paddingTop: 6, - paddingBottom: 12, - }, - - search: { - flexDirection: 'row', - alignItems: 'center', - borderRadius: 8, - paddingVertical: 8, - paddingHorizontal: 6, - marginBottom: 10, - borderWidth: 1, - }, - searchIconWrapper: { - flexDirection: 'row', - width: 30, - justifyContent: 'center', - marginRight: 6, + paddingTop: 8, + paddingBottom: 14, }, navItem: { @@ -240,13 +197,4 @@ const styles = StyleSheet.create({ paddingHorizontal: 4, borderRadius: 6, }, - composeBtn: { - marginTop: 20, - marginBottom: 10, - marginLeft: 10, - marginRight: 20, - borderRadius: 30, - paddingHorizontal: 20, - paddingVertical: 12, - }, }) |