Skip to content

Commit

Permalink
removes use of frontsdktab - older component
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Aug 5, 2024
1 parent 85f4f27 commit 5a52ac6
Show file tree
Hide file tree
Showing 31 changed files with 1 addition and 221 deletions.
55 changes: 1 addition & 54 deletions v2/change_me/more-info/tabs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import BackendSDKTabs from "/src/components/tabs/BackendSDKTabs";
import NodeJSFrameworkSubTabs from "/src/components/tabs/NodeJSFrameworkSubTabs"
import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"


<Tabs
Expand Down Expand Up @@ -127,56 +126,4 @@ function someNodeJSCodeForHapi2() {
</TabItem>
</NodeJSFrameworkSubTabs>
</TabItem>
</BackendSDKTabs>


<FrontendSDKTabs>
<TabItem value="reactjs">

1. This is an ordered list before the code snippet
2. This is some text before the code snippet

```tsx
function someReactCode() {
let a = 1;
callFunc(a);
}
```

</TabItem>

<TabItem value="angular">

1. This is an ordered list before the code snippet
2. This is some text before the code snippet

```tsx
function someReactCode() {
let a = 1;
callFunc(a);
}
```

</TabItem>

<TabItem value="vanillajs">

- This is a list before the code snippet
- second item in the list before teh code snippet

This is some text

- Another list after the text
- some nested content
- nested content second item
- second item

```tsx
function someVanillaJSCode() {
let a = 1;
callFunc(a);
}
```

</TabItem>
</FrontendSDKTabs>
</BackendSDKTabs>
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {PreBuiltOrCustomUISwitcher, PreBuiltUIContent, CustomUIContent} from "/s
import FrontendCustomUITabs from "/src/components/tabs/FrontendCustomUITabs"
import {Question, Answer}from "/src/components/question"
import BackendSDKTabs from "/src/components/tabs/BackendSDKTabs";
import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs";
import FrontendPreBuiltUITabs from "/src/components/tabs/FrontendPreBuiltUITabs";
import TabItem from "@theme/TabItem";
import NpmOrScriptTabs from "/src/components/tabs/NpmOrScriptTabs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import NodeJSFrameworkSubTabs from "/src/components/tabs/NodeJSFrameworkSubTabs"
import GoFrameworkSubTabs from "/src/components/tabs/GoFrameworkSubTabs"
import PythonFrameworkSubTabs from "/src/components/tabs/PythonFrameworkSubTabs";
import TabItem from '@theme/TabItem';
import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"
import FrontendReactContextSubTabs from "/src/components/tabs/FrontendReactContextSubTabs"
import NpmOrScriptTabs from "/src/components/tabs/NpmOrScriptTabs"
import AngularUIImplementation from "/src/components/reusableSnippets/angularUIImplementation"
Expand Down
2 changes: 0 additions & 2 deletions v2/emailpassword/common-customizations/get-user-info.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ title: Get User info
hide_title: true
---

import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"

<!-- COPY SECTION -->
<!-- ./thirdpartyemailpassword/common-customizations/get-user-info.mdx -->
<!-- -1 -->
Expand Down
1 change: 0 additions & 1 deletion v2/emailpassword/user-roles/protecting-routes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import NodeJSFrameworkSubTabs from "/src/components/tabs/NodeJSFrameworkSubTabs"
import GoFrameworkSubTabs from "/src/components/tabs/GoFrameworkSubTabs"
import PythonFrameworkSubTabs from "/src/components/tabs/PythonFrameworkSubTabs";
import TabItem from '@theme/TabItem';
import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"
import FrontendReactContextSubTabs from "/src/components/tabs/FrontendReactContextSubTabs"
import NpmOrScriptTabs from "/src/components/tabs/NpmOrScriptTabs"
import {PreBuiltOrCustomUISwitcher, PreBuiltUIContent, CustomUIContent} from "/src/components/preBuiltOrCustomUISwitcher"
Expand Down
1 change: 0 additions & 1 deletion v2/mfa/legacy-method/pre-built-ui/init.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ title: "1) Recipe init"
hide_title: true
---

import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"
import TabItem from '@theme/TabItem';
import AppInfoForm from "/src/components/appInfoForm"

Expand Down
1 change: 0 additions & 1 deletion v2/mfa/legacy-method/pre-built-ui/protecting-routes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ title: "3) Protecting routes"
hide_title: true
---

import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"
import TabItem from '@theme/TabItem';
import AppInfoForm from "/src/components/appInfoForm"

Expand Down
1 change: 0 additions & 1 deletion v2/mfa/legacy-method/pre-built-ui/showing-login-ui.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ title: "2) Showing the first and second factor UI"
hide_title: true
---

import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"
import TabItem from '@theme/TabItem';
import AppInfoForm from "/src/components/appInfoForm"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {PreBuiltOrCustomUISwitcher, PreBuiltUIContent, CustomUIContent} from "/s
import FrontendCustomUITabs from "/src/components/tabs/FrontendCustomUITabs"
import {Question, Answer}from "/src/components/question"
import BackendSDKTabs from "/src/components/tabs/BackendSDKTabs";
import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs";
import FrontendPreBuiltUITabs from "/src/components/tabs/FrontendPreBuiltUITabs";
import TabItem from "@theme/TabItem";
import NpmOrScriptTabs from "/src/components/tabs/NpmOrScriptTabs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import NodeJSFrameworkSubTabs from "/src/components/tabs/NodeJSFrameworkSubTabs"
import GoFrameworkSubTabs from "/src/components/tabs/GoFrameworkSubTabs"
import PythonFrameworkSubTabs from "/src/components/tabs/PythonFrameworkSubTabs";
import TabItem from '@theme/TabItem';
import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"
import FrontendReactContextSubTabs from "/src/components/tabs/FrontendReactContextSubTabs"
import NpmOrScriptTabs from "/src/components/tabs/NpmOrScriptTabs"
import AngularUIImplementation from "/src/components/reusableSnippets/angularUIImplementation"
Expand Down
1 change: 0 additions & 1 deletion v2/passwordless/common-customizations/get-user-info.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ title: Get User info
hide_title: true
---

import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"
import { Answer } from "/src/components/question"

<!-- COPY SECTION -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ hide_title: true
show_ui_switcher: true
---

import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"
import BackendSDKTabs from "/src/components/tabs/BackendSDKTabs"
import TabItem from '@theme/TabItem';
import {PreBuiltOrCustomUISwitcher, PreBuiltUIContent, CustomUIContent} from "/src/components/preBuiltOrCustomUISwitcher"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ hide_title: true
<!-- ./passwordless/common-customizations/sign-in-and-up/change-otp-format.mdx -->

import BackendSDKTabs from "/src/components/tabs/BackendSDKTabs";
import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"
import TabItem from '@theme/TabItem';

# Changing OTP format
Expand Down
1 change: 0 additions & 1 deletion v2/passwordless/user-roles/protecting-routes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import NodeJSFrameworkSubTabs from "/src/components/tabs/NodeJSFrameworkSubTabs"
import GoFrameworkSubTabs from "/src/components/tabs/GoFrameworkSubTabs"
import PythonFrameworkSubTabs from "/src/components/tabs/PythonFrameworkSubTabs";
import TabItem from '@theme/TabItem';
import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"
import FrontendReactContextSubTabs from "/src/components/tabs/FrontendReactContextSubTabs"
import NpmOrScriptTabs from "/src/components/tabs/NpmOrScriptTabs"
import {PreBuiltOrCustomUISwitcher, PreBuiltUIContent, CustomUIContent} from "/src/components/preBuiltOrCustomUISwitcher"
Expand Down
136 changes: 0 additions & 136 deletions v2/src/components/tabs/FrontendSDKTabs.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {PreBuiltOrCustomUISwitcher, PreBuiltUIContent, CustomUIContent} from "/s
import FrontendCustomUITabs from "/src/components/tabs/FrontendCustomUITabs"
import {Question, Answer}from "/src/components/question"
import BackendSDKTabs from "/src/components/tabs/BackendSDKTabs";
import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs";
import FrontendPreBuiltUITabs from "/src/components/tabs/FrontendPreBuiltUITabs";
import TabItem from "@theme/TabItem";
import NpmOrScriptTabs from "/src/components/tabs/NpmOrScriptTabs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import NodeJSFrameworkSubTabs from "/src/components/tabs/NodeJSFrameworkSubTabs"
import GoFrameworkSubTabs from "/src/components/tabs/GoFrameworkSubTabs"
import PythonFrameworkSubTabs from "/src/components/tabs/PythonFrameworkSubTabs";
import TabItem from '@theme/TabItem';
import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"
import FrontendReactContextSubTabs from "/src/components/tabs/FrontendReactContextSubTabs"
import NpmOrScriptTabs from "/src/components/tabs/NpmOrScriptTabs"
import AngularUIImplementation from "/src/components/reusableSnippets/angularUIImplementation"
Expand Down
1 change: 0 additions & 1 deletion v2/thirdparty/common-customizations/get-user-info.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ title: Get User info
hide_title: true
---

import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"

<!-- COPY SECTION -->
<!-- ./thirdpartyemailpassword/common-customizations/get-user-info.mdx -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ show_ui_switcher: true
<!-- ./thirdparty/common-customizations/sign-in-and-up/custom-providers.mdx -->

import {PreBuiltOrCustomUISwitcher, PreBuiltUIContent, CustomUIContent} from "/src/components/preBuiltOrCustomUISwitcher"
import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"
import BackendSDKTabs from "/src/components/tabs/BackendSDKTabs"
import TabItem from '@theme/TabItem';
import FrontendPreBuiltUITabs from "/src/components/tabs/FrontendPreBuiltUITabs"
Expand Down
1 change: 0 additions & 1 deletion v2/thirdparty/user-roles/protecting-routes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import NodeJSFrameworkSubTabs from "/src/components/tabs/NodeJSFrameworkSubTabs"
import GoFrameworkSubTabs from "/src/components/tabs/GoFrameworkSubTabs"
import PythonFrameworkSubTabs from "/src/components/tabs/PythonFrameworkSubTabs";
import TabItem from '@theme/TabItem';
import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"
import FrontendReactContextSubTabs from "/src/components/tabs/FrontendReactContextSubTabs"
import NpmOrScriptTabs from "/src/components/tabs/NpmOrScriptTabs"
import {PreBuiltOrCustomUISwitcher, PreBuiltUIContent, CustomUIContent} from "/src/components/preBuiltOrCustomUISwitcher"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {PreBuiltOrCustomUISwitcher, PreBuiltUIContent, CustomUIContent} from "/s
import FrontendCustomUITabs from "/src/components/tabs/FrontendCustomUITabs"
import {Question, Answer}from "/src/components/question"
import BackendSDKTabs from "/src/components/tabs/BackendSDKTabs";
import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs";
import FrontendPreBuiltUITabs from "/src/components/tabs/FrontendPreBuiltUITabs";
import TabItem from "@theme/TabItem";
import NpmOrScriptTabs from "/src/components/tabs/NpmOrScriptTabs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import NodeJSFrameworkSubTabs from "/src/components/tabs/NodeJSFrameworkSubTabs"
import GoFrameworkSubTabs from "/src/components/tabs/GoFrameworkSubTabs"
import PythonFrameworkSubTabs from "/src/components/tabs/PythonFrameworkSubTabs";
import TabItem from '@theme/TabItem';
import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"
import FrontendReactContextSubTabs from "/src/components/tabs/FrontendReactContextSubTabs"
import NpmOrScriptTabs from "/src/components/tabs/NpmOrScriptTabs"
import AngularUIImplementation from "/src/components/reusableSnippets/angularUIImplementation"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ title: Get User info
hide_title: true
---

import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"

<!-- COPY SECTION -->
<!-- ./thirdpartyemailpassword/common-customizations/get-user-info.mdx -->
<!-- -1 -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ show_ui_switcher: true
<!-- ./thirdparty/common-customizations/sign-in-and-up/custom-providers.mdx -->

import {PreBuiltOrCustomUISwitcher, PreBuiltUIContent, CustomUIContent} from "/src/components/preBuiltOrCustomUISwitcher"
import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"
import BackendSDKTabs from "/src/components/tabs/BackendSDKTabs"
import TabItem from '@theme/TabItem';
import FrontendPreBuiltUITabs from "/src/components/tabs/FrontendPreBuiltUITabs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import NodeJSFrameworkSubTabs from "/src/components/tabs/NodeJSFrameworkSubTabs"
import GoFrameworkSubTabs from "/src/components/tabs/GoFrameworkSubTabs"
import PythonFrameworkSubTabs from "/src/components/tabs/PythonFrameworkSubTabs";
import TabItem from '@theme/TabItem';
import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs"
import FrontendReactContextSubTabs from "/src/components/tabs/FrontendReactContextSubTabs"
import NpmOrScriptTabs from "/src/components/tabs/NpmOrScriptTabs"
import {PreBuiltOrCustomUISwitcher, PreBuiltUIContent, CustomUIContent} from "/src/components/preBuiltOrCustomUISwitcher"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {PreBuiltOrCustomUISwitcher, PreBuiltUIContent, CustomUIContent} from "/s
import FrontendCustomUITabs from "/src/components/tabs/FrontendCustomUITabs"
import {Question, Answer}from "/src/components/question"
import BackendSDKTabs from "/src/components/tabs/BackendSDKTabs";
import FrontendSDKTabs from "/src/components/tabs/FrontendSDKTabs";
import FrontendPreBuiltUITabs from "/src/components/tabs/FrontendPreBuiltUITabs";
import TabItem from "@theme/TabItem";
import NpmOrScriptTabs from "/src/components/tabs/NpmOrScriptTabs"
Expand Down
Loading

0 comments on commit 5a52ac6

Please sign in to comment.