Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
30 changes: 30 additions & 0 deletions 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"node-sass": "^4.14.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-particles-js": "^3.3.0",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.3"
},
Expand Down
11 changes: 9 additions & 2 deletions src/pages/home.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
.body {
background-color: #2b2d42;
background-color: white;
}

.slogan {
color: #8d99ae;
color: #2b2d42;
font-size: x-large;
padding-bottom: 5px;
}

#particles-js {
height: 100%;
background-color: white;
}

#title {
Expand Down
21 changes: 21 additions & 0 deletions src/pages/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from "react";
import "./home.css";
import logo from "./img/logo-img.png";
import { Link } from "react-router-dom";
import Particles from "react-particles-js";

export default function Home() {
return (
Expand All @@ -25,6 +26,26 @@ export default function Home() {
</Link>
</div>
</div>
<Particles

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The particles look fine. Could you reduce their density and make them the background of the hero?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I can reduce the density, and I will figure out how to make it the background as well.

params={{
particles: {
line_linked: {
color: "#ef233c",
},
number: {
value: 200,
density: {
enable: true,
value_area: 1000,
},
},
},
}}
style={{
width: "100%",
background: "#fff",
}}
/>
</section>
</>
);
Expand Down