{children}
- - ); -} diff --git a/packages/ui/src/code.tsx b/packages/ui/src/code.tsx deleted file mode 100644 index 769d9711..00000000 --- a/packages/ui/src/code.tsx +++ /dev/null @@ -1,9 +0,0 @@ -export function Code({ - children, - className, -}: { - children: React.ReactNode; - className?: string; -}): JSX.Element { - return{children};
-}
diff --git a/packages/ui/src/index.ts b/packages/ui/src/index.ts
new file mode 100644
index 00000000..4ff4d92c
--- /dev/null
+++ b/packages/ui/src/index.ts
@@ -0,0 +1 @@
+export * from "./nav-progress"
\ No newline at end of file
diff --git a/packages/ui/src/nav-progress/index.tsx b/packages/ui/src/nav-progress/index.tsx
new file mode 100644
index 00000000..8bf19acb
--- /dev/null
+++ b/packages/ui/src/nav-progress/index.tsx
@@ -0,0 +1,43 @@
+import { component$, useStyles$, useVisibleTask$ } from '@builder.io/qwik'
+import { useLocation } from '@builder.io/qwik-city'
+import type { NProgressOptions } from 'nprogress'
+import nProgress from 'nprogress'
+import nProgressStyles from 'nprogress/nprogress.css?inline'
+import nPrStyles from './npr.css?inline'
+
+interface Props {
+ options?: Partial