-
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
1 parent
abec035
commit a5c8c5f
Showing
53 changed files
with
3,103 additions
and
2,349 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = { | ||
root: true, | ||
extends: ["universe/native"], | ||
}; |
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,34 @@ | ||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
jobs: | ||
preview: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
pull-requests: write # Allow comments on PRs | ||
steps: | ||
- name: 🏗 Setup repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: 🏗 Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
cache: yarn | ||
|
||
- name: 🏗 Setup EAS | ||
uses: expo/expo-github-action@v8 | ||
with: | ||
eas-version: latest | ||
token: ${{ secrets.EXPO_TOKEN }} | ||
|
||
- name: 📦 Install dependencies | ||
run: yarn install | ||
|
||
- name: 🚀 Create preview | ||
uses: expo/expo-github-action/preview@v8 | ||
with: | ||
# `github.event.pull_request.head.ref` is only available on `pull_request` triggers. | ||
# Use your own, or keep the automatically infered branch name from `--auto`, when using different triggers. | ||
command: eas update --auto --branch ${{ github.event.pull_request.head.ref }} |
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 |
---|---|---|
|
@@ -36,4 +36,3 @@ jobs: | |
|
||
- name: Expo GitHub Action | ||
uses: expo/[email protected] | ||
|
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
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 |
---|---|---|
@@ -1,78 +1,72 @@ | ||
import { View, Text, Button, ScrollView, TouchableOpacity } from 'react-native' | ||
import React, { useRef } from 'react' | ||
import { StyleSheet } from 'react-native'; | ||
import { Link } from 'expo-router'; | ||
import { View, Text, Button, ScrollView, TouchableOpacity } from "react-native"; | ||
import React, { useRef } from "react"; | ||
import { StyleSheet } from "react-native"; | ||
import { Link } from "expo-router"; | ||
|
||
//TODO: add a notification icon | ||
//TODO: add 4 rectangle grid buttons which has options of everyday help, appliance repair, home cleaning, and moving | ||
//TODO: add 4 rectangle grid buttons which has options of everyday help, appliance repair, home cleaning, and moving | ||
//TODO: add a search bar | ||
|
||
const category = () => { | ||
|
||
return ( | ||
<ScrollView contentContainerStyle={styles.container}> | ||
|
||
<Link href={"/ameneties"} asChild> | ||
<TouchableOpacity style={styles.button} > | ||
<TouchableOpacity style={styles.button}> | ||
<Text style={styles.buttonText}>Ameneties</Text> | ||
</TouchableOpacity> | ||
</Link> | ||
|
||
<Link href={"/help"} asChild> | ||
<TouchableOpacity style={styles.button} > | ||
<TouchableOpacity style={styles.button}> | ||
<Text style={styles.buttonText}>Everyday Help</Text> | ||
</TouchableOpacity> | ||
</Link> | ||
|
||
|
||
<Link href={"/repair"} asChild> | ||
<TouchableOpacity style={styles.button} > | ||
<TouchableOpacity style={styles.button}> | ||
<Text style={styles.buttonText}>Appliances Repair</Text> | ||
</TouchableOpacity> | ||
</Link> | ||
</ScrollView> | ||
) | ||
} | ||
); | ||
}; | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
flexDirection: 'column', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
backgroundColor: 'powderblue', | ||
|
||
|
||
flexDirection: "column", | ||
alignItems: "center", | ||
justifyContent: "center", | ||
backgroundColor: "powderblue", | ||
}, | ||
button: { | ||
flexDirection: 'row', | ||
alignItems: 'center', | ||
flexDirection: "row", | ||
alignItems: "center", | ||
paddingHorizontal: 20, | ||
paddingVertical: 10, | ||
marginVertical: 10, | ||
backgroundColor: 'white', | ||
backgroundColor: "white", | ||
borderRadius: 5, | ||
width: '80%', | ||
height: '10%', | ||
shadowColor: '#000', // Shadow color | ||
width: "80%", | ||
height: "10%", | ||
shadowColor: "#000", // Shadow color | ||
shadowOffset: { | ||
width: 0, | ||
height: 2, // Shadow offset | ||
}, | ||
shadowOpacity: 0.25, // Shadow opacity | ||
shadowRadius: 3.84, // Shadow radius | ||
elevation: 5 | ||
elevation: 5, | ||
}, | ||
image: { | ||
marginRight: 10, | ||
}, | ||
buttonText: { | ||
color: '#000', | ||
color: "#000", | ||
fontSize: 18, | ||
marginLeft: 10, | ||
fontWeight: 'bold' | ||
fontWeight: "bold", | ||
}, | ||
}); | ||
|
||
|
||
export default category | ||
export default category; |
Oops, something went wrong.