Skip to content

Commit

Permalink
Hot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jedidiah-Solomon committed May 30, 2024
1 parent a05aeb0 commit 985ab80
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 32 deletions.
2 changes: 1 addition & 1 deletion dist/bundle.js

Large diffs are not rendered by default.

10 changes: 1 addition & 9 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 @@ -16,6 +16,7 @@
"@fortawesome/fontawesome-free": "^6.5.2",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"open": "^10.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.23.1",
Expand Down
7 changes: 5 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ app.get("*", (req, res) => {

// Start the server
const PORT = process.env.PORT || 3000;
app.listen(PORT, () => {
console.log(`Server is running on port ${PORT}`);
app.listen(PORT, async () => {
console.log(`Server is running on http://localhost:${PORT}`);
// Dynamically import 'open' and open the browser
const { default: open } = await import("open");
open(`http://localhost:${PORT}`);
});
1 change: 1 addition & 0 deletions src/components/About/About.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
}
.about p {
padding: 0 11px;
max-width: 340px;
}
.stat p {
padding: 0;
Expand Down
14 changes: 4 additions & 10 deletions src/components/Newsletter/Newsletter.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,16 @@
color: #854eeb;
}

.footer-links {
display: flex;
gap: 20px;
margin-bottom: 20px;
}

.footer-links a {
#footer-links {
color: #333;
cursor: pointer;
text-decoration: none;
transition: color 0.3s;
}

.footer-links a:hover {
color: #854eeb;
#footer-links:hover {
color: #726666;
}

.newsletter-form-container {
flex: 1;
text-align: left;
Expand Down
13 changes: 8 additions & 5 deletions src/components/Newsletter/Newsletter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ const Newsletter = () => {
<i className="fab fa-telegram"></i>
</a>
</div>
<div className="footer-links">
<a href="/terms">Terms of Use</a>
<a href="/privacy">Privacy Policy</a>
</div>
</div>
<div className="newsletter-form-container">
<h2>W3GC NEWSLETTER</h2>
Expand Down Expand Up @@ -98,7 +94,14 @@ const Newsletter = () => {
<div className="footer-copyright">
<p>
© {currentYear} W3GC by Web Global Conference LLC. All rights
reserved.
reserved.{" "}
<a id="footer-links" href="/privacy">
Privacy Policy
</a>{" "}
&{" "}
<a id="footer-links" href="/terms">
Terms of Use
</a>
</p>
</div>
</div>
Expand Down
5 changes: 0 additions & 5 deletions src/components/Speakers/Speakers.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ const speakersData = [
image: "/img/Morten_Rongaard.jpg",
},

{
name: "Jerop Joan",
position: "MEMOI, Founder",
image: "/img/Jerop_Joan.jpeg",
},
{
name: "Jerop Joan",
position: "MEMOI, Founder",
Expand Down

0 comments on commit 985ab80

Please sign in to comment.