small tweaks

This commit is contained in:
emilyliublair
2021-06-26 17:19:29 -04:00
parent 96ec419c73
commit bb17eb17fa
14 changed files with 26923 additions and 12080 deletions
+2 -1
View File
@@ -199,6 +199,7 @@ const Event = ({item}) => {
</>
)
if (itemDate >= today) {
return (
<TouchableOpacity style={styles.item1} onPress={()=>setVisible(!visible)} activeOpacity={0.8}>
<View style = {{display: 'flex', flexDirection: 'row', alignContent: 'center', justifyContent: 'space-between'}}>
@@ -276,7 +277,7 @@ class Calendar extends React.Component {
render() {
return (
<View>
<View style = {{height: 56, display: 'flex'}}>
<View style = {{height: global.headerHeight, display: 'flex'}}>
<LinearGradient
colors={['#f99', 'white']}
style = {{height: '100%', borderBottomColor:'black', borderBottomWidth:0.5, display: 'flex', justifyContent: 'flex-end', paddingBottom: '2.5%'}}
+73 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -51,8 +51,8 @@ class MoreSwitch extends React.Component {
{name:'Announcements',key:"announce", img:Images.announcements},
{name:"Resources",key:"resources", img:Images.resources},
{name:"SOTW",key:"studentweek", img:Images.student},
{name:"lunch",key:"lunchevent", img:Images.lunch},
{name:"ssl",key:"sslopps", img:Images.sslopps},
{name:"Lunch",key:"lunchevent", img:Images.lunch},
{name:"SSL",key:"sslopps", img:Images.sslopps},
{name:"COTW",key:"challengeweek", img:Images.challenge},
{name:"Polls", key:"polls", img: Images.polls},
{name:"Settings", key:"settings", img: Images.settings},
+1 -1
View File
@@ -89,7 +89,7 @@ class Poll extends React.Component {
javaScriptEnabled={true}
domStorageEnabled={true}
startInLoadingState={true}
style={{marginTop: 20}}
style={{marginTop: 0}}
cacheEnabled={true}
/>
+10 -5
View File
@@ -84,7 +84,12 @@ const background = (<LinearGradient
class Settings extends React.Component {
render() {
return (
<NavigationContainer independent={true}>
<View style={{flex:1,backgroundColor:'red'}}>
<Text>
Coming Soon...
</Text>
</View>
/*<NavigationContainer independent={true}>
<Stack.Navigator>
<Stack.Screen
name="Chooser"
@@ -104,8 +109,8 @@ class Settings extends React.Component {
headerLeft:null,
headerBackground: ()=>background
}}
/>*/}
{/*<Stack.Screen
/>}*/
/*{<Stack.Screen
name="notifications"
component={Notifications}
options={{
@@ -114,9 +119,9 @@ class Settings extends React.Component {
headerLeft:null,
headerBackground: ()=>background
}}
/>*/}
/>}
</Stack.Navigator>
</NavigationContainer>
</NavigationContainer>*/
)
}
}