Skip to content
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

added some small styling changes #10

Merged
merged 1 commit into from
Aug 27, 2020
Merged
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
4 changes: 3 additions & 1 deletion src/components/Hint/hint.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
}

.hintBody {
border: 1px solid black;
box-shadow: 0 15px 25px 0 rgba(0, 0, 0, 0.2);
background-color: rgb(241, 243, 146);
color: black;
transform: scale(1.09);
transition: all 0.7s ease;
}
14 changes: 0 additions & 14 deletions src/components/Hint/index.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
//import React, { useState } from "react";
import React from "react";
import "./hint.css";
import Card from "react-bootstrap/Card";

// import { zoomIn } from "react-animations";
// import styled, { keyframes } from "styled-components";

export default function hint(props) {
// const [isShown, setIsShown] = useState(false);
// const Bounce = styled.div`
// animation: 0.7s ${keyframes`${zoomIn}`};
// `;

return (
<div>
{/* <Bounce
onMouseEnter={() => setIsShown(true)}
onMouseLeave={() => setIsShown(false)}
> */}
<Card className="hintCard">
<Card.Body className="hintBody">
<span role="img" aria-label="lightbulb">
Expand All @@ -27,7 +14,6 @@ export default function hint(props) {
Here comes the hint fetched from the backend later
</Card.Body>
</Card>
{/* </Bounce> */}
</div>
);
}
Empty file.
Binary file modified src/images/CodeMonkeyMaster.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/CodeMonkeyMaster2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/pages/Homepage/homepage.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

.hpCard:hover {
box-shadow: 0 15px 25px 0 rgba(0, 0, 0, 0.2);
transform: scale(1.07);
transform: scale(1);
transition: all 0.5s ease;
}

Expand Down
3 changes: 0 additions & 3 deletions src/pages/Homepage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ export default function Homepage() {
setSearchResults(results);
}
}, [searchTerm]);
console.log("test", searchResults);
console.log("search", searchTerm);
console.log("exercises", exercises);

const handleChange = (event) => {
setSearchTerm(event.target.value);
Expand Down
13 changes: 10 additions & 3 deletions src/pages/Welcome/welcome.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
.welcomeHeader {
background: #009973;
background: #018c65;
width: 100%;
height: 20em;
}

.welcomeGif {
display: block;
margin-left: auto;
margin-right: auto;
align-content: center;
width: 70%;

width: 50%;
background: #009973;
}

Expand All @@ -33,3 +34,9 @@
margin: 4px 2px;
border-radius: 8px;
}

.welcomeButton:hover {
box-shadow: 0 15px 25px 0 rgba(0, 0, 0, 0.2);
transform: scale(1.07);
transition: all 0.5s ease;
}