Skip to content

Commit

Permalink
Merge pull request #76 from Varshi45/master
Browse files Browse the repository at this point in the history
Added Timer App
  • Loading branch information
smilewithkhushi authored Jun 21, 2024
2 parents 6bb5056 + 6b7e728 commit 485f1f0
Show file tree
Hide file tree
Showing 17 changed files with 789 additions and 178 deletions.
284 changes: 146 additions & 138 deletions App.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
Touchable,
Pressable,
} from "react-native";
import { GestureHandlerRootView } from "react-native-gesture-handler";
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import Calculator from "./src/screens/Calculator/calculator";
Expand All @@ -22,7 +23,7 @@ import BookFinder from "./src/screens/BookFinder/BookFinder";
import ToDoList from "./src/screens/ToDoList/toDoList";
import AddTaskScreen from "./src/screens/ToDoList/addTask";
import QRScanner from "./src/screens/QRScanner/qrScanner";
import MovieFinder from './src/screens/MovieFinder/MovieFinder';
import MovieFinder from "./src/screens/MovieFinder/MovieFinder";
import HexColorGeneratorScreen from "./src/screens/HexColorGenerator/HexColorGeneratorScreen";
import QRCodeGenerator from "./src/screens/QRGenerator/QRGenerator";
import RecipeFinder from "./src/screens/RecipeFinder/RecipeFinder";
Expand All @@ -33,159 +34,166 @@ import Pokedex from "./src/screens/Pokedex/Pokedex";
import AddWorkout from "./src/screens/FitnessTracker/AddWorkout";
import WorkoutOverview from "./src/screens/FitnessTracker/WorkoutOverview";
import CodingQuiz from "./src/screens/CodingQuiz/CodingQuiz";

import TimerHome from "./src/screens/Timer/TimerHome";

export default function App() {
const Stack = createNativeStackNavigator();
return (
<NavigationContainer>
<Stack.Navigator initialRouteName="Home">
<Stack.Screen
name="Home"
component={Home}
options={{ headerShown: false, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Basic Components"
component={BasicButtons}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Image Gallery"
component={Gallery}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Rock Paper Scissors Game"
component={RPSGame}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Book Finder"
component={BookFinder}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Calculator"
component={Calculator}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<GestureHandlerRootView style={{ flex: 1 }}>
<NavigationContainer>
<Stack.Navigator initialRouteName="Home">
<Stack.Screen
name="Home"
component={Home}
options={{ headerShown: false, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Basic Components"
component={BasicButtons}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Image Gallery"
component={Gallery}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Rock Paper Scissors Game"
component={RPSGame}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Book Finder"
component={BookFinder}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Calculator"
component={Calculator}
options={{ headerShown: true, animation: "slide_from_right" }}
/>

<Stack.Screen
name="Movie Finder"
component={MovieFinder}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Movie Finder"
component={MovieFinder}
options={{ headerShown: true, animation: "slide_from_right" }}
/>

<Stack.Screen
name="Hex Color"
component={HexColorGeneratorScreen}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="To Do List"
component={ToDoList}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Hex Color"
component={HexColorGeneratorScreen}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="To Do List"
component={ToDoList}
options={{ headerShown: true, animation: "slide_from_right" }}
/>

<Stack.Screen
name="Add Task"
component={AddTaskScreen}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Add Task"
component={AddTaskScreen}
options={{ headerShown: true, animation: "slide_from_right" }}
/>

<Stack.Screen
name="QR Scanner"
component={QRScanner}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="QR Scanner"
component={QRScanner}
options={{ headerShown: true, animation: "slide_from_right" }}
/>

<Stack.Screen
name="QR Generator"
component={QRCodeGenerator}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Recipe Finder"
component={RecipeFinder}
options={{headerShown: false }}
/>
<Stack.Screen
name="Tic Tac Toe"
component={TicTacToe}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Workout Overview"
component={WorkoutOverview}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Add Workout"
component={AddWorkout}
options={{ headerShown: true, animation: "slide_from_right" }}
/>

<Stack.Screen
name="Anime Finder"
component={AnimeFinder}
options={{
headerShown: true,
headerStyle: {
backgroundColor: '#121212',
},
headerTintColor: '#00ff99',
headerTitleStyle: {
fontWeight: 'bold',
},
cardStyle: { backgroundColor: '#121212' },
animationEnabled: true,
animationTypeForReplace: 'push',
transitionSpec: {
open: {
animation: 'timing',
config: { duration: 300 },
<Stack.Screen
name="QR Generator"
component={QRCodeGenerator}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Recipe Finder"
component={RecipeFinder}
options={{ headerShown: false }}
/>
<Stack.Screen
name="Tic Tac Toe"
component={TicTacToe}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Workout Overview"
component={WorkoutOverview}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Timer App"
component={TimerHome}
options={{ headerShown: false, animation: "slide_from_right" }}
/>
<Stack.Screen
name="Add Workout"
component={AddWorkout}
options={{ headerShown: true, animation: "slide_from_right" }}
/>

<Stack.Screen
name="Anime Finder"
component={AnimeFinder}
options={{
headerShown: true,
headerStyle: {
backgroundColor: "#121212",
},
close: {
animation: 'timing',
config: { duration: 300 },
headerTintColor: "#00ff99",
headerTitleStyle: {
fontWeight: "bold",
},
},
}}
/>
<Stack.Screen
name="Pokedex"
component={Pokedex}
options={{
headerShown: true,
headerStyle: {
backgroundColor: '#121212',
},
headerTintColor: '#00ff99',
headerTitleStyle: {
fontWeight: 'bold',
},
cardStyle: { backgroundColor: '#121212' },
animationEnabled: true,
animationTypeForReplace: 'push',
transitionSpec: {
open: {
animation: 'timing',
config: { duration: 300 },
cardStyle: { backgroundColor: "#121212" },
animationEnabled: true,
animationTypeForReplace: "push",
transitionSpec: {
open: {
animation: "timing",
config: { duration: 300 },
},
close: {
animation: "timing",
config: { duration: 300 },
},
},
close: {
animation: 'timing',
config: { duration: 300 },
}}
/>
<Stack.Screen
name="Pokedex"
component={Pokedex}
options={{
headerShown: true,
headerStyle: {
backgroundColor: "#121212",
},
},
}}
/>
headerTintColor: "#00ff99",
headerTitleStyle: {
fontWeight: "bold",
},
cardStyle: { backgroundColor: "#121212" },
animationEnabled: true,
animationTypeForReplace: "push",
transitionSpec: {
open: {
animation: "timing",
config: { duration: 300 },
},
close: {
animation: "timing",
config: { duration: 300 },
},
},
}}
/>
<Stack.Screen
name="Coding Quiz"
component={CodingQuiz}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
</Stack.Navigator>
</NavigationContainer>
</Stack.Navigator>
</NavigationContainer>
</GestureHandlerRootView>
);
}
}
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,40 +34,38 @@
<th>QR Scanner</th>
<th>QR Generator</th>
<th>Tic Tac Toe</th>
<th>Timer App</th>
</tr>
<tr>
<tr>
<td><img src="./output/qr_scanner.jpg" width=250></td>
<td><img src="./output/qr_generator.jpg" width=250></td>
<td><img src="./output/TicTacToe.jpg" width=250></td>
<td><img src="./output/Timer App (6).jpg" width=250></td>
</tr>
</table>


<hr>

<h2>🧐 Features 🧐</h2>

Here're some of the project's best features:

* Beginner friendly projects
* Easy to understand code
* Implementation of all the fundamental concepts of React Native
- Beginner friendly projects
- Easy to understand code
- Implementation of all the fundamental concepts of React Native


<hr>

<h2>💻 Built with 💻</h2>

Technologies used in the project:

* React Native Expo
* Tailwind CSS

- React Native Expo
- Tailwind CSS

<hr>


<h2>🛠️ Installation Steps: 🛠️</h2>

<p>1. Clone the repository</p>
Expand All @@ -91,7 +89,7 @@ code .
<p>4. Install required packages</p>

```
npm install
npm install
```

<p>5. Start the deployment server</p>
Expand All @@ -117,11 +115,13 @@ npx expo start
```
npx expo install --fix
```

<p>3. If there is an issue to use commands containing 'expo' then, the following command would help in fixing the issue.</p>

```
npm install -g react-native-cli
```

<p>4. If there is an error while using the QR Scanner or QR Generator try to use the below given commands.</p>

```
Expand Down
Binary file added output/Timer App (1).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/Timer App (2).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/Timer App (3).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/Timer App (4).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/Timer App (5).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/Timer App (6).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/Timer App (7).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/Timer App (8).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 485f1f0

Please sign in to comment.