Skip to content

Commit 418a48c

Browse files
committed
Fix navigation colors and typo
1 parent 368718a commit 418a48c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/docs/document-insertion/page.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,9 @@ The result of this POST request is either an updated branch with a successful ap
497497

498498
## Version control commit id feedback
499499

500-
When a commit is made, the `Terminusdb-Data-Version` header is returned, which is the reference to the commit made in the [version history](/docs/immutability-explanation). This header can be used to retrieve the exact copy of the document from the specific version in the immutable history.
500+
When a commit is made, the `TerminusDB-Data-Version` header is returned, which is the reference to the commit made in the [version history](/docs/immutability-explanation). This header can be used to retrieve the exact copy of the document from the specific version in the immutable history.
501501

502-
To get the specific version, use the branchspec `org/dataproduct/local/commit/:commitId` where `:commitId` is the value of the right hand side of the colon separated value in the `Terminusdb-Data-Version` header.
502+
To get the specific version, use the branchspec `org/dataproduct/local/commit/:commitId` where `:commitId` is the value of the right hand side of the colon separated value in the `TerminusDB-Data-Version` header.
503503

504504
## Further Reading
505505

src/components/Navigation.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function SubNavigationMap({
130130
'block w-full pl-3.5 before:pointer-events-none before:absolute before:top-1/2 before:-left-1 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full',
131131

132132
isActive
133-
? 'font-semibold text-sky-500 before:bg-sky-500'
133+
? 'font-semibold dark:text-sky-300 text-sky-700 before:bg-sky-500'
134134
: 'text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300',
135135
)}
136136
>
@@ -155,7 +155,7 @@ function SubNavigationMap({
155155
}}
156156
>
157157
<h2 className="font-display font-medium">
158-
{link.title}
158+
<span className={clsx(isOpen ? "text-sky-700 dark:text-sky-300 font-bold" : "text-slate-900 dark:text-white")}>{link.title}</span>
159159
{/* Indicator based on selected style */}
160160
{indicatorStyle === 'plusMinus' && (
161161
<span className="ml-2 h-5 w-5 rounded-sm text-sm font-medium text-sky-600 transition-colors dark:text-sky-400">

0 commit comments

Comments
 (0)