Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: scaffolded getting started screen #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import UserDetails from "./src/screens/UserDetails";
import WifiDetails from "./src/screens/WifiDetails";
import AddSensor from "./src/screens/AddSensor";
import ThankYou from "./src/screens/ThankYou";
import HowItWorks from "./src/screens/HowItWorks";

export default function App() {
return (
Expand All @@ -22,7 +23,8 @@ export default function App() {
</View>
<View style={styles.screen}>
<NativeRouter>
<Route exact path="/" component={UserDetails} />
<Route exact path="/" component={HowItWorks} />
<Route exact path="/userDetails" component={UserDetails} />
<Route exact path="/wifi" component={WifiDetails} />
<Route exact path="/addSensor" component={AddSensor} />
<Route exact path="/thankYou" component={ThankYou} />
Expand Down
18 changes: 18 additions & 0 deletions assets/Edit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions assets/IoT.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions assets/Laptop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions assets/USBC.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions assets/Wifi.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions metro.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

const { getDefaultConfig } = require("metro-config");

module.exports = (async () => {
const {
resolver: {
sourceExts,
assetExts
}
} = await getDefaultConfig();

return {
transformer: {
babelTransformerPath: require.resolve("react-native-svg-transformer")
},
resolver: {
assetExts: assetExts.filter(ext => ext !== "svg"),
sourceExts: [...sourceExts, "svg"]
}};
})();
Loading