From 1f56aec4deb9001a889a9acbff3107f6c8d5837c Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Thu, 5 Nov 2020 22:09:20 -0500 Subject: [TMA-347] Adjusted Coming Soon Image to look nice on smaller screens (#107) * Adjusted image and text to also look nice on iphone8 * Percentage Co-authored-by: Ashm Walia --- src/screens/search/SearchScreen.tsx | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) (limited to 'src/screens') diff --git a/src/screens/search/SearchScreen.tsx b/src/screens/search/SearchScreen.tsx index 668e600f..dfd7546f 100644 --- a/src/screens/search/SearchScreen.tsx +++ b/src/screens/search/SearchScreen.tsx @@ -1,22 +1,28 @@ +import AsyncStorage from '@react-native-community/async-storage'; import React, {useEffect, useState} from 'react'; -import {StatusBar, StyleSheet, ScrollView, Keyboard, Text, View, Image} from 'react-native'; import { + Image, + Keyboard, + ScrollView, + StatusBar, + StyleSheet, + Text, + View, +} from 'react-native'; +import Animated, {Easing, timing} from 'react-native-reanimated'; +import { + RecentSearches, SearchBackground, - SearchHeader, SearchBar, - Explore, - SearchResultsBackground, + SearchHeader, SearchResults, + SearchResultsBackground, TabsGradient, - RecentSearches, } from '../../components'; -import {SCREEN_HEIGHT, StatusBarHeight} from '../../utils'; -import Animated, {Easing, timing} from 'react-native-reanimated'; -import AsyncStorage from '@react-native-community/async-storage'; -import {ProfilePreviewType} from '../../types'; import {SEARCH_ENDPOINT} from '../../constants'; import {AuthContext} from '../../routes/authentication'; -import {UserType} from '../../types'; +import {ProfilePreviewType, UserType} from '../../types'; +import {SCREEN_HEIGHT, SCREEN_WIDTH, StatusBarHeight} from '../../utils'; const NO_USER: UserType = { userId: '', username: '', @@ -134,7 +140,8 @@ const SearchScreen: React.FC = () => { Coming Soon - We are working on constructing our explore suggestions. You can still search users for now! + We are working on constructing our explore suggestions. You can + still search users for now!