This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset='utf-8'> | |
| <meta name='viewport' content='width=device-width'> | |
| <title>Privacy Policy</title> | |
| <style> body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; padding:1em; } </style> | |
| </head> | |
| <body> | |
| <strong>Privacy Policy</strong> <p> |
This file contains hidden or 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
| import React, { useState } from 'react' | |
| import MultiSlider from '@ptomasroos/react-native-multi-slider' | |
| import styled from 'styled-components/native' | |
| import { Platform } from 'react-native' | |
| const SliderWrapper = styled.View` | |
| margin: 20px; | |
| width: 280px; | |
| height: 300px; | |
| justify-content: center; |
This file contains hidden or 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
| import React, { useState, useEffect } from 'react' | |
| import logo from './logo.svg'; | |
| import './App.css'; | |
| import LoadingScreen from './loading' | |
| function App() { | |
| const [loading, setLoading] = useState(true) | |
| useEffect(() => { |
This file contains hidden or 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
| import React from 'react' | |
| const LoadingScreen = () => { | |
| return ( | |
| <> | |
| <div className='loading-gif'> | |
| <img | |
| alt='owner' | |
| className='gif' | |
| src={require('../assets/loading-animation.gif')} |
This file contains hidden or 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
| h1 { | |
| display: table; | |
| margin: 40px auto; | |
| color: #fff; | |
| font: 30px Helvetica; | |
| letter-spacing: 2px; | |
| text-transform: uppercase; | |
| letter-spacing: 10px; | |
| } |
This file contains hidden or 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
| const functions = require('firebase-functions') | |
| const nodemailer = require('nodemailer') | |
| const cors = require('cors')({ | |
| origin: true | |
| }) | |
| const gmailEmail = functions.config().gmail.email | |
| const gmailPassword = functions.config().gmail.password | |
| const mailTransport = nodemailer.createTransport({ | |
| service: 'gmail', |
This file contains hidden or 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
| import firebase from 'firebase/app' // doing import firebase from 'firebase' or import * as firebase from firebase is not good practice. | |
| import 'firebase/auth' | |
| import 'firebase/database' | |
| import 'firebase/firestore'; | |
| import Axios from 'axios' | |
| // Initialize Firebase | |
| let config = { | |
| apiKey: process.env.REACT_APP_FIREBASE_API_KEY, | |
| authDomain: process.env.REACT_APP_FIREBASE_AUTH_DOMAIN, |
This file contains hidden or 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
| import React from 'react' | |
| import logo from './logo.svg' | |
| import './App.css' | |
| import ContactForm from './contact' | |
| function App() { | |
| return ( | |
| <div className="App"> | |
| <header className="App-header"> | |
| <img src={logo} className="App-logo" alt="logo" /> |
This file contains hidden or 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
| import React, { useState } from 'react' | |
| import { Axios, db } from '../firebase/firebaseConfig' | |
| import './styled.scss' | |
| const ContactForm = () => { | |
| const [formData, setFormData] = useState({}) | |
| const updateInput = e => { | |
| setFormData({ | |
| ...formData, |