Skip to content

Commit 2eb9579

Browse files
fix: cert instructions (#317)
* fix: update the cert install steps - Add some extra clarity about the uniqueness of the CA cert - List the simpler CLI method first for macOS - Clarify version differences for Keychain Access behavior - Correct the Linux steps (VS Code uses nssdb, not the system certs) * fix: update the cert install steps - Add some extra clarity about the uniqueness of the CA cert - List the simpler CLI method first for macOS - Clarify version differences for Keychain Access behavior - Correct the Linux steps (VS Code uses nssdb, not the system certs) * feat: use markdown for certificate instructions * Merge branch 'main' of github.com:stacklok/codegate-ui into fix-cert-instructions * tidy up certificate documentation markdown * chore: tidy ups * fix tests --------- Co-authored-by: Dan Barr <[email protected]>
1 parent d09ba34 commit 2eb9579

18 files changed

+744
-882
lines changed

package-lock.json

+212
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
"typescript": "~5.7.2",
9999
"typescript-eslint": "^8.15.0",
100100
"vite": "^6.0.1",
101+
"vite-plugin-markdown": "^2.2.0",
101102
"vite-tsconfig-paths": "^5.1.4",
102103
"vitest": "^3.0.5",
103104
"vitest-fail-on-console": "^0.7.1"

src/components/Markdown.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,13 @@ function Code({
122122
const markdownStyles = tv({
123123
base: [
124124
'prose',
125+
'prose-sm prose-code:text-sm',
125126
'prose-h1:mb-2 prose-h1:text-lg prose-h1:font-semibold',
126127
'prose-h2:mb-2 prose-h2:text-lg prose-h2:font-semibold',
127128
'prose-h3:mb-2 prose-h3:text-lg prose-h3:font-semibold',
128129
'prose-h4:mb-2 prose-h4:text-lg prose-h4:font-semibold',
129130
'prose-h5:mb-2 prose-h5:text-lg prose-h5:font-semibold',
130131
'prose-h6:mb-2 prose-h6:text-lg prose-h6:font-semibold',
131-
'prose-p:text-base',
132132
'prose max-w-none prose-p:leading-relaxed',
133133
'[--tw-prose-pre-code:theme(textColor.secondary)]',
134134
'[--tw-prose-pre-bg:theme(colors.gray.200)]',

src/components/heading.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function PageHeading({
1313
return (
1414
<UIKitHeading
1515
level={level}
16-
className="mb-4 flex items-center justify-between text-2xl font-bold"
16+
className="mb-4 flex items-center justify-between text-2xl font-bold text-primary"
1717
>
1818
{title}
1919
{children}

src/components/page-container.tsx

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
import { ReactNode } from 'react'
2+
import { twMerge } from 'tailwind-merge'
23

3-
export function PageContainer({ children }: { children: ReactNode }) {
4+
export function PageContainer({
5+
children,
6+
className,
7+
}: {
8+
children: ReactNode
9+
className?: string
10+
}) {
411
return (
5-
<section className="mx-auto max-w-[1440px] flex-col p-6">
12+
<section
13+
className={twMerge('mx-auto max-w-[1440px] flex-col p-6', className)}
14+
>
615
{children}
716
</section>
817
)

0 commit comments

Comments
 (0)