Skip to content

Commit

Permalink
Add some new documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
codytodonnell committed Dec 8, 2023
1 parent fe6aa70 commit bc3c6b0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<img width="500" alt="strudel-logo-cropped" src="https://github.com/lbl-ux/strudel/assets/420923/87cb4bd1-8c8d-4dfb-924f-f96f84017f2d">

[Website (under construction!)](https://lbl-ux.github.io/strudel/)
[Website (under construction!)](https://strudel.science/strudel-web)

# Scientific sofTware Research for User experience, Design, Engagement, and Learning (STRUDEL)

Expand Down
5 changes: 3 additions & 2 deletions gatsby-browser.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import './src/styles/global.css';
import React from "react";
import { NavigationProvider } from "./src/context/NavigationProvider";
import { GatsbyBrowser } from 'gatsby';

/**
* Wrap the gatsby app in a NavigationProvider so that any component
* in the app can consume this context state.
*/
export const wrapRootElement = ({ element }) => (
export const wrapRootElement: GatsbyBrowser['wrapRootElement'] = ({ element }) => (
<NavigationProvider>{element}</NavigationProvider>
)
);
3 changes: 1 addition & 2 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as React from 'react';
import { StaticImage } from 'gatsby-plugin-image';
import { AppBar, Box, Container, Grid, Stack, Toolbar, Typography } from '@mui/material';
import { PropsWithChildren } from 'react';
import { AppBar, Box, Toolbar } from '@mui/material';
import { Link, graphql, useStaticQuery } from 'gatsby';
import { StrudelPage } from '../types/strudel-config';
import { useLocation } from '@gatsbyjs/reach-router';
Expand Down
5 changes: 5 additions & 0 deletions src/gatsby-theme-material-ui-top-layout/theme.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { Theme, createTheme } from "@mui/material";

/**
* Material UI custom theme object.
* This is where the color palette and default
* component styles and props can be defined.
*/
const theme: Theme = createTheme({
palette: {
primary: {
Expand Down

0 comments on commit bc3c6b0

Please sign in to comment.