-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Louie Jay De La Cruz
committed
Apr 25, 2024
1 parent
ad8f8be
commit 984c5cc
Showing
3 changed files
with
30 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,31 @@ | ||
import React from 'react'; | ||
import {SafeAreaView} from 'react-native'; | ||
import {Layout, Text, TopNavigation} from '@ui-kitten/components'; | ||
import { | ||
StyleService, | ||
TopNavigation, | ||
useStyleSheet, | ||
} from '@ui-kitten/components'; | ||
|
||
import {Divider} from '../components/divider'; | ||
import {Footer} from '../components/footer'; | ||
import {About as AboutComponent} from '../components/about'; | ||
|
||
export const About = () => { | ||
const styles = useStyleSheet(themedStyles); | ||
|
||
return ( | ||
<SafeAreaView style={{flex: 1}}> | ||
<SafeAreaView style={styles.container}> | ||
<TopNavigation alignment="center" title="About" /> | ||
<Divider /> | ||
<Layout style={{flex: 1, justifyContent: 'center', alignItems: 'center'}}> | ||
<Text>About</Text> | ||
</Layout> | ||
<AboutComponent /> | ||
<Footer /> | ||
</SafeAreaView> | ||
); | ||
}; | ||
|
||
const themedStyles = StyleService.create({ | ||
container: { | ||
flex: 1, | ||
backgroundColor: 'background-basic-color-1', | ||
}, | ||
}); |
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 |
---|---|---|
@@ -1,19 +1,28 @@ | ||
import React from 'react'; | ||
import {SafeAreaView} from 'react-native'; | ||
import {Layout, Text, TopNavigation} from '@ui-kitten/components'; | ||
import {StyleService, useStyleSheet} from '@ui-kitten/components'; | ||
|
||
import {Details} from '../components/details'; | ||
import {DetailsTopNavigation} from '../components/detailsTopNavigation'; | ||
import {Divider} from '../components/divider'; | ||
import {Footer} from '../components/footer'; | ||
|
||
export const Comparison = () => { | ||
const styles = useStyleSheet(themedStyles); | ||
|
||
return ( | ||
<SafeAreaView style={{flex: 1}}> | ||
<SafeAreaView style={styles.container}> | ||
<DetailsTopNavigation /> | ||
<Divider /> | ||
<Details /> | ||
<Footer /> | ||
</SafeAreaView> | ||
); | ||
}; | ||
|
||
const themedStyles = StyleService.create({ | ||
container: { | ||
flex: 1, | ||
backgroundColor: 'background-basic-color-1', | ||
}, | ||
}); |
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