Skip to content

[Site] Fix Local Development Setup #977

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 27, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/Makefile
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ setup:

## Run site on your local machine. Alternate method.
site:
gatsby develop
npm start

## Build site on your local machine.
build:
1 change: 1 addition & 0 deletions site/gatsby-browser.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from "react";
import { ThemeProvider } from './src/components/Theme';
import './src/styles/global.css';
import React from "react";
1 change: 1 addition & 0 deletions site/src/components/Footer/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from "react";

const Footer = () => {
return (
<div className="ml-[17.5rem] pt-[5rem]">
3 changes: 1 addition & 2 deletions site/src/components/Navigation/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useContext } from 'react';
import React from "react";
import React, { useContext } from "react";
import Search from '../../assets/images/Search.svg';
import SearchDark from '../../assets/images/SearchDark.svg';
import Weather from '../../assets/images/Weather.svg';
3 changes: 1 addition & 2 deletions site/src/components/Sidebar/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react";
import { useState } from 'react';
import React, { useState } from 'react';
import { Link } from 'react-router-dom';
import ChevronLightUp from '../../assets/images/Chevron-light-up.svg';
import Chevron from '../../assets/images/Chevron-light.svg';
1 change: 1 addition & 0 deletions site/src/pages/home/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from "react";

const Home = () => {
return <div className="text-center text-bold">Home</div>;
};
3 changes: 1 addition & 2 deletions site/src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react';
import { useContext } from 'react';
import React, { useContext } from "react";
import { Navigate, Route, BrowserRouter as Router, Routes } from 'react-router-dom';
import Footer from '../components/Footer';
import Navbar from '../components/Navigation';