This file contains 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, { Fragment } from "react"; | |
import ReactHtmlParser from "react-html-parser"; | |
function WhatWeDo(props) { | |
let content = { | |
English: { | |
title: "What We Do", | |
whatWeDo: `<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p> | |
<p>It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>` | |
}, |
This file contains 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, { Fragment } from "react"; | |
function Contact(props) { | |
let content = { | |
English: { | |
title: "Contact Us", | |
address: "Lorem ipsum, Lorem ipsum, Lorem, 123456", | |
phone: { | |
label: "Phone", | |
value: "+12 34567" |
This file contains 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
export { default as Navigation } from "./Navigation"; | |
export { default as Footer } from "./Footer"; | |
export { default as Header } from "./Header"; | |
export { default as WhatWeDo } from "./WhatWeDo"; | |
export { default as Contact } from "./Contact"; |
This file contains 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 { Navigation, Footer, Header, WhatWeDo, Contact } from "./components"; | |
function App() { | |
let languageStoredInLocalStorage = localStorage.getItem("language"); | |
let [language, setLanguage] = useState( | |
languageStoredInLocalStorage ? languageStoredInLocalStorage : "English" | |
); | |
return ( |
This file contains 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, { Component } from "react"; | |
import Button from "./components/Button"; | |
import "./assets/css/style.css"; | |
export default class App extends Component { | |
constructor() { | |
super(); | |
this.state = { | |
count: 0 | |
}; |
This file contains 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, { useContext } from "react"; | |
import { Button, TextField } from "@material-ui/core"; | |
import { makeStyles } from "@material-ui/core/styles"; | |
import AppContext from "../AppContext"; | |
import { ArrowRight } from "@material-ui/icons"; | |
const useStyles = makeStyles((theme) => ({ | |
buttonContainer: { | |
display: "block", | |
marginTop: "1rem", |
This file contains 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, { useEffect, useContext } from "react"; | |
import { makeStyles } from "@material-ui/core/styles"; | |
import { LinearProgress, Typography, Box } from "@material-ui/core"; | |
import Question from "./Question"; | |
import AppContext from "../AppContext"; | |
import Resume from "./Resume"; | |
const useStyles = makeStyles((theme) => ({ | |
root: { | |
display: "flex", |
This file contains 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, { createRef, useContext } from "react"; | |
import Pdf from "react-to-pdf"; | |
import AppContext from "../AppContext"; | |
import { makeStyles } from "@material-ui/core/styles"; | |
const useStyles = makeStyles((theme) => ({ | |
buttonBuildNew: { | |
cursor: "pointer", | |
minWidth: "7rem", | |
textAlign: "center", |
This file contains 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
let questionsArray = [ | |
{ | |
question: "What is your name?", | |
resumeField: "Name", | |
resumeFieldId: "name", | |
}, | |
{ | |
question: "Email address", | |
resumeField: "Email", | |
resumeFieldId: "email", |
This file contains 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 AppContext = React.createContext(); | |
export default AppContext; |