@@ -183,11 +183,11 @@ function App() {
Made with{' '}
- ezProfile
+ GitProfile
{' '}
and ❤️
diff --git a/src/components/blog/index.jsx b/src/components/blog/index.jsx
index cd8e0b7..bbc9fed 100644
--- a/src/components/blog/index.jsx
+++ b/src/components/blog/index.jsx
@@ -1,7 +1,7 @@
import { getDevtoArticle, getMediumArticle } from 'article-api';
import moment from 'moment';
import { Fragment, useEffect, useState } from 'react';
-import config from '../../ezprofile.config';
+import config from '../../gitprofile.config';
import { ga, skeleton } from '../../helpers/utils';
import LazyImage from '../lazy-image';
import PropTypes from 'prop-types';
diff --git a/src/components/details/index.jsx b/src/components/details/index.jsx
index 63d6fb7..215b441 100644
--- a/src/components/details/index.jsx
+++ b/src/components/details/index.jsx
@@ -14,7 +14,7 @@ import {
} from 'react-icons/fa';
import PropTypes from 'prop-types';
import { skeleton } from '../../helpers/utils';
-import config from '../../ezprofile.config';
+import config from '../../gitprofile.config';
const ListItem = ({ icon, title, value, link, skeleton = false }) => {
return (
diff --git a/src/components/education/index.jsx b/src/components/education/index.jsx
index 9702c35..b1047bd 100644
--- a/src/components/education/index.jsx
+++ b/src/components/education/index.jsx
@@ -1,5 +1,5 @@
import { skeleton } from '../../helpers/utils';
-import config from '../../ezprofile.config';
+import config from '../../gitprofile.config';
import { Fragment } from 'react';
import PropTypes from 'prop-types';
diff --git a/src/components/experience/index.jsx b/src/components/experience/index.jsx
index fd4567b..3aa0944 100644
--- a/src/components/experience/index.jsx
+++ b/src/components/experience/index.jsx
@@ -1,5 +1,5 @@
import { skeleton } from '../../helpers/utils';
-import config from '../../ezprofile.config';
+import config from '../../gitprofile.config';
import { Fragment } from 'react';
import PropTypes from 'prop-types';
diff --git a/src/components/head-tag-editor/index.jsx b/src/components/head-tag-editor/index.jsx
index 048aa29..e4ed7ce 100644
--- a/src/components/head-tag-editor/index.jsx
+++ b/src/components/head-tag-editor/index.jsx
@@ -1,7 +1,7 @@
import { Fragment } from 'react';
import { Helmet } from 'react-helmet-async';
import PropTypes from 'prop-types';
-import config from '../../ezprofile.config';
+import config from '../../gitprofile.config';
import { isThemeDarkish } from '../../helpers/utils';
const HeadTagEditor = ({ profile, theme }) => {
diff --git a/src/components/project/index.jsx b/src/components/project/index.jsx
index 42e976e..49b51aa 100644
--- a/src/components/project/index.jsx
+++ b/src/components/project/index.jsx
@@ -1,7 +1,7 @@
import { Fragment } from 'react';
import { AiOutlineStar, AiOutlineFork } from 'react-icons/ai';
import PropTypes from 'prop-types';
-import config from '../../ezprofile.config';
+import config from '../../gitprofile.config';
import { ga, languageColor, skeleton } from '../../helpers/utils';
const Project = ({ repo, loading }) => {
diff --git a/src/components/skill/index.jsx b/src/components/skill/index.jsx
index 25b1cda..4143375 100644
--- a/src/components/skill/index.jsx
+++ b/src/components/skill/index.jsx
@@ -1,4 +1,4 @@
-import config from '../../ezprofile.config';
+import config from '../../gitprofile.config';
import { skeleton } from '../../helpers/utils';
import PropTypes from 'prop-types';
diff --git a/src/components/theme-changer/index.jsx b/src/components/theme-changer/index.jsx
index d63da27..5805573 100644
--- a/src/components/theme-changer/index.jsx
+++ b/src/components/theme-changer/index.jsx
@@ -1,13 +1,13 @@
import { AiOutlineControl } from 'react-icons/ai';
import { skeleton } from '../../helpers/utils';
-import config from '../../ezprofile.config';
+import config from '../../gitprofile.config';
import PropTypes from 'prop-types';
const ThemeChanger = ({ theme, setTheme, loading }) => {
const changeTheme = (e, selectedTheme) => {
e.preventDefault();
document.querySelector('html').setAttribute('data-theme', selectedTheme);
- localStorage.setItem('ezprofile-theme', selectedTheme);
+ localStorage.setItem('gitprofile-theme', selectedTheme);
setTheme(selectedTheme);
};
diff --git a/src/ezprofile.config.js b/src/gitprofile.config.js
similarity index 100%
rename from src/ezprofile.config.js
rename to src/gitprofile.config.js
diff --git a/src/helpers/utils.jsx b/src/helpers/utils.jsx
index 1d20a58..e426a3f 100644
--- a/src/helpers/utils.jsx
+++ b/src/helpers/utils.jsx
@@ -1,4 +1,4 @@
-import config from '../ezprofile.config';
+import config from '../gitprofile.config';
import colors from '../data/colors.json';
import { hotjar } from 'react-hotjar';
@@ -7,8 +7,8 @@ export const getInitialTheme = () => {
return config.themeConfig.default;
}
- if (!(localStorage.getItem('ezprofile-theme') === null)) {
- let theme = localStorage.getItem('ezprofile-theme');
+ if (!(localStorage.getItem('gitprofile-theme') === null)) {
+ let theme = localStorage.getItem('gitprofile-theme');
return theme;
}
diff --git a/vite.config.js b/vite.config.js
index a2cf2bc..62db4ef 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -3,6 +3,6 @@ import react from '@vitejs/plugin-react';
// https://vitejs.dev/config/
export default defineConfig({
- base: '/ezprofile/',
+ base: '/gitprofile/',
plugins: [react()],
});