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, { 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; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<meta name="theme-color" content="#000000" /> | |
<meta | |
name="description" | |
content="Web site created using create-react-app" |
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"; | |
function DropdownList() { | |
return ( | |
<div class="dropdown-menu profile-menu"> | |
<a class="dropdown-item" href="#"> | |
Profile | |
</a> | |
<a class="dropdown-item" href="#"> | |
Account |
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 onClickOutside from "react-onclickoutside"; | |
import DropdownList from "./DropDownList"; | |
function DropdownLink(props) { | |
const [showDropdown, setShowDropdown] = useState(false); | |
DropdownLink.handleClickOutside = () => { | |
setShowDropdown(false); | |
}; |