mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 04:17:13 +00:00
Move gitprofile.config.js to root
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { getDevtoArticle, getMediumArticle } from 'article-api';
|
||||
import moment from 'moment';
|
||||
import { Fragment, useEffect, useState } from 'react';
|
||||
import config from '../../gitprofile.config';
|
||||
import { ga, skeleton } from '../../helpers/utils';
|
||||
import LazyImage from '../lazy-image';
|
||||
import PropTypes from 'prop-types';
|
||||
import config from '../../../gitprofile.config';
|
||||
|
||||
const displaySection = () => {
|
||||
if (
|
||||
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
} from 'react-icons/fa';
|
||||
import PropTypes from 'prop-types';
|
||||
import { skeleton } from '../../helpers/utils';
|
||||
import config from '../../gitprofile.config';
|
||||
import config from '../../../gitprofile.config';
|
||||
|
||||
const ListItem = ({ icon, title, value, link, skeleton = false }) => {
|
||||
return (
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { skeleton } from '../../helpers/utils';
|
||||
import config from '../../gitprofile.config';
|
||||
import { Fragment } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import config from '../../../gitprofile.config';
|
||||
|
||||
const ListItem = ({ time, degree, institution }) => (
|
||||
<li className="mb-5 ml-4">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { skeleton } from '../../helpers/utils';
|
||||
import config from '../../gitprofile.config';
|
||||
import { Fragment } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import config from '../../../gitprofile.config';
|
||||
|
||||
const ListItem = ({ time, position, company }) => (
|
||||
<li className="mb-5 ml-4">
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Fragment } from 'react';
|
||||
import { Helmet } from 'react-helmet-async';
|
||||
import PropTypes from 'prop-types';
|
||||
import config from '../../gitprofile.config';
|
||||
import { isThemeDarkish } from '../../helpers/utils';
|
||||
import config from '../../../gitprofile.config';
|
||||
|
||||
const HeadTagEditor = ({ profile, theme }) => {
|
||||
return (
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Fragment } from 'react';
|
||||
import { AiOutlineStar, AiOutlineFork } from 'react-icons/ai';
|
||||
import PropTypes from 'prop-types';
|
||||
import config from '../../gitprofile.config';
|
||||
import { ga, languageColor, skeleton } from '../../helpers/utils';
|
||||
import config from '../../../gitprofile.config';
|
||||
|
||||
const Project = ({ repo, loading }) => {
|
||||
const renderSkeleton = () => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import config from '../../gitprofile.config';
|
||||
import { skeleton } from '../../helpers/utils';
|
||||
import PropTypes from 'prop-types';
|
||||
import config from '../../../gitprofile.config';
|
||||
|
||||
const Skill = ({ loading }) => {
|
||||
const renderSkeleton = () => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { AiOutlineControl } from 'react-icons/ai';
|
||||
import { skeleton } from '../../helpers/utils';
|
||||
import config from '../../gitprofile.config';
|
||||
import PropTypes from 'prop-types';
|
||||
import config from '../../../gitprofile.config';
|
||||
|
||||
const ThemeChanger = ({ theme, setTheme, loading }) => {
|
||||
const changeTheme = (e, selectedTheme) => {
|
||||
|
||||
Reference in New Issue
Block a user