diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index 6089a70..697e5cc 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -26,7 +26,7 @@ const config: Config = { "classic", { docs: { - routeBasePath: "/", + routeBasePath: "/docs", sidebarPath: "./sidebars.ts", editUrl: "https://github.com/pocket-id/pocket-id/edit/main/docs", }, diff --git a/docs/package-lock.json b/docs/package-lock.json index 35d87b0..45ea304 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -4605,7 +4605,6 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/@tailwindcss/postcss/-/postcss-4.0.3.tgz", "integrity": "sha512-qUyxuhuI2eTgRJ+qfCQRAr69Cw7BdSz+PoNFUNoRuhPjikNC8+sxK+Mi/chaXAXewjv/zbf6if6z6ItVLh+e9Q==", - "license": "MIT", "dependencies": { "@alloc/quick-lru": "^5.2.0", "@tailwindcss/node": "^4.0.3", diff --git a/docs/src/components/feature-box.tsx b/docs/src/components/feature-box.tsx new file mode 100644 index 0000000..39683b0 --- /dev/null +++ b/docs/src/components/feature-box.tsx @@ -0,0 +1,41 @@ +export default function FeatureBox({ + title, + description, + imgSrc, + imgLeft = true, +}: { + title: string; + description: string; + imgSrc: string; + imgLeft?: boolean; +}) { + return ( +
+ {imgLeft ? ( + <> + Feature Image +
+

{title}

+

{description}

+
+ + ) : ( + <> +
+

{title}

+

{description}

+
+ Feature Image + + )} +
+ ); +} diff --git a/docs/src/pages/index.tsx b/docs/src/pages/index.tsx index 7a103c4..87dec12 100644 --- a/docs/src/pages/index.tsx +++ b/docs/src/pages/index.tsx @@ -1,5 +1,103 @@ -import { Redirect } from "react-router-dom"; - -export default function Home() { - return ; -} +import "@fortawesome/fontawesome-free/css/all.min.css"; +import React from "react"; +import FeatureBox from "../components/feature-box"; +import "/styles.css"; + +const Home: React.FC = () => { + return ( +
+
+
+
+
+ Pocket ID Logo +

+ Pocket ID +

+
+ + + +
+
+
+ +
+
+
+

+ Secure Your Services with OIDC +

+

+ Pocket ID is a simple and easy-to-use OIDC provider that allows + users to authenticate with their passkeys to your services. +

+ + Get Started + +
+ Pocket ID Logo +
+ +
+

Features

+
+ + + + +
+ +

And much more...

+
+
+ +
+

+ © 2025 Pocket ID +

+
+
+ ); +}; + +export default Home; diff --git a/docs/src/pages/start.tsx b/docs/src/pages/start.tsx deleted file mode 100644 index d2b88b9..0000000 --- a/docs/src/pages/start.tsx +++ /dev/null @@ -1,58 +0,0 @@ -import React from "react"; // Font Awesome// Ensure Tailwind is imported in your global styles -import "/styles.css"; -import "@fortawesome/fontawesome-free/css/all.min.css"; - -const Home: React.FC = () => { - return ( -
-
-
-
-
- Pocket ID Logo -

Pocket ID

-
- - - -
-
-
- -
-
- Pocket ID Logo -

Secure Your Services

-

A simple, open-source OIDC provider leveraging passkeys for secure authentication.

- - Get Started - -
- -
-

Features

-
-
-

Passwordless Authentication

-

Leverages passkeys for a seamless and secure login experience.

-
-
-

User-Friendly

-

Easy-to-use interface for seamless experience.

-
-
-

Open Source

-

Completely open-source for transparency and trust.

-
-
-
-
- -
-

© 2025 Pocket ID.

-
-
- ); -}; - -export default Home; diff --git a/docs/static/img/landing/allowed-usergroups-screenshot.png b/docs/static/img/landing/allowed-usergroups-screenshot.png new file mode 100644 index 0000000..7b51610 Binary files /dev/null and b/docs/static/img/landing/allowed-usergroups-screenshot.png differ diff --git a/docs/static/img/landing/audit-log-screenshot.png b/docs/static/img/landing/audit-log-screenshot.png new file mode 100644 index 0000000..a86be47 Binary files /dev/null and b/docs/static/img/landing/audit-log-screenshot.png differ diff --git a/docs/static/img/landing/authorize-screenshot.png b/docs/static/img/landing/authorize-screenshot.png new file mode 100644 index 0000000..b344472 Binary files /dev/null and b/docs/static/img/landing/authorize-screenshot.png differ diff --git a/docs/static/img/landing/ldap-screenshot.png b/docs/static/img/landing/ldap-screenshot.png new file mode 100644 index 0000000..9b22ea7 Binary files /dev/null and b/docs/static/img/landing/ldap-screenshot.png differ diff --git a/docs/static/img/landing/passkey-auth-screenshot.png b/docs/static/img/landing/passkey-auth-screenshot.png new file mode 100644 index 0000000..55ae21a Binary files /dev/null and b/docs/static/img/landing/passkey-auth-screenshot.png differ diff --git a/docs/static/styles.css b/docs/static/styles.css index 8b62f01..60633cb 100644 --- a/docs/static/styles.css +++ b/docs/static/styles.css @@ -1,10 +1,11 @@ -@import "tailwindcss"; +@layer theme, base, components, utilities; -@config '../tailwind.config.js'; +@import "tailwindcss/theme.css" layer(theme); +@import "tailwindcss/utilities.css" layer(utilities); .glass { - background: #09090B; - backdrop-filter: blur(10px); - border-radius: 10px; - border: 1px solid rgba(255, 255, 255, 0.2); -} \ No newline at end of file + background: #09090b; + backdrop-filter: blur(10px); + border-radius: 10px; + border: 1px solid rgba(255, 255, 255, 0.2); +} diff --git a/docs/tailwind.config.js b/docs/tailwind.config.js deleted file mode 100644 index 21a8bd1..0000000 --- a/docs/tailwind.config.js +++ /dev/null @@ -1,12 +0,0 @@ -module.exports = { - content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"], - purge: [], - darkMode: false, // or 'media' or 'class' - theme: { - extend: {}, - }, - variants: { - extend: {}, - }, - plugins: [], -}