Skip to content

Commit

Permalink
add box to header
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahsonder committed Aug 12, 2024
1 parent c564312 commit 3611462
Showing 1 changed file with 34 additions and 25 deletions.
59 changes: 34 additions & 25 deletions demo/src/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,41 @@ import { Box, Link, Typography } from "@mui/material";

export default function Header() {
return (
<Box sx={{ mb: "1rem" }}>
<Typography
variant="h4"
sx={{ fontWeight: "650", color: "black", mb: "0.25rem" }}
>
MemoryViz Demo
</Typography>
<Typography variant="body2">
Demos of the{" "}
<Link
href="https://github.com/david-yz-liu/memory-viz"
target="_blank"
rel="noopener noreferrer"
<Box
sx={{
display: "flex",
justifyContent: "space-between",
mb: "1rem",
}}
>
<Box>
<Typography
variant="h4"
sx={{ fontWeight: "650", color: "black", mb: "0.25rem" }}
>
MemoryViz
</Link>{" "}
Javascript library for visualizing Python memory. Click{" "}
<Link
href="https://www.cs.toronto.edu/~david/memory-viz/docs/api/"
target="_blank"
rel="noopener noreferrer"
>
here
</Link>{" "}
for documentation.
</Typography>
MemoryViz Demo
</Typography>
<Typography variant="body2">
Demos of the{" "}
<Link
href="https://github.com/david-yz-liu/memory-viz"
target="_blank"
rel="noopener noreferrer"
>
MemoryViz
</Link>{" "}
Javascript library for visualizing Python memory. Click{" "}
<Link
href="https://www.cs.toronto.edu/~david/memory-viz/docs/api/"
target="_blank"
rel="noopener noreferrer"
>
here
</Link>{" "}
for documentation.
</Typography>
</Box>
<Box sx={{ width: "30%", border: "2px solid blue" }}></Box>
</Box>
);
}

0 comments on commit 3611462

Please sign in to comment.