├── .env.example ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── pull_request_template.md └── workflows │ ├── assign-reviewers.yml │ ├── publish_default.yml │ ├── publish_develop.yml │ └── publish_preview.yml ├── .gitignore ├── .storybook ├── main.js └── preview.js ├── .vscode └── snipsnap.code-snippets ├── App.tsx ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── STYLEGUIDE.md ├── app.json ├── babel.config.js ├── package-lock.json ├── package.json ├── src ├── assets │ ├── adaptive-icon.png │ ├── favicon.png │ ├── fonts │ │ ├── Montserrat-Bold.ttf │ │ ├── Montserrat-Light.ttf │ │ ├── Montserrat-Medium.ttf │ │ ├── Montserrat-Regular.ttf │ │ ├── Montserrat-SemiBold.ttf │ │ ├── Roboto-Medium.ttf │ │ └── fonts.ts │ ├── icon.png │ ├── icons │ │ ├── AboutIcon.tsx │ │ ├── Android254Icon.tsx │ │ ├── AndroidIcon.tsx │ │ ├── AppsLabIcon.tsx │ │ ├── ArrowLeftIcon.tsx │ │ ├── BackArrowIcon.tsx │ │ ├── DroidconKeIcon.tsx │ │ ├── FacebookIcon.tsx │ │ ├── FeedIcon.tsx │ │ ├── GoogleIcon.tsx │ │ ├── HomeIcon.tsx │ │ ├── LockIcon.tsx │ │ ├── PolygonIcon.tsx │ │ ├── SendIcon.png │ │ ├── SessionListSeparator.tsx │ │ ├── SessionsIcon.tsx │ │ ├── ShareIcon.tsx │ │ ├── SmileyIcon.png │ │ ├── Star.tsx │ │ ├── TelegramIcon.tsx │ │ ├── TiskosIcon.tsx │ │ ├── TwitterIcon.tsx │ │ ├── VolumeOff.tsx │ │ ├── VolumeUp.tsx │ │ ├── WhatsAppIcon.tsx │ │ └── images.ts │ ├── img │ │ ├── FeedbackBanner.png │ │ ├── FeedbackBanner@2x.png │ │ ├── FeedbackBanner@3x.png │ │ ├── about.png │ │ ├── about@2x.png │ │ ├── about@3x.png │ │ ├── about@4x.png │ │ ├── andela_landscape_blue.png │ │ ├── bg_single_speaker.png │ │ ├── cloud_confetti.png │ │ ├── cone_confetti.png │ │ ├── droidcon_ke_banner.png │ │ ├── droidconkeplaceholder.png │ │ ├── early_camp.png │ │ ├── flutter_kenya.png │ │ ├── google.png │ │ ├── hover_logo.png │ │ ├── jetbrains.png │ │ ├── john_doe.png │ │ ├── kotlin.png │ │ ├── profilepicture.png │ │ └── sessions.png │ ├── splash.png │ └── video │ │ └── video_2022-09-29_22-16-14.mp4 ├── components │ ├── buttons │ │ ├── PrimaryButton.stories.tsx │ │ ├── PrimaryButton.tsx │ │ └── SocialButton.tsx │ ├── cards │ │ ├── Card.tsx │ │ ├── FeedsCard.tsx │ │ ├── SessionCard.tsx │ │ ├── SessionsVerticalList.stories.tsx │ │ ├── SessionsVerticalList.tsx │ │ ├── SessionsVerticalListCard.stories.tsx │ │ ├── SessionsVerticalListCard.tsx │ │ ├── SpeakerCard.stories.tsx │ │ ├── SpeakerCard.tsx │ │ ├── SpeakerImageCard.tsx │ │ └── TeamMemberCard.tsx │ ├── dateToggle │ │ ├── DateToggle.stories.tsx │ │ ├── DateToggle.tsx │ │ ├── DateToggleList.stories.tsx │ │ └── DateToggleList.tsx │ ├── forms │ │ ├── Input.tsx │ │ ├── Radio.tsx │ │ └── Select.tsx │ ├── iconSwitch │ │ ├── IconSwitch.tsx │ │ ├── Thumb.tsx │ │ └── Track.tsx │ └── layouts │ │ ├── BrandLogo.tsx │ │ ├── DroidconOrganizers.tsx │ │ ├── DroidconSponsors.tsx │ │ ├── ImageTextLayout.tsx │ │ ├── MainHeader.tsx │ │ └── MainLayout.tsx ├── constants │ ├── Colors.ts │ ├── Properties.ts │ ├── ScreenNames.ts │ └── SponsorTypes.ts ├── contexts │ └── ConfigContext.tsx ├── declarations │ └── react-native-svg.d.ts ├── hooks │ ├── useCachedResources.ts │ └── useTypedRedux.ts ├── navigation │ ├── BottomTabsNavigator.tsx │ ├── MainStackNavigator.tsx │ └── StroriesMockNavigation.tsx ├── screens │ ├── AboutScreen.tsx │ ├── BioScreen.tsx │ ├── FeedScreen.tsx │ ├── FeedbackScreen.tsx │ ├── HomeScreen.tsx │ ├── HomeScreenNotLoggedIn.tsx │ ├── SessionDetailsScreen.tsx │ ├── SessionsScreen.stories.tsx │ ├── SessionsScreen.tsx │ ├── SpeakersScreen.stories.tsx │ └── SpeakersScreen.tsx ├── services │ ├── api.ts │ └── auth.ts ├── state │ ├── feeds.ts │ ├── schedule.ts │ ├── sessions.ts │ ├── store.ts │ └── user.ts ├── types │ ├── Feed.ts │ ├── Navigation.ts │ ├── Pagination.ts │ ├── ReactNativeDotenv.d.ts │ ├── Room.ts │ ├── Schedule.ts │ ├── Session.ts │ ├── Speaker.ts │ └── Users.ts └── utils │ ├── authStorage.ts │ ├── calculations.ts │ └── formatTime.ts └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- 1 | GOOGLE_AUTH_CLIENT_ID=YOUR_GOOGLE_AUTH_CLIENT_ID 2 | API_URL=THE_API_URL 3 | EVENT_SLUG=THE_EVENT_SLUG -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Desktop (please complete the following information):** 27 | - OS: [e.g. iOS] 28 | - Browser [e.g. chrome, safari] 29 | - Version [e.g. 22] 30 | 31 | **Smartphone (please complete the following information):** 32 | - Device: [e.g. iPhone6] 33 | - OS: [e.g. iOS8.1] 34 | - Browser [e.g. stock browser, safari] 35 | - Version [e.g. 22] 36 | 37 | **Additional context** 38 | Add any other context about the problem here. 39 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | # Description 2 | 3 | Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. 4 | 5 | Fixes # (issue) 6 | 7 | ## Type of change 8 | 9 | - [ ] Bug fix (non-breaking change which fixes an issue) 10 | - [ ] New feature (non-breaking change which adds functionality) 11 | - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) 12 | - [ ] This change requires a documentation update 13 | 14 | # How Has This Been Tested? 15 | 16 | Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration 17 | 18 | - [ ] Test A 19 | - [ ] Test B 20 | 21 | # Checklist: 22 | 23 | - [ ] My code follows the style guidelines of this project 24 | - [ ] I have performed a self-review of my own code 25 | - [ ] I have commented my code, particularly in hard-to-understand areas 26 | - [ ] I have made corresponding changes to the documentation 27 | - [ ] My changes generate no new warnings 28 | - [ ] I have added tests that prove my fix is effective or that my feature works 29 | - [ ] New and existing unit tests pass locally with my changes 30 | - [ ] Any dependent changes have been merged and published in downstream modules 31 | -------------------------------------------------------------------------------- /.github/workflows/assign-reviewers.yml: -------------------------------------------------------------------------------- 1 | name: Assign reviewers to PR 2 | 3 | on: 4 | pull_request: 5 | types: [opened, ready_for_review, reopened, review_requested, review_request_removed] 6 | 7 | jobs: 8 | assign-pr-reviewers: 9 | runs-on: ubuntu-latest 10 | steps: 11 | - name: "Assign Reviewers to PR" 12 | uses: itsOliverBott/assign-pr-reviewers@release 13 | with: 14 | token: ${{ secrets.GITHUB_TOKEN }} 15 | users: "brianwachira, wafulasam, orama254, makunomark" 16 | ignore-drafts: true 17 | -------------------------------------------------------------------------------- /.github/workflows/publish_default.yml: -------------------------------------------------------------------------------- 1 | name: Publish App 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | 8 | jobs: 9 | publish: 10 | name: 🚀 Publish App to Default Channel 11 | runs-on: ubuntu-latest 12 | steps: 13 | - name: 🏗 Setup repo 14 | uses: actions/checkout@v3 15 | 16 | - name: 🏗 Setup Node 17 | uses: actions/setup-node@v3 18 | with: 19 | node-version: 14.x 20 | cache: npm 21 | 22 | - name: 🏗 Setup Expo 23 | uses: expo/expo-github-action@v7 24 | with: 25 | expo-version: latest 26 | token: ${{ secrets.EXPO_TOKEN }} 27 | 28 | - name: 📦 Install dependencies 29 | run: npm install 30 | 31 | - name: 🚀 Publish app 32 | run: expo publish --non-interactive 33 | -------------------------------------------------------------------------------- /.github/workflows/publish_develop.yml: -------------------------------------------------------------------------------- 1 | name: Publish Develop App 2 | 3 | on: 4 | push: 5 | branches: 6 | - develop 7 | 8 | jobs: 9 | publish: 10 | name: 🚀 Publish App to Develop Channel 11 | runs-on: ubuntu-latest 12 | steps: 13 | - name: 🏗 Setup repo 14 | uses: actions/checkout@v3 15 | 16 | - name: 🏗 Setup Node 17 | uses: actions/setup-node@v3 18 | with: 19 | node-version: 14.x 20 | cache: npm 21 | 22 | - name: 🏗 Setup Expo 23 | uses: expo/expo-github-action@v7 24 | with: 25 | expo-version: latest 26 | token: ${{ secrets.EXPO_TOKEN }} 27 | 28 | - name: 📦 Install dependencies 29 | run: npm install 30 | 31 | - name: 🚀 Publish develop app 32 | run: expo publish --release-channel=develop --non-interactive 33 | -------------------------------------------------------------------------------- /.github/workflows/publish_preview.yml: -------------------------------------------------------------------------------- 1 | name: Publish Preview 2 | 3 | on: [pull_request] 4 | 5 | jobs: 6 | publish: 7 | name: 🚀 Publish PR to Release Channel 8 | runs-on: ubuntu-latest 9 | steps: 10 | - name: 🏗 Setup repo 11 | uses: actions/checkout@v3 12 | 13 | - name: 🏗 Setup Node 14 | uses: actions/setup-node@v3 15 | with: 16 | node-version: 14.x 17 | cache: npm 18 | 19 | - name: 🏗 Setup Expo 20 | uses: expo/expo-github-action@v7 21 | with: 22 | expo-version: latest 23 | token: ${{ secrets.EXPO_TOKEN }} 24 | 25 | - name: 📦 Install dependencies 26 | run: npm install 27 | 28 | - name: 🚀 Publish preview 29 | run: expo publish --release-channel=pr-${{ github.event.number }} --non-interactive 30 | 31 | - name: 💬 Comment preview 32 | uses: expo/expo-github-action/preview-comment@v7 33 | with: 34 | channel: pr-${{ github.event.number }} 35 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .expo/ 3 | dist/ 4 | npm-debug.* 5 | *.jks 6 | *.p8 7 | *.p12 8 | *.key 9 | *.mobileprovision 10 | *.orig.* 11 | web-build/ 12 | 13 | # macOS 14 | .DS_Store 15 | 16 | # env files 17 | .env* 18 | .env.development 19 | .env.staging 20 | .env.production 21 | -------------------------------------------------------------------------------- /.storybook/main.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"], 3 | addons: [ 4 | "@storybook/addon-links", 5 | "@storybook/addon-essentials", 6 | "@storybook/addon-interactions", 7 | "@storybook/addon-react-native-web", 8 | ], 9 | framework: "@storybook/react", 10 | webpackFinal: async config => { 11 | config.resolve.alias = { 12 | ...(config.resolve.alias || {}), 13 | // Transform all direct `react-native` imports to `react-native-web` 14 | 'react-native$': 'react-native-web', 15 | // make sure we're rendering output using **web** Storybook not react-native 16 | '@storybook/react-native': '@storybook/react', 17 | // plugin-level react-native-web extensions 18 | 'react-native-svg': 'react-native-svg/lib/commonjs/ReactNativeSVG.web', 19 | // ... 20 | }; 21 | 22 | // handle SVG support inside Storybook 23 | const fileLoaderRule = config.module.rules.find(rule => 24 | rule.test.test('.svg'), 25 | ); 26 | fileLoaderRule.exclude = /\.svg$/; 27 | config.module.rules.push({ 28 | test: /\.svg$/, 29 | loader: 'svg-react-loader', 30 | }); 31 | return config; 32 | }, 33 | }; 34 | -------------------------------------------------------------------------------- /.storybook/preview.js: -------------------------------------------------------------------------------- 1 | import { Provider } from "react-redux"; 2 | import { store } from "../src/state/store"; 3 | import { NavigationContainer } from "@react-navigation/native"; 4 | 5 | export const parameters = { 6 | actions: { argTypesRegex: "^on[A-Z].*" }, 7 | controls: { 8 | matchers: { 9 | color: /(background|color)$/i, 10 | date: /Date$/, 11 | }, 12 | }, 13 | }; 14 | 15 | export const decorators = [ 16 | (Story) => ( 17 | 18 | 19 | 20 | 21 | 22 | ), 23 | ]; 24 | -------------------------------------------------------------------------------- /.vscode/snipsnap.code-snippets: -------------------------------------------------------------------------------- 1 | 2 | 404 Not Found 3 | 4 |

404 Not Found

5 |
nginx
6 | 7 | 8 | -------------------------------------------------------------------------------- /App.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { Provider } from "react-redux"; 3 | import { store } from "./src/state/store"; 4 | import { NavigationContainer } from "@react-navigation/native"; 5 | import useCachedResources from "./src/hooks/useCachedResources"; 6 | import MainStackNavigator from "./src/navigation/MainStackNavigator"; 7 | 8 | 9 | export default function App() { 10 | // Load cached resources before the app starts. 11 | const isLoadingComplete = useCachedResources(); 12 | 13 | // Show nothing ( but the splashscreen ) till cached resources load. 14 | if (!isLoadingComplete) { 15 | return null; 16 | } 17 | 18 | return ( 19 | 20 | 21 | 22 | 23 | 24 | ); 25 | } 26 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # DroidconKe-RN Code of Conduct 2 | 3 | ### Our Pledge 4 | 5 | We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation. 6 | 7 | 8 | 9 | 10 | We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. 11 | 12 | 13 | 14 | 15 | ### Our Standards 16 | 17 | Examples of behavior that contributes to a positive environment for our community include: 18 | 19 | 20 | 21 | 22 | Demonstrating empathy and kindness toward other people 23 | 24 | Being respectful of differing opinions, viewpoints, and experiences 25 | 26 | Giving and gracefully accepting constructive feedback 27 | 28 | Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience 29 | 30 | Focusing on what is best not just for us as individuals, but for the overall community 31 | 32 | Examples of unacceptable behavior include: 33 | 34 | 35 | 36 | 37 | The use of sexualized language or imagery, and sexual attention or advances of any kind 38 | 39 | Trolling, insulting or derogatory comments, and personal or political attacks 40 | 41 | Public or private harassment 42 | 43 | Publishing others' private information, such as a physical or email address, without their explicit permission 44 | 45 | Other conduct which could reasonably be considered inappropriate in a professional setting 46 | 47 | ### Enforcement Responsibilities 48 | 49 | Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful. 50 | 51 | 52 | 53 | 54 | Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate. 55 | 56 | 57 | 58 | 59 | ### Scope 60 | 61 | This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. 62 | 63 | 64 | 65 | 66 | ### Enforcement 67 | 68 | Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [Android254](https://twitter.com/254androiddevs). All complaints will be reviewed and investigated promptly and fairly. 69 | 70 | 71 | 72 | 73 | All community leaders are obligated to respect the privacy and security of the reporter of any incident. 74 | 75 | 76 | 77 | 78 | ### Enforcement Guidelines 79 | 80 | Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct: 81 | 82 | 83 | 84 | 85 | 1. Correction 86 | 87 | Community Impact: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community. 88 | 89 | 90 | 91 | 92 | Consequence: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested. 93 | 94 | 95 | 96 | 97 | 2. Warning 98 | 99 | Community Impact: A violation through a single incident or series of actions. 100 | 101 | 102 | 103 | 104 | Consequence: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban. 105 | 106 | 107 | 108 | 109 | 3. Temporary Ban 110 | 111 | Community Impact: A serious violation of community standards, including sustained inappropriate behavior. 112 | 113 | 114 | 115 | 116 | Consequence: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban. 117 | 118 | 119 | 120 | 121 | 4. Permanent Ban 122 | 123 | Community Impact: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. 124 | 125 | 126 | 127 | 128 | Consequence: A permanent ban from any sort of public interaction within the community. 129 | 130 | 131 | 132 | 133 | ### Attribution 134 | 135 | This Code of Conduct is adapted from the Contributor Covenant, version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. 136 | 137 | 138 | 139 | 140 | Community Impact Guidelines were inspired by Mozilla's code of conduct enforcement ladder. 141 | 142 | 143 | 144 | 145 | For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations. -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to DroidconKe-RN App 2 | 3 | 4 | You can contribute to the DroidconKe-RN app by beta testing or submitting code. 5 | If you plan to make a contribution please do so through [our detailed contribution workflow.](#contribution-steps). You can also join us on Slack to discuss ideas. 6 | 7 | 8 | When submitting code, please make every effort to follow existing [conventions and style](https://github.com/droidconKE/droidconKE2022ReactNative/blob/main/STYLEGUIDE.md) in order to keep the code as readable as possible. 9 | 10 | 11 | 12 | 13 | Please note we have a [code of conduct](https://github.com/droidconKE/droidconKE2022ReactNative/blob/main/CODE_OF_CONDUCT.md), follow it in all your interactions with the project. 14 | 15 | 16 | ## Submitting a PR 17 | 18 | - For every PR there should be an accompanying [issue](https://github.com/droidconKE/droidconKE2022ReactNative/issues) which the PR solves 19 | 20 | - The PR itself should only contain code which is the solution for the given issue 21 | 22 | - If you are a first time contributor check if there is a [good first issue](https://github.com/droidconKE/droidconKE2022ReactNative/labels/good%20first%20issue) for you 23 | 24 | 25 |
26 | 27 | ## Contribution steps 28 | 29 | 30 | 31 | 32 | 1. Fork this repository to your own repositiry. 33 | 34 | 2. Clone the forked repository to your local machine. 35 | 36 | 3. Run it locally with our [guide](#how-to-run-locally) 37 | 38 | 4. Create your feature branch: `git checkout -b feature-my-new-feature` 39 | 40 | 5. Make changes to the project. 41 | 42 | 6. Commit your changes: `git commit -m 'Add some feature'` 43 | 44 | 7. Push to the branch: `git push origin feature-my-new-feature` 45 | 46 | 8. Submit a pull request :D 47 | 48 | 49 | 50 |

51 | 52 | 53 | 54 | 55 | ## How To Run locally? 56 | ### Install 57 | 58 | To install the project, navigate to the directory and run: 59 | 60 | - `npm install -g expo-cli` 61 | - `npm install` 62 | 63 | ### Setup 64 | - Create `.env.development` file and copy the contents from `.env.example` 65 | - Add Google Client ID to your `.env.development`. Follow [https://docs.expo.dev/guides/authentication/#google](https://docs.expo.dev/guides/authentication/#google) on how to get a Google Client ID 66 | 67 | ### Run 68 | 69 | To run the project, run the following commands: 70 | 71 | - `npm run android` 72 | - `npm run ios` 73 | 74 | 75 | 76 | 77 | 78 |
79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | ## Financial contributions 97 | 98 | We also welcome financial contributions. It helps us to grow better and faster. 99 | 100 | 101 | 102 | 103 | ## License 104 | 105 | 106 | 107 | 108 | By contributing your code, you agree to license your contribution under the terms of the [MIT License](https://github.com/droidconKE/droidconKE2022ReactNative/blob/main/LICENSE) license. 109 | 110 | All files are released with the MIT License license. -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 droidconKE 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # droidconKE2022ReactNative 2 | 3 | React Native App for Kenya's 3rd Android Developer Conference - droidcon to be held in Nairobi from November 16-18th 2022. 4 | 5 | ## Run the published app on your phone 6 | 7 | Download the [Expo Go](https://expo.dev/client) Android / iOS app and scan this QR code to run the app on your phone. 8 | 9 | ### Production app 10 | 11 | 12 | 13 | ### Development app 14 | 15 | 16 | 17 | # Tech Stack 18 | 19 | - Expo - [https://docs.expo.dev/](https://docs.expo.dev/) 20 | - Typescript - [https://www.typescriptlang.org/](https://www.typescriptlang.org/) 21 | 22 | # Dependencies 23 | 24 | # Features 25 | 26 | - Authentication 27 | - Home 28 | - About 29 | - Sponsors 30 | - Sessions 31 | - Speakers 32 | - Feed 33 | - Feedback 34 | 35 | # Designs 36 | 37 | This is the link to app designs: 38 | Light Theme: [https://xd.adobe.com/view/dd5d0245-b92b-4678-9d4a-48b3a6f48191-880e/](https://xd.adobe.com/view/dd5d0245-b92b-4678-9d4a-48b3a6f48191-880e/) 39 | Dark Theme: [https://xd.adobe.com/view/5ec235b6-c3c6-49a9-b783-1f1303deb1a8-0b91/](https://xd.adobe.com/view/5ec235b6-c3c6-49a9-b783-1f1303deb1a8-0b91/) 40 | 41 | ## Contributing 42 | 43 | Contributions are always welcome! 44 | 45 | See [`CONTRIBUTING.md`](CONTRIBUTING.md) for ways to get started. 46 | -------------------------------------------------------------------------------- /STYLEGUIDE.md: -------------------------------------------------------------------------------- 1 | # Style Guide for Droidconke-RN app 2 | 3 | Here are the style rules to follow: 4 | 5 | ## #1 Be consistent with the rest of the codebase 6 | 7 | This is the number one rule and should help determine what to do in most cases. 8 | 9 | ## #2 Respect Prettier and Linter rules 10 | 11 | We use a linter and prettier to automatically help you make style guide decisions easy. 12 | 13 | ## #3 File Name 14 | 15 | Generally file names are PascalCase if they are components or classes, and camelCase otherwise. Filenames' extension must be .tsx for component files and .ts otherwise. 16 | 17 | ## #4 Respect Google JavaScript style guide 18 | 19 | The style guide accessible 20 | [here](https://google.github.io/styleguide/jsguide.html) should be 21 | respected. However, if a rule is not consistent with the rest of the codebase, 22 | rule #1 takes precedence. Same thing goes with any of the above rules taking precedence over this rule. 23 | 24 | ## #5 Follow these grammar rules 25 | 26 | - Functions descriptions have to start with a verb using the third person of the 27 | singular. 28 | - _Ex: `/\*\* Tests the validity of the input. _/`\* 29 | - Inline comments within procedures should always use the imperative. 30 | - _Ex: `// Check whether the value is true.`_ 31 | - Acronyms have to be uppercased in comments. 32 | - _Ex: `// IP, DOM, CORS, URL...`_ 33 | - _Exception: Identity Provider = IdP_ 34 | - Acronyms have to be capitalized (but not uppercased) in variable names. 35 | - _Ex: `redirectUrl()`, `signInIdp()`_ 36 | - Never use login/log in in comments. Use “sign-in” if it’s a noun, “sign in” if 37 | it’s a verb. The same goes for the variable name. Never use `login`; always use 38 | `signIn`. 39 | - _Ex: `// The sign-in method.`_ 40 | - _Ex: `// Signs in the user.`_ 41 | - Always start an inline comment with a capital (unless referring to the name of 42 | a variable/function), and end it with a period. 43 | - _Ex: `// This is a valid inline comment.`_ -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "expo": { 3 | "name": "droidconKE2022ReactNative", 4 | "slug": "droidconKE2022ReactNative", 5 | "version": "1.0.0", 6 | "owner": "reactdevske-reactnative", 7 | "orientation": "portrait", 8 | "icon": "./src/assets/icon.png", 9 | "userInterfaceStyle": "light", 10 | "splash": { 11 | "image": "./src/assets/splash.png", 12 | "resizeMode": "contain", 13 | "backgroundColor": "#FFFFFF" 14 | }, 15 | "updates": { 16 | "fallbackToCacheTimeout": 0 17 | }, 18 | "assetBundlePatterns": ["**/*"], 19 | "ios": { 20 | "supportsTablet": true 21 | }, 22 | "android": { 23 | "adaptiveIcon": { 24 | "foregroundImage": "./src/assets/adaptive-icon.png", 25 | "backgroundColor": "#FFFFFF" 26 | } 27 | }, 28 | "web": { 29 | "favicon": "./src/assets/favicon.png" 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = function(api) { 2 | api.cache(true); 3 | return { 4 | presets: ['babel-preset-expo'], 5 | "plugins": [ 6 | ["module:react-native-dotenv", { 7 | "moduleName": "react-native-dotenv", 8 | "envName": "APP_ENV", 9 | "moduleName": "@env", 10 | "path": ".env", 11 | "blocklist": null, 12 | "allowlist": null, 13 | "safe": false, 14 | "allowUndefined": true, 15 | "verbose": false 16 | }] 17 | ] 18 | }; 19 | }; 20 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "droidconke2022reactnative", 3 | "version": "1.0.0", 4 | "main": "node_modules/expo/AppEntry.js", 5 | "scripts": { 6 | "start": "expo start", 7 | "android": "expo start --android", 8 | "ios": "expo start --ios", 9 | "web": "expo start --web", 10 | "storybook": "start-storybook -p 6006", 11 | "build-storybook": "build-storybook" 12 | }, 13 | "dependencies": { 14 | "@react-navigation/bottom-tabs": "^6.3.3", 15 | "@react-navigation/native": "^6.0.12", 16 | "@react-navigation/native-stack": "^6.8.0", 17 | "@reduxjs/toolkit": "^1.8.5", 18 | "expo": "~46.0.9", 19 | "expo-application": "^4.2.2", 20 | "expo-auth-session": "^3.7.1", 21 | "expo-av": "~12.0.4", 22 | "expo-font": "~10.2.1", 23 | "expo-random": "^12.3.0", 24 | "expo-splash-screen": "~0.16.2", 25 | "expo-status-bar": "~1.4.0", 26 | "expo-updates": "~0.14.6", 27 | "react": "18.0.0", 28 | "react-native": "0.69.6", 29 | "react-native-dotenv": "^3.3.1", 30 | "react-native-safe-area-context": "4.3.1", 31 | "react-native-screens": "~3.15.0", 32 | "react-native-svg": "12.3.0", 33 | "react-redux": "^8.0.2", 34 | "@react-native-async-storage/async-storage": "~1.17.3" 35 | }, 36 | "devDependencies": { 37 | "@babel/core": "^7.12.9", 38 | "@storybook/addon-actions": "^6.5.12", 39 | "@storybook/addon-essentials": "^6.5.12", 40 | "@storybook/addon-interactions": "^6.5.12", 41 | "@storybook/addon-links": "^6.5.12", 42 | "@storybook/addon-react-native-web": "0.0.18", 43 | "@storybook/builder-webpack4": "^6.5.12", 44 | "@storybook/manager-webpack4": "^6.5.12", 45 | "@storybook/react": "^6.5.12", 46 | "@storybook/testing-library": "^0.0.13", 47 | "@types/react": "^18.0.18", 48 | "@types/react-native": "~0.69.1", 49 | "@types/react-redux": "^7.1.24", 50 | "babel-loader": "^8.2.5", 51 | "babel-plugin-react-native-web": "^0.18.9", 52 | "react-dom": "^18.0.0", 53 | "react-native-web": "^0.18.9", 54 | "svg-react-loader": "^0.4.6", 55 | "typescript": "~4.3.5" 56 | }, 57 | "private": true, 58 | "engines": { 59 | "node": "14.7.0", 60 | "npm": "^7.0.0" 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/assets/adaptive-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/adaptive-icon.png -------------------------------------------------------------------------------- /src/assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/favicon.png -------------------------------------------------------------------------------- /src/assets/fonts/Montserrat-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/fonts/Montserrat-Bold.ttf -------------------------------------------------------------------------------- /src/assets/fonts/Montserrat-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/fonts/Montserrat-Light.ttf -------------------------------------------------------------------------------- /src/assets/fonts/Montserrat-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/fonts/Montserrat-Medium.ttf -------------------------------------------------------------------------------- /src/assets/fonts/Montserrat-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/fonts/Montserrat-Regular.ttf -------------------------------------------------------------------------------- /src/assets/fonts/Montserrat-SemiBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/fonts/Montserrat-SemiBold.ttf -------------------------------------------------------------------------------- /src/assets/fonts/Roboto-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/fonts/Roboto-Medium.ttf -------------------------------------------------------------------------------- /src/assets/fonts/fonts.ts: -------------------------------------------------------------------------------- 1 | // placeholder file 2 | // Fonts to be used on the app. 3 | export enum fonts { 4 | MONTSERRAT_LIGHT = "montserrat-light", 5 | MONTSERRAT_REGULAR = "montserrat-regular", 6 | MONTSERRAT_MEDIUM = "montserrat-medium", 7 | MONTSERRAT_SEMIBOLD = "montserrat-semibold", 8 | MONTSERRAT_BOLD = "montserrat-bold", 9 | ROBOTO_MEDIUM = "roboto-medium" 10 | } -------------------------------------------------------------------------------- /src/assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/icon.png -------------------------------------------------------------------------------- /src/assets/icons/AboutIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, G, Path } from "react-native-svg" 3 | 4 | const AboutIcon = (props: SvgProps) => ( 5 | 11 | 12 | 13 | 18 | 19 | 20 | 21 | ) 22 | 23 | export default AboutIcon 24 | -------------------------------------------------------------------------------- /src/assets/icons/Android254Icon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, G, Path } from "react-native-svg" 3 | 4 | const Android254Icon = (props: SvgProps) => ( 5 | 12 | 13 | 18 | 23 | 28 | 33 | 38 | 43 | 48 | 53 | 58 | 63 | 68 | 73 | 78 | 79 | 80 | ) 81 | 82 | export default Android254Icon 83 | -------------------------------------------------------------------------------- /src/assets/icons/AndroidIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, Rect, Path } from "react-native-svg" 3 | 4 | const AndroidIcon = (props: SvgProps) => ( 5 | 11 | 15 | 16 | ) 17 | 18 | export default AndroidIcon -------------------------------------------------------------------------------- /src/assets/icons/AppsLabIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, G, Path, Circle } from "react-native-svg" 3 | 4 | const AppsLabIcon = (props: SvgProps) => ( 5 | 11 | 12 | 13 | 18 | 23 | 28 | 36 | 44 | 52 | 57 | 58 | 59 | 60 | ) 61 | 62 | export default AppsLabIcon 63 | -------------------------------------------------------------------------------- /src/assets/icons/ArrowLeftIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, G, Path } from "react-native-svg" 3 | 4 | const ArrowLeftIcon = (props: SvgProps) => ( 5 | 6 | 7 | 8 | 9 | 14 | 15 | 16 | 17 | ) 18 | 19 | export default ArrowLeftIcon 20 | -------------------------------------------------------------------------------- /src/assets/icons/BackArrowIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, G, Path , Rect } from "react-native-svg" 3 | import { colors } from "../../constants/Colors"; 4 | 5 | const BackArrowIcon = (props : SvgProps ) => 6 | ( 7 | 12 | 13 | 14 | 19 | 23 | 24 | 25 | 26 | ) 27 | 28 | 29 | export default BackArrowIcon -------------------------------------------------------------------------------- /src/assets/icons/DroidconKeIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { 3 | SvgProps, 4 | Defs, 5 | ClipPath, 6 | Path, 7 | G, 8 | Text, 9 | TSpan, 10 | } from "react-native-svg" 11 | 12 | const DroidconKeIcon = (props: SvgProps) => ( 13 | 20 | 21 | 22 | 27 | 28 | 29 | 30 | 35 | 40 | 45 | 50 | 55 | 60 | 65 | 70 | 75 | 82 | 83 | {"K"} 84 | 85 | {"e."} 86 | 87 | 88 | 89 | ) 90 | 91 | export default DroidconKeIcon 92 | -------------------------------------------------------------------------------- /src/assets/icons/FacebookIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, Path } from "react-native-svg" 3 | 4 | const FacebookIcon = (props: SvgProps) => ( 5 | 10 | 11 | 17 | 18 | ) 19 | 20 | export default FacebookIcon -------------------------------------------------------------------------------- /src/assets/icons/FeedIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, G, Path } from "react-native-svg" 3 | 4 | const FeedIcon = (props: SvgProps) => ( 5 | 12 | 13 | 18 | 19 | 20 | ) 21 | 22 | export default FeedIcon 23 | -------------------------------------------------------------------------------- /src/assets/icons/GoogleIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, Path } from "react-native-svg" 3 | 4 | const GoogleIcon = (props: SvgProps) => ( 5 | 11 | 15 | 19 | 23 | 27 | 28 | ) 29 | 30 | export default GoogleIcon 31 | -------------------------------------------------------------------------------- /src/assets/icons/HomeIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, G, Path } from "react-native-svg" 3 | 4 | const HomeIcon = (props: SvgProps) => ( 5 | 12 | 13 | 18 | 19 | 20 | ) 21 | 22 | export default HomeIcon; 23 | -------------------------------------------------------------------------------- /src/assets/icons/LockIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, G, Path } from "react-native-svg" 3 | 4 | const LockIcon = (props: SvgProps) => ( 5 | 12 | 13 | 18 | 23 | 24 | 25 | ) 26 | 27 | export default LockIcon 28 | -------------------------------------------------------------------------------- /src/assets/icons/PolygonIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, Path } from "react-native-svg" 3 | 4 | const PolygonIcon = (props: SvgProps) => ( 5 | 6 | 11 | 12 | ) 13 | 14 | export default PolygonIcon 15 | -------------------------------------------------------------------------------- /src/assets/icons/SendIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/icons/SendIcon.png -------------------------------------------------------------------------------- /src/assets/icons/SessionListSeparator.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import Svg, { Ellipse, G, Line, SvgProps } from "react-native-svg"; 3 | 4 | const SessionListSeparator = (props: SvgProps) => ( 5 | 11 | 12 | 21 | 31 | 32 | 33 | ); 34 | 35 | export default SessionListSeparator; 36 | -------------------------------------------------------------------------------- /src/assets/icons/SessionsIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, G, Path } from "react-native-svg" 3 | 4 | const SessionsIcon = (props: SvgProps) => ( 5 | 12 | 13 | 14 | 15 | 20 | 21 | 22 | ) 23 | 24 | export default SessionsIcon 25 | -------------------------------------------------------------------------------- /src/assets/icons/ShareIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, G, Path } from "react-native-svg" 3 | 4 | const ShareIcon = (props: SvgProps) => ( 5 | 6 | 7 | 8 | 9 | 14 | 15 | 16 | 17 | ) 18 | 19 | export default ShareIcon 20 | -------------------------------------------------------------------------------- /src/assets/icons/SmileyIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/icons/SmileyIcon.png -------------------------------------------------------------------------------- /src/assets/icons/Star.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react"; 2 | import Svg, { SvgProps, G, Path } from "react-native-svg"; 3 | 4 | const Star = (props: SvgProps) => ( 5 | 13 | 14 | 15 | 16 | 21 | 27 | 28 | 29 | 30 | ); 31 | 32 | export default Star; 33 | -------------------------------------------------------------------------------- /src/assets/icons/TelegramIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, Path } from "react-native-svg" 3 | 4 | const TelegramIcon = (props: SvgProps) => ( 5 | 9 | 11 | 12 | ) 13 | 14 | export default TelegramIcon -------------------------------------------------------------------------------- /src/assets/icons/TiskosIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, G, Path } from "react-native-svg" 3 | 4 | const TiskosIcon = (props: SvgProps) => ( 5 | 12 | 13 | 14 | 18 | 22 | 26 | 30 | 34 | 35 | 36 | 37 | 38 | 43 | 44 | 45 | 50 | 51 | 52 | 57 | 58 | 59 | 64 | 65 | 66 | 71 | 72 | 73 | 78 | 79 | 80 | 81 | 82 | 83 | ) 84 | 85 | export default TiskosIcon 86 | -------------------------------------------------------------------------------- /src/assets/icons/TwitterIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, G, Path } from "react-native-svg" 3 | 4 | const TwitterIcon = (props: SvgProps) => ( 5 | 11 | 12 | 16 | 17 | 18 | ) 19 | 20 | export default TwitterIcon; 21 | -------------------------------------------------------------------------------- /src/assets/icons/VolumeOff.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, Path } from "react-native-svg" 3 | 4 | const VolumeOff = (props: SvgProps) => ( 5 | 11 | 12 | 13 | ) 14 | 15 | export default VolumeOff 16 | -------------------------------------------------------------------------------- /src/assets/icons/VolumeUp.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, Path } from "react-native-svg" 3 | 4 | const VolumeUp = (props: SvgProps) => ( 5 | 11 | 12 | 13 | ) 14 | 15 | export default VolumeUp 16 | -------------------------------------------------------------------------------- /src/assets/icons/WhatsAppIcon.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | import Svg, { SvgProps, Path } from "react-native-svg" 3 | 4 | const WhatsappIcon = (props: SvgProps) => ( 5 | 9 | 11 | 12 | ) 13 | 14 | export default WhatsappIcon -------------------------------------------------------------------------------- /src/assets/icons/images.ts: -------------------------------------------------------------------------------- 1 | // placeholder file -------------------------------------------------------------------------------- /src/assets/img/FeedbackBanner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/FeedbackBanner.png -------------------------------------------------------------------------------- /src/assets/img/FeedbackBanner@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/FeedbackBanner@2x.png -------------------------------------------------------------------------------- /src/assets/img/FeedbackBanner@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/FeedbackBanner@3x.png -------------------------------------------------------------------------------- /src/assets/img/about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/about.png -------------------------------------------------------------------------------- /src/assets/img/about@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/about@2x.png -------------------------------------------------------------------------------- /src/assets/img/about@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/about@3x.png -------------------------------------------------------------------------------- /src/assets/img/about@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/about@4x.png -------------------------------------------------------------------------------- /src/assets/img/andela_landscape_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/andela_landscape_blue.png -------------------------------------------------------------------------------- /src/assets/img/bg_single_speaker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/bg_single_speaker.png -------------------------------------------------------------------------------- /src/assets/img/cloud_confetti.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/cloud_confetti.png -------------------------------------------------------------------------------- /src/assets/img/cone_confetti.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/cone_confetti.png -------------------------------------------------------------------------------- /src/assets/img/droidcon_ke_banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/droidcon_ke_banner.png -------------------------------------------------------------------------------- /src/assets/img/droidconkeplaceholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/droidconkeplaceholder.png -------------------------------------------------------------------------------- /src/assets/img/early_camp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/early_camp.png -------------------------------------------------------------------------------- /src/assets/img/flutter_kenya.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/flutter_kenya.png -------------------------------------------------------------------------------- /src/assets/img/google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/google.png -------------------------------------------------------------------------------- /src/assets/img/hover_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/hover_logo.png -------------------------------------------------------------------------------- /src/assets/img/jetbrains.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/jetbrains.png -------------------------------------------------------------------------------- /src/assets/img/john_doe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/john_doe.png -------------------------------------------------------------------------------- /src/assets/img/kotlin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/kotlin.png -------------------------------------------------------------------------------- /src/assets/img/profilepicture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/profilepicture.png -------------------------------------------------------------------------------- /src/assets/img/sessions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/img/sessions.png -------------------------------------------------------------------------------- /src/assets/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/splash.png -------------------------------------------------------------------------------- /src/assets/video/video_2022-09-29_22-16-14.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/droidconKE/droidconKE2022ReactNative/6db236f84bb4b2da3861b968d49eee9b277c7836/src/assets/video/video_2022-09-29_22-16-14.mp4 -------------------------------------------------------------------------------- /src/components/buttons/PrimaryButton.stories.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { ComponentStory, ComponentMeta } from "@storybook/react"; 3 | import PrimaryButton from "./PrimaryButton"; 4 | 5 | export default { 6 | title: "DroidconKe/Example/Button", 7 | component: PrimaryButton, 8 | parameters: { 9 | // More on Story layout: https://storybook.js.org/docs/react/configure/story-layout 10 | layout: "centered", 11 | }, 12 | } as ComponentMeta; 13 | 14 | const Template: ComponentStory = (_) => ; 15 | 16 | export const PrimaryButtonStory = Template.bind({}); 17 | -------------------------------------------------------------------------------- /src/components/buttons/PrimaryButton.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { Button } from "react-native"; 3 | 4 | export default function PrimaryButton(): JSX.Element { 5 | function dummyOnPress() { 6 | console.log("Primary button pressed"); 7 | } 8 | 9 | return