Skip to content
Open
Show file tree
Hide file tree
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
146 changes: 136 additions & 10 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"react-dom": "^18.2.0",
"react-router-dom": "^6.9.0",
"react-scripts": "5.0.1",
"styled-components": "^5.3.9",
"stream-http": "^3.2.0",
"url": "^0.11.0",
"web-vitals": "^2.1.4"
Expand Down
49 changes: 44 additions & 5 deletions client/src/components/App.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,54 @@
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300&display=swap');

.button {
position: absolute;
width: 306px;
height: 191px;
/*left: 413px;
top: 1381px; */

background: #FFFFFF;
box-shadow: 0px 15px 40px #A2C3C7;
border-radius: 60px;
}
/* .Link {
font-family: 'Comfortaa';
font-style: normal;
font-weight: 700;
font-size: 40px;
line-height: 45px;
text-align: center;

color: #7FA3C0;
} */

.App {
text-align: center;
font-family: "Courier New", monospace;
font-family: 'Comfortaa', cursive;
background: #D7EDF0;
width: 100%;
height: 100%
}

body {
text-align: center;
font-family: 'Comfortaa', cursive;
background: #D7EDF0;
width: 100%;
height: 100%
}


ul {
list-style-type: none;
}

h1 {
font-weight: normal;
font-weight: bold;
font-size: 42px;
}

.passwords {
/* .passwords {
list-style: none;
padding: 0;
font-size: 32px;
Expand All @@ -18,7 +57,7 @@ h1 {

.more {
font-size: 32px;
font-family: "Courier New", monospace;
font-family: 'Comfortaa', cursive;
border: 2px solid #000;
background-color: #fff;
padding: 10px 25px;
Expand All @@ -28,4 +67,4 @@ h1 {
}
.more:active {
background-color: #FFEFA9;
}
} */
25 changes: 22 additions & 3 deletions client/src/components/Header.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,38 @@
import { Link } from "react-router-dom";
import './App.css';
import styled from 'styled-components';

const Button = styled.button`

width: 100px;
height: 70px;
font-family: 'Comfortaa', cursive;
background: #FFFFFF;
box-shadow: 0px 5px 20px #A2C3C7;
border-radius: 30px;
`

const Layout = () => {
return (
<>
<div className="App">
<h1>Welcome to Geode</h1>
{/* <h1>geode</h1> */}
<nav>

<ul>
<li>
<Link to="/">Home</Link>
<Link to="/">
<Button>
Home
</Button>
</Link>
</li>
<li>
<Link to="/journal">Journal</Link>
<Link to="/journal">
<Button>
Journal
</Button>
</Link>
</li>
{/* <li>
<Link to="/contact">Contact</Link>
Expand Down
8 changes: 5 additions & 3 deletions client/src/components/Journal.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ class Journal extends Component {

return (
<div className="App">
<Header />
<h1>journaling</h1>
{/* header */}
<div>
<h1>Geode Journaling</h1>

<ul>
<li>Made for HooHacks 2023</li>
<li>Madelyn K., Catherine X., Megan K.</li>
</ul>
<h2>Write a journal entry below:</h2><br></br>
<h2>Write your journal entry below:</h2><br></br>
</div>

{ !finished ? (
Expand Down Expand Up @@ -141,7 +141,9 @@ class Journal extends Component {


</div>

)}
<Header />
</div>
);
}
Expand Down
11 changes: 8 additions & 3 deletions client/src/components/Layout.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import { Link } from "react-router-dom";
import './App.css';
import Header from './Header';

const Layout = () => {
return (
<>
<div className="App">
<h1>Welcome to Geode</h1>
<h1>geode</h1>
<div>
<Header />
</div>
{/* <h1>geode</h1>
<nav>
<ul>
<li>
Expand All @@ -17,8 +22,8 @@ const Layout = () => {
{/* <li>
<Link to="/contact">Contact</Link>
</li> */}
</ul>
</nav>
{/* </ul>
</nav> */}

{/* <h2>Welcome to React Router Tutorial</h2>
<nav className="navbar navbar-expand-lg navbar-light bg-light">
Expand Down
Binary file added client/src/fonts/Comfortaa-VariableFont_wght.ttf
Binary file not shown.
Loading