mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 04:17:13 +00:00
Add skeleton loader in footer
This commit is contained in:
@@ -18,6 +18,7 @@ import {
|
|||||||
setupHotjar,
|
setupHotjar,
|
||||||
tooManyRequestError,
|
tooManyRequestError,
|
||||||
sanitizeConfig,
|
sanitizeConfig,
|
||||||
|
skeleton,
|
||||||
} from '../helpers/utils';
|
} from '../helpers/utils';
|
||||||
import { HelmetProvider } from 'react-helmet-async';
|
import { HelmetProvider } from 'react-helmet-async';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
@@ -208,10 +209,15 @@ const GitProfile = ({ config }) => {
|
|||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<p className="font-mono text-sm">
|
{loading ? (
|
||||||
Made with{' '}
|
skeleton({ width: 'w-52', height: 'h-6' })
|
||||||
<span className="text-primary">GitProfile</span> and ❤️
|
) : (
|
||||||
</p>
|
<p className="font-mono text-sm">
|
||||||
|
Made with{' '}
|
||||||
|
<span className="text-primary">GitProfile</span> and
|
||||||
|
❤️
|
||||||
|
</p>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user