-
-
+
+
## Technologies Used
+- NextJS
- ReactJS
-- AntD UI framework
+- Tailwind CSS
- Auth0
- Nginx
- Docker
@@ -38,28 +38,28 @@ Auth0 so far is the only 3rd party dependency that can't be really self-hosted.
1. Install [Docker](https://docs.docker.com/get-docker/)
2. Register [Auth0](https://auth0.com/) account
-3. Running Wiretrustee UI Dashboard requires the following Auth0 environmental variables to be set (see docker command below):
+3. Running NetBird UI Dashboard requires the following Auth0 environmental variables to be set (see docker command below):
`AUTH0_DOMAIN` `AUTH0_CLIENT_ID` `AUTH0_AUDIENCE`
To obtain these, please use [Auth0 React SDK Guide](https://auth0.com/docs/quickstart/spa/react/01-login#configure-auth0) up until "Configure Allowed Web Origins"
-4. Wiretrustee UI Dashboard uses Wiretrustee Management Service HTTP API, so setting `NETBIRD_MGMT_API_ENDPOINT` is required. Most likely it will be `http://localhost:33071` if you are hosting Management API on the same server.
+4. NetBird UI Dashboard uses NetBirds Management Service HTTP API, so setting `NETBIRD_MGMT_API_ENDPOINT` is required. Most likely it will be `http://localhost:33071` if you are hosting Management API on the same server.
5. Run docker container without SSL (Let's Encrypt):
```shell
- docker run -d --name wiretrustee-dashboard \
+ docker run -d --name netbird-dashboard \
--rm -p 80:80 -p 443:443 \
-e AUTH0_DOMAIN=
+ {children}
+
+
+ {children}
+
+ );
+}
+Code.Comment = CodeComment;
+
+function CodeLine({ children }: Props) {
+ return {children};
+}
+
+Code.Line = CodeLine;
diff --git a/src/components/Command.tsx b/src/components/Command.tsx
new file mode 100644
index 0000000..2f544c5
--- /dev/null
+++ b/src/components/Command.tsx
@@ -0,0 +1,155 @@
+"use client";
+
+import { Dialog, DialogContent } from "@components/Dialog";
+import { DialogProps } from "@radix-ui/react-dialog";
+import { cn } from "@utils/helpers";
+import { Command as CommandPrimitive } from "cmdk";
+import { Search } from "lucide-react";
+import * as React from "react";
+
+const Command = React.forwardRef<
+ React.ElementRef+ {children} +
+ ); +} diff --git a/src/components/InlineLink.tsx b/src/components/InlineLink.tsx new file mode 100644 index 0000000..08fcf2e --- /dev/null +++ b/src/components/InlineLink.tsx @@ -0,0 +1,36 @@ +import { cn } from "@utils/helpers"; +import { cva, VariantProps } from "class-variance-authority"; +import Link, { LinkProps } from "next/link"; +import React from "react"; + +export type InlineLinkProps = VariantProps+ Upload your service account key (.json) +
++ + Click to upload + {" "} + or drag and drop your file here +
+