-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Update architecture diagrams (#620)
- Loading branch information
Showing
11 changed files
with
41 additions
and
21 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
packages/internal/docs/docs/shared/components/ImgThemed.component.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,14 @@ | ||
import React from 'react'; | ||
import { useColorMode } from '@docusaurus/theme-common'; | ||
|
||
interface ImgThemedProps extends React.ImgHTMLAttributes<HTMLImageElement> { | ||
srcDark: string; | ||
} | ||
|
||
const ImgThemed = ({ srcDark, ...props }: ImgThemedProps) => { | ||
const { colorMode } = useColorMode(); | ||
|
||
return <img {...props} src={colorMode === 'dark' ? srcDark : props.src} />; | ||
}; | ||
|
||
export default ImgThemed; |
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
3 changes: 2 additions & 1 deletion
3
packages/internal/docs/docs/shared/partials/architecture/_system_architecture.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 |
---|---|---|
@@ -1,9 +1,10 @@ | ||
import useBaseUrl from "@docusaurus/useBaseUrl"; | ||
import ImgThemed from '../../components/ImgThemed.component'; | ||
|
||
## System architecture diagram | ||
|
||
The following diagram illustrates the standard set of AWS services used and configured for every application environment. | ||
|
||
<p align="center"> | ||
<img src={useBaseUrl("img/system-diagram-v1.png")} alt="System Diagram" /> | ||
<ImgThemed srcDark={useBaseUrl("img/system-diagram-v4-dark.png")} src={useBaseUrl("img/system-diagram-v4.png")} alt="System Diagram" /> | ||
</p> |
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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.