-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1821 from dxc-technology/rarrojolopez-badge-doc
Added Badge documentation
- Loading branch information
Showing
18 changed files
with
675 additions
and
77 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,21 @@ | ||
import Head from "next/head"; | ||
import type { ReactElement } from "react"; | ||
import BadgePageLayout from "../../../screens/components/badge/BadgePageLayout"; | ||
import BadgeCodePage from "../../../screens/components/badge/code/BadgeCodePage"; | ||
|
||
const Index = () => { | ||
return ( | ||
<> | ||
<Head> | ||
<title>Usage — Halstack Design System</title> | ||
</Head> | ||
<BadgeCodePage></BadgeCodePage> | ||
</> | ||
); | ||
}; | ||
|
||
Index.getLayout = function getLayout(page: ReactElement) { | ||
return <BadgePageLayout>{page}</BadgePageLayout>; | ||
}; | ||
|
||
export default Index; |
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,21 @@ | ||
import Head from "next/head"; | ||
import type { ReactElement } from "react"; | ||
import BadgePageLayout from "../../../screens/components/badge/BadgePageLayout"; | ||
import BadgeSpecsPage from "../../../screens/components/badge/specs/BadgeSpecsPage"; | ||
|
||
const Specifications = () => { | ||
return ( | ||
<> | ||
<Head> | ||
<title>Badge Specs — Halstack Design System</title> | ||
</Head> | ||
<BadgeSpecsPage></BadgeSpecsPage> | ||
</> | ||
); | ||
}; | ||
|
||
Specifications.getLayout = function getLayout(page: ReactElement) { | ||
return <BadgePageLayout>{page}</BadgePageLayout>; | ||
}; | ||
|
||
export default Specifications; |
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,21 @@ | ||
import Head from "next/head"; | ||
import type { ReactElement } from "react"; | ||
import BadgePageLayout from "screens/components/badge/BadgePageLayout"; | ||
import BadgeUsagePage from "screens/components/badge/usage/BadgeUsagePage"; | ||
|
||
const Usage = () => { | ||
return ( | ||
<> | ||
<Head> | ||
<title>Badge Usage — Halstack Design System</title> | ||
</Head> | ||
<BadgeUsagePage></BadgeUsagePage> | ||
</> | ||
); | ||
}; | ||
|
||
Usage.getLayout = function getLayout(page: ReactElement) { | ||
return <BadgePageLayout>{page}</BadgePageLayout>; | ||
}; | ||
|
||
export default Usage; |
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.