Skip to content

Commit

Permalink
add option to hide docusaurus tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
conceptualshark authored Aug 28, 2024
1 parent 6088194 commit 52548f2
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Let’s look at a case where `orderValue` is present and was set as a string, bu

To advance the instance to our XOR gateway, we’ll create a job worker to complete the `Initiate Payment` task:

<Tabs groupId="OS" defaultValue="linux" values={
<Tabs groupId="OS" className="tabs-hidden" defaultValue="linux" values={
[
{label: 'Linux', value: 'linux', },
{label: 'macOS', value: 'macos', },
Expand Down Expand Up @@ -84,7 +84,7 @@ To advance the instance to our XOR gateway, we’ll create a job worker to compl

We’ll publish a message that will be correlated with the instance, so we can advance past the `Payment Received` intermediate message catch event:

<Tabs groupId="OS" defaultValue="linux" values={
<Tabs groupId="OS" className="tabs-hidden" defaultValue="linux" values={
[
{label: 'Linux', value: 'linux', },
{label: 'macOS', value: 'macos', },
Expand Down
6 changes: 6 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -481,3 +481,9 @@ span.callout + p::after {
.hero--primary {
background-image: url("/static/img/hero-bg.png");
}

/* hide tabs when needed */

.tabs-hidden {
display: none;
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Let’s look at a case where `orderValue` is present and was set as a string, bu

To advance the instance to our XOR gateway, we’ll create a job worker to complete the `Initiate Payment` task:

<Tabs groupId="OS" defaultValue="linux" values={
<Tabs groupId="OS" className="tabs-hidden" defaultValue="linux" values={
[
{label: 'Linux', value: 'linux', },
{label: 'macOS', value: 'macos', },
Expand Down Expand Up @@ -84,7 +84,7 @@ To advance the instance to our XOR gateway, we’ll create a job worker to compl

We’ll publish a message that will be correlated with the instance, so we can advance past the `Payment Received` intermediate message catch event:

<Tabs groupId="OS" defaultValue="linux" values={
<Tabs groupId="OS" className="tabs-hidden" defaultValue="linux" values={
[
{label: 'Linux', value: 'linux', },
{label: 'macOS', value: 'macos', },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Let’s look at a case where `orderValue` is present and was set as a string, bu

To advance the instance to our XOR gateway, we’ll create a job worker to complete the `Initiate Payment` task:

<Tabs groupId="OS" defaultValue="linux" values={
<Tabs groupId="OS" className="tabs-hidden" defaultValue="linux" values={
[
{label: 'Linux', value: 'linux', },
{label: 'macOS', value: 'macos', },
Expand Down Expand Up @@ -84,7 +84,7 @@ To advance the instance to our XOR gateway, we’ll create a job worker to compl

We’ll publish a message that will be correlated with the instance, so we can advance past the `Payment Received` intermediate message catch event:

<Tabs groupId="OS" defaultValue="linux" values={
<Tabs groupId="OS" className="tabs-hidden" defaultValue="linux" values={
[
{label: 'Linux', value: 'linux', },
{label: 'macOS', value: 'macos', },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Let’s look at a case where `orderValue` is present and was set as a string, bu

To advance the instance to our XOR gateway, we’ll create a job worker to complete the `Initiate Payment` task:

<Tabs groupId="OS" defaultValue="linux" values={
<Tabs groupId="OS" className="tabs-hidden" defaultValue="linux" values={
[
{label: 'Linux', value: 'linux', },
{label: 'macOS', value: 'macos', },
Expand Down Expand Up @@ -84,7 +84,7 @@ To advance the instance to our XOR gateway, we’ll create a job worker to compl

We’ll publish a message that will be correlated with the instance, so we can advance past the `Payment Received` intermediate message catch event:

<Tabs groupId="OS" defaultValue="linux" values={
<Tabs groupId="OS" className="tabs-hidden" defaultValue="linux" values={
[
{label: 'Linux', value: 'linux', },
{label: 'macOS', value: 'macos', },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Let’s look at a case where `orderValue` is present and was set as a string, bu

To advance the instance to our XOR gateway, we’ll create a job worker to complete the `Initiate Payment` task:

<Tabs groupId="OS" defaultValue="linux" values={
<Tabs groupId="OS" className="tabs-hidden" defaultValue="linux" values={
[
{label: 'Linux', value: 'linux', },
{label: 'macOS', value: 'macos', },
Expand Down Expand Up @@ -84,7 +84,7 @@ To advance the instance to our XOR gateway, we’ll create a job worker to compl

We’ll publish a message that will be correlated with the instance, so we can advance past the `Payment Received` intermediate message catch event:

<Tabs groupId="OS" defaultValue="linux" values={
<Tabs groupId="OS" className="tabs-hidden" defaultValue="linux" values={
[
{label: 'Linux', value: 'linux', },
{label: 'macOS', value: 'macos', },
Expand Down

0 comments on commit 52548f2

Please sign in to comment.