forked from Doenet/DoenetTools
-
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.
- Loading branch information
1 parent
c9e8fe1
commit ab4c0b8
Showing
16 changed files
with
72 additions
and
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,22 @@ | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Doenet</title> | ||
<link rel="shortcut icon" href="/favicon.ico" /> | ||
<script type="text/javascript" charset="UTF-8" | ||
src="https://cdn.jsdelivr.net/npm/[email protected]/distrib/jsxgraphcore.js"></script> | ||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/[email protected]/distrib/jsxgraph.css" /> | ||
<script src="https://www.youtube.com/iframe_api"></script> | ||
<script type="text/javascript" src="/media/geogebra/scripts/deployggb.js"></script> | ||
<!-- <link rel="stylesheet" type="text/css" href="/src/css/handsontable.full.css" /> --> | ||
<script | ||
type="text/javascript" | ||
charset="UTF-8" | ||
src="https://cdn.jsdelivr.net/npm/[email protected]/distrib/jsxgraphcore.js" | ||
></script> | ||
<link | ||
rel="stylesheet" | ||
type="text/css" | ||
href="https://cdn.jsdelivr.net/npm/[email protected]/distrib/jsxgraph.css" | ||
/> | ||
<script src="https://www.youtube.com/iframe_api"></script> | ||
<script | ||
type="text/javascript" | ||
src="/src/media/geogebra/scripts/deployggb.js" | ||
></script> | ||
<!-- <link rel="stylesheet" type="text/css" href="/src/css/handsontable.full.css" /> --> | ||
|
||
<!-- <link | ||
rel="stylesheet" | ||
|
@@ -22,58 +32,56 @@ | |
font-family: 'Open Sans'; | ||
font-style: normal; | ||
font-weight: 300; | ||
src: | ||
url('../../media/fonts/files/open-sans-v18-latin-light.woff2') format('woff2'), | ||
url('../../media/fonts/files/open-sans-v18-latin-light.woff') format('woff'); | ||
src: url('./fonts/files/open-sans-v18-latin-light.woff2') | ||
format('woff2'), | ||
url('./fonts/files/open-sans-v18-latin-light.woff') format('woff'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Open Sans'; | ||
font-style: italic; | ||
font-weight: 300; | ||
src: | ||
url('../../media/fonts/files/open-sans-v18-latin-light-italic.woff2') format('woff2'), | ||
url('../../media/fonts/files/open-sans-v18-latin-light-italic.woff') format('woff'); | ||
src: url('./fonts/files/open-sans-v18-latin-light-italic.woff2') | ||
format('woff2'), | ||
url('./fonts/files/open-sans-v18-latin-light-italic.woff') | ||
format('woff'); | ||
} | ||
|
||
/* Regular fonts */ | ||
@font-face { | ||
font-family: 'Open Sans'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: | ||
url('../../media/fonts/files/open-sans-v18-latin-regular.woff2') format('woff2'), | ||
url('../../media/fonts/files/open-sans-v18-latin-regular.woff') format('woff'); | ||
src: url('./fonts/files/open-sans-v18-latin-regular.woff2') | ||
format('woff2'), | ||
url('./fonts/files/open-sans-v18-latin-regular.woff') format('woff'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Open Sans'; | ||
font-style: italic; | ||
font-weight: normal; | ||
src: | ||
url('../../media/fonts/files/open-sans-v18-latin-italic.woff2') format('woff2'), | ||
url('../../media/fonts/files/open-sans-v18-latin-italic.woff') format('woff'); | ||
src: url('./fonts/files/open-sans-v18-latin-italic.woff2') | ||
format('woff2'), | ||
url('./fonts/files/open-sans-v18-latin-italic.woff') format('woff'); | ||
} | ||
|
||
/* Bold fonts */ | ||
@font-face { | ||
font-family: 'Open Sans'; | ||
font-style: normal; | ||
font-weight: 700; | ||
src: url('../../media/fonts/files/open-sans-v18-latin-700.woff2') | ||
format('woff2'), | ||
url('../../media/fonts/files/open-sans-v18-latin-700.woff') | ||
format('woff'); | ||
src: url('./fonts/files/open-sans-v18-latin-700.woff2') format('woff2'), | ||
url('./fonts/files/open-sans-v18-latin-700.woff') format('woff'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Open Sans'; | ||
font-style: italic; | ||
font-weight: 700; | ||
src: url('../../media/fonts/files/open-sans-v18-latin-700italic.woff2') | ||
src: url('./fonts/files/open-sans-v18-latin-700italic.woff2') | ||
format('woff2'), | ||
url('../../media/fonts/files/open-sans-v18-latin-700italic.woff') | ||
format('woff'); | ||
url('./fonts/files/open-sans-v18-latin-700italic.woff') format('woff'); | ||
} | ||
html { | ||
font-family: 'Open Sans' !important; | ||
|
@@ -94,15 +102,15 @@ | |
--lightGreen: #a6f19f; | ||
--lightYellow: #f5ed85; | ||
--whiteBlankLink: #6d4445; | ||
--mainYellow: #94610A; | ||
--mainYellow: #94610a; | ||
--mainPurple: #4a03d9; | ||
} | ||
|
||
[data-theme='dark'] { | ||
font-family: 'Open Sans' !important; | ||
--menuWidth: 220px; | ||
--mainBlue: #1a5a99; | ||
--lightBlue: hsl(209,54%,82%); | ||
--lightBlue: hsl(209, 54%, 82%); | ||
--solidLightBlue: #1a5a99; | ||
--mainGray: #a9a9a9; | ||
--donutBody: #eea177; | ||
|
@@ -116,14 +124,14 @@ | |
--canvastext: white; | ||
--lightGreen: #a6f19f; | ||
--lightYellow: #f5ed85; | ||
--whiteBlankLink: #A9ABE5; | ||
--whiteBlankLink: #a9abe5; | ||
--mainYellow: #efab34; | ||
--mainPurple: #4a03d9; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/index.js"></script> | ||
<script type="module" src="/src/index.jsx"></script> | ||
</body> | ||
</html> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
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,34 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; | ||
import { RecoilRoot } from 'recoil'; | ||
|
||
import ToolRoot from './Tools/_framework/NewToolRoot'; | ||
import { MathJaxContext } from 'better-react-mathjax'; | ||
import { mathjaxConfig } from './Core/utils/math'; | ||
import DarkmodeController from './Tools/_framework/DarkmodeController'; | ||
|
||
ReactDOM.render( | ||
<div>hello2</div>, | ||
// <RecoilRoot> | ||
// <Router> | ||
// <Routes> | ||
// <Route | ||
// path="*" | ||
// element={ | ||
// <DarkmodeController> | ||
// <MathJaxContext | ||
// version={2} | ||
// config={mathjaxConfig} | ||
// onStartup={(mathJax) => (mathJax.Hub.processSectionDelay = 0)} | ||
// > | ||
// <ToolRoot /> | ||
// </MathJaxContext> | ||
// </DarkmodeController> | ||
// } | ||
// /> | ||
// </Routes> | ||
// </Router> | ||
// </RecoilRoot>, | ||
document.getElementById('root'), | ||
); |