Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

docs(style): landing page + style revisions (#7723)

Adrian Kahaliccb51259f679
diff --git a/docs/docs.json b/docs/docs.json
index 6822b85e96..e0ed15ca6c 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -1,11 +1,11 @@
{
"$schema": "https://mintlify.com/docs.json",
- "theme": "mint",
+ "theme": "aspen",
"name": "Infisical",
"fonts": {
"heading": {
"family": "Alliance",
- "source": "/fonts/AllianceNo2-Regular.woff2",
+ "source": "https://infisical.com/docs/fonts/AllianceNo2-Regular.woff2",
"format": "woff2",
"weight": 400
}
@@ -32,7 +32,7 @@
"navigation": {
"tabs": [
{
- "tab": "Get started",
+ "tab": "Platform",
"groups": [
{
"group": "Getting started",
diff --git a/docs/index.mdx b/docs/index.mdx
index a59a0b89bc..6fbc9f6b2a 100644
--- a/docs/index.mdx
+++ b/docs/index.mdx
@@ -45,7 +45,7 @@ import { HomeHero, HomeButton, HomeSection, HomeGrid, HomeCard, HomeStack, HomeS
<HomeCard
title="Secrets Management"
href="/documentation/platform/secrets-mgmt/overview"
- icon="vault"
+ icon="secrets"
product="secrets"
wide
panel={
@@ -117,7 +117,7 @@ import { HomeHero, HomeButton, HomeSection, HomeGrid, HomeCard, HomeStack, HomeS
<HomeCard
title="Key Management"
href="/documentation/platform/kms/overview"
- icon="key"
+ icon="lock"
product="kms"
links={[
{ label: "Encrypt Kubernetes", href: "/documentation/platform/kms/kubernetes-encryption" },
@@ -130,4 +130,57 @@ import { HomeHero, HomeButton, HomeSection, HomeGrid, HomeCard, HomeStack, HomeS
</HomeGrid>
</HomeSection>
+<HomeSection title="Platform">
+ <HomeGrid cols={2}>
+ <HomeCard
+ title="Self-hosting"
+ href="/self-hosting/overview"
+ icon="server"
+ links={[
+ { label: "System requirements", href: "/self-hosting/configuration/requirements" },
+ { label: "Docker Compose", href: "/self-hosting/deployment-options/docker-compose" },
+ { label: "Kubernetes", href: "/self-hosting/deployment-options/kubernetes-helm" }
+ ]}
+ >
+ Deploy Infisical on your own infrastructure and retain control over your data, network, and deployment topology.
+ </HomeCard>
+ <HomeCard
+ title="Audit Logs"
+ href="/documentation/platform/audit-logs"
+ icon="audit"
+ links={[
+ { label: "Audit log streams", href: "/documentation/platform/audit-log-streams/audit-log-streams" },
+ { label: "Export audit logs", href: "/api-reference/endpoints/audit-logs/export-audit-log" },
+ { label: "ClickHouse storage", href: "/documentation/platform/audit-logs-clickhouse-setup" }
+ ]}
+ >
+ Track access and changes across Infisical, investigate activity, and send events to your security tooling.
+ </HomeCard>
+ <HomeCard
+ title="Security"
+ href="/internals/security"
+ icon="shield"
+ links={[
+ { label: "Cryptography", href: "/internals/security#cryptography" },
+ { label: "Access control", href: "/documentation/platform/access-controls/overview" },
+ { label: "Production hardening", href: "/self-hosting/guides/production-hardening" }
+ ]}
+ >
+ Understand Infisical's threat model, encryption architecture, authentication, and authorization controls.
+ </HomeCard>
+ <HomeCard
+ title="Contributing"
+ href="/contributing/getting-started/overview"
+ icon="code"
+ links={[
+ { label: "Local development", href: "/contributing/platform/developing" },
+ { label: "Pull requests", href: "/contributing/getting-started/pull-requests" },
+ { label: "Code of conduct", href: "/contributing/getting-started/code-of-conduct" }
+ ]}
+ >
+ Set up the Infisical codebase, follow the contribution workflow, and submit changes to the project.
+ </HomeCard>
+ </HomeGrid>
+</HomeSection>
+
</div>
diff --git a/docs/snippets/home.jsx b/docs/snippets/home.jsx
index 7537365b68..b30d681ca8 100644
--- a/docs/snippets/home.jsx
+++ b/docs/snippets/home.jsx
@@ -165,6 +165,30 @@ export const HomeSection = ({ title, children }) => (
</section>
);
+export const HomeRow = ({ items }) => (
+ <div className="ifx-row">
+ {items.map((item) => (
+ <a key={item.href} className="ifx-row__item" href={item.href}>
+ {item.label}
+ <svg
+ className="ifx-row__arrow"
+ width="14"
+ height="14"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ strokeWidth="2"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ aria-hidden="true"
+ >
+ <path d="M5 12h14M13 6l6 6-6 6" />
+ </svg>
+ </a>
+ ))}
+ </div>
+);
+
export const HomeGrid = ({ cols = 3, children }) => (
<div className={`ifx-grid ifx-grid--${cols}`}>{children}</div>
);
@@ -182,38 +206,42 @@ export const HomeCard = ({
// Declared inside the component on purpose: Mintlify evaluates each exported
// component in isolation, so module-scope bindings are not in scope here.
const icons = {
- vault: (
+ secrets: (
<>
- <rect x="3" y="3" width="18" height="18" />
- <circle cx="12" cy="12" r="4" />
- <path d="M12 8V6M12 18v-2M16 12h2M6 12h2" />
+ <path d="M10 12C10 14.2091 8.20914 16 6 16C3.79086 16 2 14.2091 2 12C2 9.79086 3.79086 8 6 8C8.20914 8 10 9.79086 10 12ZM10 12H22V15" />
+ <path d="M18 12V15" />
</>
),
radar: (
<>
- <path d="M19.07 4.93A10 10 0 1 1 6.99 3.34" />
- <path d="M4 12a8 8 0 0 1 8-8" />
- <path d="M13.41 10.59 16.5 7.5" />
+ <path d="M19.07 4.93A10 10 0 0 0 6.99 3.34" />
+ <path d="M4 6h.01" />
+ <path d="M2.29 9.62A10 10 0 1 0 21.31 8.35" />
+ <path d="M16.24 7.76A6 6 0 1 0 8.23 16.67" />
+ <path d="M12 18h.01" />
+ <path d="M17.99 11.66A6 6 0 0 1 15.77 16.67" />
+ <path d="m13.41 10.59 5.66-5.66" />
<circle cx="12" cy="12" r="2" />
</>
),
certificate: (
<>
- <circle cx="12" cy="9" r="6" />
- <path d="M8.5 14.5 7 22l5-3 5 3-1.5-7.5" />
+ <path d="M8.5 11.5L11.5 14.5L16.5 9.5" />
+ <path d="M5 18L3.13036 4.91253C3.05646 4.39524 3.39389 3.91247 3.90398 3.79912L11.5661 2.09641C11.8519 2.03291 12.1481 2.03291 12.4339 2.09641L20.096 3.79912C20.6061 3.91247 20.9435 4.39524 20.8696 4.91252L19 18C18.9293 18.495 18.5 21.5 12 21.5C5.5 21.5 5.07071 18.495 5 18Z" />
</>
),
"user-shield": (
<>
- <path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" />
- <circle cx="12" cy="9.5" r="2.5" />
- <path d="M8.5 16a3.5 3.5 0 0 1 7 0" />
+ <path d="M2 20V19C2 15.134 5.13401 12 9 12V12" />
+ <path d="M15.8038 12.3135C16.4456 11.6088 17.5544 11.6088 18.1962 12.3135C18.5206 12.6697 18.9868 12.8628 19.468 12.8403C20.4201 12.7958 21.2042 13.5799 21.1597 14.532C21.1372 15.0132 21.3303 15.4794 21.6865 15.8038C22.3912 16.4456 22.3912 17.5544 21.6865 18.1962C21.3303 18.5206 21.1372 18.9868 21.1597 19.468C21.2042 20.4201 20.4201 21.2042 19.468 21.1597C18.9868 21.1372 18.5206 21.3303 18.1962 21.6865C17.5544 22.3912 16.4456 22.3912 15.8038 21.6865C15.4794 21.3303 15.0132 21.1372 14.532 21.1597C13.5799 21.2042 12.7958 20.4201 12.8403 19.468C12.8628 18.9868 12.6697 18.5206 12.3135 18.1962C11.6088 17.5544 11.6088 16.4456 12.3135 15.8038C12.6697 15.4794 12.8628 15.0132 12.8403 14.532C12.7958 13.5799 13.5799 12.7958 14.532 12.8403C15.0132 12.8628 15.4794 12.6697 15.8038 12.3135Z" />
+ <path d="M15.3636 17L16.4546 18.0909L18.6364 15.9091" />
+ <path d="M9 12C11.2091 12 13 10.2091 13 8C13 5.79086 11.2091 4 9 4C6.79086 4 5 5.79086 5 8C5 10.2091 6.79086 12 9 12Z" />
</>
),
- key: (
+ lock: (
<>
- <path d="M2.59 17.41A2 2 0 0 0 2 18.83V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.17a2 2 0 0 0 1.41-.59l.82-.81" />
- <circle cx="16.5" cy="7.5" r="5.5" />
+ <rect x="3" y="11" width="18" height="11" rx="2" ry="2" />
+ <path d="M7 11V7a5 5 0 0 1 10 0v4" />
</>
),
terminal: (
@@ -240,6 +268,18 @@ export const HomeCard = ({
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" />
<path d="m9 12 2 2 4-4" />
</>
+ ),
+ audit: (
+ <>
+ <path d="M9 11l3 3L22 4" />
+ <path d="M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11" />
+ </>
+ ),
+ code: (
+ <>
+ <path d="m16 18 6-6-6-6" />
+ <path d="m8 6-6 6 6 6" />
+ </>
)
};
@@ -347,3 +387,75 @@ export const HomeCard = ({
</a>
);
};
+
+export const HomeLinks = ({ items }) => {
+ // Declared inside the component on purpose: Mintlify evaluates each exported
+ // component in isolation, so module-scope bindings are not in scope here.
+ const icons = {
+ server: (
+ <>
+ <rect x="2" y="3" width="20" height="8" />
+ <rect x="2" y="13" width="20" height="8" />
+ <path d="M6 7h.01M6 17h.01" />
+ </>
+ ),
+ code: (
+ <>
+ <path d="m16 18 6-6-6-6" />
+ <path d="m8 6-6 6 6 6" />
+ </>
+ ),
+ shield: (
+ <>
+ <path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" />
+ <path d="m9 12 2 2 4-4" />
+ </>
+ ),
+ key: (
+ <>
+ <path d="M2.59 17.41A2 2 0 0 0 2 18.83V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.17a2 2 0 0 0 1.41-.59l.82-.81" />
+ <circle cx="16.5" cy="7.5" r="5.5" />
+ </>
+ )
+ };
+
+ return (
+ <div className="ifx-links">
+ {items.map((item) => (
+ <a key={item.href} className="ifx-links__item" href={item.href}>
+ <svg
+ className="ifx-links__icon"
+ width="17"
+ height="17"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ strokeWidth="1.5"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ aria-hidden="true"
+ >
+ {icons[item.icon]}
+ </svg>
+ <span className="ifx-links__label">
+ {item.label}
+ <svg
+ className="ifx-links__chevron"
+ width="14"
+ height="14"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ strokeWidth="2"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ aria-hidden="true"
+ >
+ <path d="m9 18 6-6-6-6" />
+ </svg>
+ </span>
+ </a>
+ ))}
+ </div>
+ );
+};
diff --git a/docs/style.css b/docs/style.css
index 8d1cb5f07a..d90032c349 100644
--- a/docs/style.css
+++ b/docs/style.css
@@ -6,60 +6,10 @@
display: none !important;
}
-#navbar .max-w-8xl {
- max-width: 100%;
- border-bottom: 1px solid #f0f0f0;
- background-color: #ffffff;
-}
-
-.max-w-8xl {
- /* background-color: #f5f5f5; */
-}
-
-#sidebar {
- left: 0;
- padding-right: 30px;
- background-color: #ffffff;
- border-right: 1px solid #f0f0f0;
-}
-
-#sidebar-content {
- padding-left: 2rem;
-}
-
-#sidebar .relative .sticky {
- opacity: 0;
-}
-
-#sidebar li > div.mt-2 {
- padding: 5px;
-}
-
#sidebar li > a.text-primary {
background-color: #f7f7f6;
- border-left: 2px solid #dbf530;
- padding: 5px;
-}
-
-#sidebar li > a.mt-2 {
- padding: 5px;
-}
-
-#sidebar li > a.leading-6 {
- padding: 0px;
}
-/* #sidebar ul > div.mt-12 {
- padding-top: 30px;
- position: relative;
-}
-
-#sidebar ul > div.mt-12 h5 {
- position: absolute;
- left: -12px;
- top: -0px;
-} */
-
#header {
border-left: 2px solid #dbf530;
padding-left: 16px;
@@ -106,6 +56,15 @@
margin-top: 2rem;
}
+#content-area h1,
+#content-area h2,
+#content-area h3,
+#content-area h4,
+#content-area h5,
+#content-area h6 {
+ font-weight: 600 !important;
+}
+
#topbar-cta-button .group .absolute {
background-color: black;
}
@@ -144,12 +103,15 @@
background-color: #101114;
}
-.dark #topbar-cta-button .group .absolute {
- background-color: white;
+.dark #topbar-cta-button .group,
+.dark #topbar-cta-button .group .absolute,
+.dark #topbar-cta-button .group .flex {
+ background-color: #ffffff !important;
}
+.dark #topbar-cta-button .group .flex,
.dark #topbar-cta-button .group .flex > * {
- color: #0e1014;
+ color: #0e1014 !important;
}
@media (min-width: 1024px) {
@@ -159,11 +121,6 @@
padding-left: 0 !important;
}
- #content-container {
- width: 100%;
- max-width: 70rem;
- margin-inline: auto;
- }
}
html[data-current-path="/"] #navbar .nav-tabs-item[data-active="true"] {
@@ -195,6 +152,16 @@ html.dark[data-current-path="/"] #navbar .nav-tabs-item[data-active="true"]:hove
background-color: #3f3f3f;
}
+::selection {
+ background-color: #f7fe62;
+ color: #000000;
+}
+
+.dark ::selection {
+ background-color: #f4f73f;
+ color: #000000;
+}
+
#sidebar-content .sidebar-title {
font-weight: inherit;
}
@@ -203,7 +170,7 @@ html.dark[data-current-path="/"] #navbar .nav-tabs-item[data-active="true"]:hove
width: 100%;
max-width: 70rem;
margin-inline: auto;
- padding: 0 1.5rem 6rem;
+ padding: 3rem 1.5rem 6rem;
}
.ifx-home__hero {
@@ -552,6 +519,47 @@ a.ifx-steps__label:hover {
}
}
+.ifx-row {
+ display: grid;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ column-gap: 1.5rem;
+}
+
+.ifx-row__item {
+ display: flex;
+ align-items: center;
+ gap: 0.375rem;
+ padding: 0.375rem 0;
+ font-family: var(--font-family-headings-custom, inherit);
+ font-size: 0.9375rem;
+ color: #101114;
+ text-decoration: none;
+ transition: color 0.2s;
+}
+
+.ifx-row__item:hover {
+ color: #56a600;
+}
+
+.ifx-row__arrow {
+ flex: none;
+ opacity: 0.35;
+ transition: opacity 0.2s, transform 0.2s;
+}
+
+.ifx-row__item:hover .ifx-row__arrow {
+ opacity: 1;
+ transform: translateX(2px);
+}
+
+.dark .ifx-row__item {
+ color: #ebebeb;
+}
+
+.dark .ifx-row__item:hover {
+ color: #9ee067;
+}
+
.ifx-grid {
display: grid;
grid-template-columns: minmax(0, 1fr);
@@ -801,6 +809,10 @@ a.ifx-card__title:hover .ifx-card__chevron {
}
@media (min-width: 640px) {
+ .ifx-row {
+ grid-template-columns: repeat(3, minmax(0, 1fr));
+ }
+
.ifx-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
@@ -811,6 +823,10 @@ a.ifx-card__title:hover .ifx-card__chevron {
}
@media (min-width: 1024px) {
+ .ifx-row {
+ grid-template-columns: repeat(6, minmax(0, 1fr));
+ }
+
.ifx-home {
padding-left: 2rem;
padding-right: 2rem;
@@ -852,3 +868,78 @@ a.ifx-card__title:hover .ifx-card__chevron {
height: 100%;
}
}
+
+.ifx-home__hero-aside {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+}
+
+.ifx-home__hero-aside > .ifx-steps {
+ margin-bottom: 0;
+}
+
+.ifx-links {
+ display: grid;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ column-gap: 1.5rem;
+ margin-top: auto;
+ padding-top: 1.75rem;
+}
+
+.ifx-links__item {
+ display: flex;
+ align-items: center;
+ gap: 0.5rem;
+ padding: 0.375rem 0;
+ text-decoration: none;
+}
+
+.ifx-links__icon {
+ flex: none;
+ width: 18px;
+ height: 18px;
+ color: #6f6f6f;
+ opacity: 0.75;
+ transition: opacity 0.2s;
+}
+
+.ifx-links__item:hover .ifx-links__icon {
+ opacity: 1;
+}
+
+.ifx-links__label {
+ display: flex;
+ align-items: center;
+ gap: 0.375rem;
+ min-width: 0;
+ font-family: var(--font-family-headings-custom, inherit);
+ font-size: 0.9375rem;
+ color: #101114;
+}
+
+.ifx-links__chevron {
+ flex: none;
+ opacity: 0;
+ transform: translateX(-4px);
+ transition: opacity 0.2s, transform 0.2s;
+}
+
+.ifx-links__item:hover .ifx-links__chevron {
+ opacity: 1;
+ transform: translateX(0);
+}
+
+.dark .ifx-links__icon {
+ color: #707174;
+}
+
+.dark .ifx-links__label {
+ color: #ebebeb;
+}
+
+@media (min-width: 1024px) {
+ .ifx-home__hero-aside {
+ align-self: stretch;
+ }
+}