chore(build): try to build demo and docs (#3434)

This commit is contained in:
Alireza authored and GitHub committed 2023-06-06 13:34:26 -04:00
1 parent 869b8ced05
commit 828690cd3b
329 files changed
+1896 -1010

No files matched your search

@@ -43,7 +43,7 @@ const Row = ({ title, value, link }) => {
);
};
const AboutModal = ({ buildNumber, versionNumber }) => {
const AboutModal = ({ buildNumber, versionNumber, commitHash }) => {
const { os, version, name } = detect();
const browser = `${name[0].toUpperCase()}${name.substr(1)} ${version}`;
@@ -80,16 +80,17 @@ const AboutModal = ({ buildNumber, versionNumber }) => {
<div className="flex flex-col">
<Row
title="Repository URL"
value="https://github.com/OHIF/Viewers/tree/v3-stable"
link="https://github.com/OHIF/Viewers/tree/v3-stable"
value="https://github.com/OHIF/Viewers/"
link="https://github.com/OHIF/Viewers/"
/>
{/* <Row
title="Last Master Commits"
value="https://github.com/OHIF/Viewers/tree/v3-stable"
link="https://github.com/OHIF/Viewers/tree/v3-stable"
value="https://github.com/OHIF/Viewers/"
link="https://github.com/OHIF/Viewers/"
/> */}
<Row title="Version number" value={versionNumber} />
<Row title="Build number" value={buildNumber} />
{buildNumber && <Row title="Build number" value={buildNumber} />}
{commitHash && <Row title="Commit Hash" value={commitHash} />}
<Row title="Browser" value={browser} />
<Row title="OS" value={os} />
</div>
@@ -8,7 +8,7 @@ export const Footer = ({ componentRelativePath }) => {
additional usecases, please send us a pull request. Edit this page on{' '}
<a
className="text-blue-400"
href={`https://github.com/OHIF/Viewers/edit/v3-stable/platform/ui/src/components/${componentRelativePath}`}
href={`https://github.com/OHIF/Viewers/edit/master/platform/ui/src/components/${componentRelativePath}`}
>
Github
</a>
@@ -32,7 +32,7 @@ export const Heading = ({ title, componentRelativePath }) => {
{componentRelativePath && (
<div>
<a
href={`https://github.com/OHIF/Viewers/blob/v3-stable/platform/ui/src/components/${componentRelativePath}`}
href={`https://github.com/OHIF/Viewers/blob/master/platform/ui/src/components/${componentRelativePath}`}
className="text-sm font-normal text-blue-600"
target="_blank"
rel="noopener noreferrer"