Skip to content

Commit 2274a66

Browse files
authored
Merge pull request #262 from javaistic/dev
Update Progress Bar
2 parents 558f971 + 7c7db32 commit 2274a66

File tree

5 files changed

+817
-1124
lines changed

5 files changed

+817
-1124
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"> 1%"
2121
],
2222
"dependencies": {
23-
"@badrap/bar-of-progress": "^0.2.1",
2423
"@docsearch/react": "^1.0.0-alpha.28",
2524
"@formspree/react": "^2.2.5",
2625
"@headlessui/react": "^1.6.4",
@@ -36,6 +35,7 @@
3635
"@svgr/webpack": "^5.5.0",
3736
"@tailwindcss/jit": "^0.1.18",
3837
"@tailwindcss/typography": "^0.4.1",
38+
"@uiuxarghya/progress-bar": "^0.1.0",
3939
"autoprefixer": "^10.4.7",
4040
"babel-plugin-preval": "^5.1.0",
4141
"clsx": "^1.1.1",

src/css/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*! purgecss start ignore */
44
@import 'docsearch.css';
55
@import 'prism.css';
6-
@import 'bar-of-progress.css';
6+
@import 'progress-bar.css';
77
/*! purgecss end ignore */
88

99
@import 'tailwindcss/components';

src/css/bar-of-progress.css renamed to src/css/progress-bar.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.bar-of-progress::after {
1+
.progress-bar::after {
22
content: '';
33
display: block;
44
position: absolute;

src/pages/_app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Header } from '@/components/Header'
22
import { Title } from '@/components/Title'
33
import twitterLargeCard from '@/img/twitter-large-card.png'
4-
import ProgressBar from '@badrap/bar-of-progress'
4+
import ProgressBar from '@uiuxarghya/progress-bar'
55
import { ResizeObserver } from '@juggle/resize-observer'
66
import 'focus-visible'
77
import 'intersection-observer'
@@ -20,7 +20,7 @@ if (typeof window !== 'undefined' && !('ResizeObserver' in window)) {
2020
const progress = new ProgressBar({
2121
size: 2,
2222
color: '#3B82F6',
23-
className: 'bar-of-progress',
23+
className: 'progress-bar',
2424
delay: 100,
2525
})
2626

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy