-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui): add getting started page (#69)
- Loading branch information
1 parent
bb6ab9a
commit 616d8db
Showing
18 changed files
with
1,217 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import DefaultPage from './destinations/page'; | ||
import DefaultPage from './getting-started/default'; | ||
|
||
export default DefaultPage; |
12 changes: 12 additions & 0 deletions
12
apps/engine/src/app/app/@connections/getting-started/default.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import DefaultPage from './page'; | ||
import DefaultLayout from './layout'; | ||
|
||
const Page = () => { | ||
return ( | ||
<DefaultLayout> | ||
<DefaultPage /> | ||
</DefaultLayout> | ||
); | ||
}; | ||
|
||
export default Page; |
7 changes: 7 additions & 0 deletions
7
apps/engine/src/app/app/@connections/getting-started/layout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export default function MdxLayout({ children }: { children: React.ReactNode }) { | ||
return ( | ||
<div className="prose prose-headings:mt-8 prose-headings:font-semibold prose-headings:text-black prose-h1:text-5xl prose-h2:text-4xl prose-h3:text-3xl prose-h4:text-2xl prose-h5:text-xl prose-h6:text-lg"> | ||
{children} | ||
</div> | ||
); | ||
} |
8 changes: 8 additions & 0 deletions
8
apps/engine/src/app/app/@connections/getting-started/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import Quickstart from './quickstart/page.mdx'; | ||
import { getMetadata } from '@/lib/metadata'; | ||
|
||
export const metadata = getMetadata({ title: 'Outputs' }); | ||
|
||
export default function Page() { | ||
return <Quickstart />; | ||
} |
18 changes: 18 additions & 0 deletions
18
apps/engine/src/app/app/@connections/getting-started/quickstart/page.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Quickstart | ||
|
||
Start connecting your tools | ||
|
||
## Getting Started | ||
|
||
Welcome! Follow the instructions below to learn how to connect, transform and push your Figma Variables to GitHub. | ||
|
||
### Step 1: Connect your Source | ||
|
||
1. Install the Figma Widget and connect your DS Pro account. | ||
2. Select the project - `Default Project` is the only option available. | ||
|
||
### Step 2: Connect your Destination | ||
|
||
1. Connect GitHub to your account or organization. | ||
2. Select the repositories that DS Pro should have access to. | ||
3. Configure the GitHub repository under Settings after the connection has been established. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { Text } from '@ds-project/components'; | ||
import type { MDXComponents } from 'mdx/types'; | ||
|
||
export function useMDXComponents(components: MDXComponents): MDXComponents { | ||
return { | ||
...components, | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.