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 { people01, people02, people03, facebook, instagram, linkedin, twitter, airbnb, binance, coinbase, dropbox, send, shield, star } from "../assets"; | |
| export const navLinks = [ | |
| { | |
| id: "home", | |
| title: "Home", | |
| }, | |
| { | |
| id: "features", | |
| title: "Features", |
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
| body { | |
| font-family: 'Josefin Sans'; | |
| background-color: #FFFAFB; | |
| } | |
| * { | |
| padding: 0px; | |
| margin: 0px; | |
| box-sizing: border-box; |
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
| // eslintrc.js | |
| module.exports = { | |
| env: { | |
| browser: true, | |
| es6: true, | |
| }, | |
| extends: [ | |
| 'plugin:react/recommended', | |
| 'airbnb', | |
| ], |
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
| .app { | |
| background-color: var(--primary-color); | |
| font-family: var(--font-base); | |
| } | |
| .app__whitebg { | |
| background-color: var(--white-color); | |
| } | |
| .app__primarybg { |
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, { createContext, useContext, useState, useEffect } from 'react'; | |
| import { toast } from 'react-hot-toast'; | |
| const Context = createContext(); | |
| export const StateContext = ({ children }) => { | |
| const getLocalStorage = (name) => { | |
| if (typeof window !== 'undefined') { | |
| const storage = localStorage.getItem(name); |