Grabbed dndbeyond's source code
``` ~/go/bin/sourcemapper -output ddb -jsurl https://media.dndbeyond.com/character-app/static/js/main.90aa78c5.js ```
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
import { visuallyHidden } from "@mui/utils";
|
||||
import { FC } from "react";
|
||||
|
||||
import { useCharacterEngine } from "~/hooks/useCharacterEngine";
|
||||
|
||||
import SubsectionTablet from "../../../components/SubsectionTablet";
|
||||
import TabletBox from "../../../components/TabletBox";
|
||||
import Description from "../../Description";
|
||||
|
||||
export const DescriptionTablet: FC = () => {
|
||||
const { characterTheme } = useCharacterEngine();
|
||||
|
||||
return (
|
||||
<SubsectionTablet>
|
||||
<TabletBox
|
||||
header={"Background"}
|
||||
className="ct-description-tablet"
|
||||
theme={characterTheme}
|
||||
>
|
||||
<section>
|
||||
<h2 style={visuallyHidden}>Background</h2>
|
||||
<Description theme={characterTheme} />
|
||||
</section>
|
||||
</TabletBox>
|
||||
</SubsectionTablet>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user