Skip to content

Commit

Permalink
Merge branch 'main' into katynguyen/ocf-26-hi-fi-about-screen
Browse files Browse the repository at this point in the history
  • Loading branch information
christophertorres1 authored Dec 8, 2024
2 parents 1da5097 + d52cbf9 commit 2db2002
Show file tree
Hide file tree
Showing 44 changed files with 823 additions and 18,294 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,12 @@ module.exports = {
'@typescript-eslint/no-explicit-any': 'warn',
'@typescript-eslint/no-shadow': 'error',
},
settings: {
'import/resolver': {
typescript: {
alwaysTryTypes: true,
project: './tsconfig.json',
},
},
},
};
28 changes: 27 additions & 1 deletion App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,30 @@ const App = () => {
);
};

export default App;

<!-- import React from 'react';
import { Text } from 'react-native';
import { useFonts } from 'expo-font';
import { DMSans_400Regular, DMSans_700Bold } from '@expo-google-fonts/dm-sans';
import { DefaultTheme } from '@react-navigation/native';
import AppNavigator from '@/navigation/AppNavigator';
import colors from '@/styles/colors';

DefaultTheme.colors.background = colors.white;

export default function App() {
const [fontsLoaded] = useFonts({
DMSans_400Regular,
DMSans_700Bold,
});

if (!fontsLoaded) {
return null;
}

const defaultFontFamily = 'DMSans_400Regular';
(Text as any).defaultProps = (Text as any).defaultProps || {};
(Text as any).defaultProps.style = { fontFamily: defaultFontFamily }; -->

return <AppNavigator />;
}
18 changes: 8 additions & 10 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,19 @@
{
"cameraPermission": "Allow Our City Forest to access your camera to scan QR codes."
}
]
],
"splash": {
"image": "./assets/bp-splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"plugins": [
],
[
"expo-dev-launcher",
{
"launchMode": "most-recent"
}
]
],
"splash": {
"image": "./assets/bp-splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"platforms": ["ios", "android", "web"],
"ios": {
"bundleIdentifier": "org.calblueprint.ourcityforest",
Expand All @@ -48,11 +46,11 @@
"web": {
"favicon": "./assets/bp-favicon.png"
},
"scheme": "org.calblueprint.ourcityforest",
"extra": {
"eas": {
"projectId": "d04f2944-f495-4c9b-b330-6e13ce59c6ff"
}
}
},
"scheme": "our-city-forest"
}
}
Binary file added assets/ocf_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { registerRootComponent } from 'expo';
import App from './App';

registerRootComponent(App);
Loading

0 comments on commit 2db2002

Please sign in to comment.