-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial documentation page and some fixes.
- Loading branch information
Showing
8 changed files
with
52 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta http-equiv="Content-Security-Policy" content="script-src 'self';" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
|
||
<title>Brillo-8 Documentation</title> | ||
|
||
<link href="styles/index.css" rel="stylesheet" /> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script src="./scripts/documentation.tsx" type="module"></script> | ||
</body> | ||
</html> |
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,18 @@ | ||
"use client"; | ||
|
||
import * as ReactDOMClient from "react-dom/client"; | ||
import React from "react"; | ||
import Docs from "./pages/docs"; | ||
|
||
import "bootstrap/dist/js/bootstrap.bundle"; | ||
import "../../node_modules/bootswatch/dist/darkly/bootstrap.min.css"; | ||
|
||
let appRoot: ReactDOMClient.Root | null = null; | ||
let docRoot: HTMLElement | null = document.getElementById('root'); | ||
|
||
if(docRoot != null) { | ||
appRoot = ReactDOMClient.createRoot(docRoot); | ||
appRoot.render(<Docs />); | ||
} | ||
|
||
export default appRoot; |
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,10 @@ | ||
import React from "react"; | ||
import NavigationBar from "../components/navigationbar"; | ||
|
||
export default class Docs extends React.Component { | ||
render() { | ||
return ( | ||
<NavigationBar currentPage="docs" /> | ||
); | ||
} | ||
} |
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