Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit 8baaf22

Browse files
committed
added image icon and styling
1 parent 2dffc93 commit 8baaf22

File tree

3 files changed

+51
-2
lines changed

3 files changed

+51
-2
lines changed

docs/docs/transformers/introduction.mdx

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,46 @@ slug: /transformers/introduction
77

88
import { DocPageHeader } from '@site/src/CustomComponents/DocPageHeader.tsx';
99

10+
import { CustomCardList } from '@site/src/CustomComponents/CustomCardList';
11+
12+
import { IoBuildOutline } from 'react-icons/io5';
13+
14+
import { GoCode } from 'react-icons/go';
15+
16+
import { DocsImage } from '@site/src/CustomComponents/DocsImage';
17+
1018
<DocPageHeader title="Transformers" />
1119

1220
## Introduction
1321

14-
Transformers are data-type specific modules that anonymize or generate data. Tranformers are defined in the job workflow and are applied to every piece of data in the column they are assigned. Neosync ships with a number of transformers already built that handle common data types such as email, physical addresses, ssn, strings, integers and more. You can also create your own custom transformers using a regular expression or by writing javascript code.
22+
Transformers are data-type specific modules that anonymize or generate data. Tranformers are defined in the job workflow and are applied to every piece of data in the column they are assigned. Neosync ships with a number of transformers that are already built to handle common data types such as email, addresses, ssn, strings, integers and more.
23+
24+
<DocsImage />
25+
26+
## Transformer Types
27+
28+
There are two types of transformers:
29+
30+
1. **System Transformers** : Pre-built and configured transformers that automatically come with Neosync out of the box. These cannot be deleted but they can be cloned.
31+
2. **Custom Transformers** : System transformers that have been cloned, re-configured and renamed. These transformers can be edited and deleted.
32+
33+
## Transformers
34+
35+
You can browse our list of system transformers which come out of the box or you can see how to create you own custom transformer.
1536

16-
## More coming soon!
37+
<CustomCardList
38+
cards={[
39+
{
40+
title: 'System Transformers',
41+
description: 'Pre-built transformers that are ready to use',
42+
link: '/transformers/system/email',
43+
icon: <IoBuildOutline />,
44+
},
45+
{
46+
title: 'Custom Transformers',
47+
description: 'Define your own transformers',
48+
link: '/transformers/custom',
49+
icon: <GoCode />,
50+
},
51+
]}
52+
/>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import React, { ReactElement } from 'react';
2+
3+
export function DocsImage(): ReactElement {
4+
return (
5+
<div className="docsImage">
6+
<img src="https://assets.nucleuscloud.com/neosync/docs/transformers-page.png" />
7+
</div>
8+
);
9+
}

docs/src/css/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,8 @@ this is the class for the sidebar categories that section headers
140140
.pagination-nav__sublabel {
141141
@apply text-xs;
142142
}
143+
144+
.docsImage {
145+
@apply border border-gray-300 shadow-lg rounded-lg overflow-hidden;
146+
}
143147
}

0 commit comments

Comments
 (0)