Skip to content

Instantly share code, notes, and snippets.

View techomoro's full-sized avatar

Techomoro techomoro

View GitHub Profile
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>`
},
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"
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";
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 (
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
};
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",
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",
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",
let questionsArray = [
{
question: "What is your name?",
resumeField: "Name",
resumeFieldId: "name",
},
{
question: "Email address",
resumeField: "Email",
resumeFieldId: "email",
import React from "react";
const AppContext = React.createContext();
export default AppContext;