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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fixed functioning of contact us button in footer #1140

Merged
merged 6 commits into from
Oct 26, 2023
Merged
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
2 changes: 1 addition & 1 deletion src/assets/data/ApiEndpoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const API = import.meta.env.VITE_MILANAPI;
const userEndpoints = {
bySlug: (slug) => `${API}/user?slug=${slug}`,
update: `${API}/user/update`,
report: `${API}/user/userreport`,
report: `${API}/user/report`,
};

const clubEndpoints = {
Expand Down
2 changes: 0 additions & 2 deletions src/components/Banners/Milaninfobanner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ const Milaninfobanner = () => {
AOS.refresh();
}, []);

console.log("WTF is wrong bro");

return (
<div className="container mib_mainparent">
<div className="mib_collab_parent">
Expand Down
8 changes: 5 additions & 3 deletions src/components/Footer/Footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,20 @@
}

.reportModalHeader > h1 {
font-family: Montserrat, sans-serif;
color: #4e4e4e;
font-family: "Inter";
tamalCodes marked this conversation as resolved.
Show resolved Hide resolved
color: #28183b;
font-size: 1.5rem;
font-weight: 600;
}

.reportModal > h2 {
color: #4e4e4e;
font-family: "Poppins";
tamalCodes marked this conversation as resolved.
Show resolved Hide resolved
color: #28183b;
font-size: 0.9rem;
}

#reportForm {
font-family: "Poppins";
tamalCodes marked this conversation as resolved.
Show resolved Hide resolved
padding: 0;
}

Expand Down
4 changes: 2 additions & 2 deletions src/components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ const Footer = () => {
aria-label="Follow me on Twitter"
target="_blank"
>
<FaSquareXTwitter className="twitter-icon"/>
<FaSquareXTwitter className="twitter-icon" />
</a>
</div>
<div className="github social-btn">
Expand All @@ -322,7 +322,7 @@ const Footer = () => {
aria-label="Follow me on Github"
target="_blank"
>
<FaGithub className="github-icon"/>
<FaGithub className="github-icon" />
</a>
</div>
</div>
Expand Down
8 changes: 3 additions & 5 deletions src/components/Modal/Modal.jsx
tamalCodes marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React from "react";
import { createPortal } from "react-dom";
import style from "./Modal.module.css";

const Modal = ({ children, onClose, className = "" }) => {
return createPortal(
const Modal = ({ children, onClose, className }) => {
return (
<div className={style.overlay}>
<div className={`${style.modal} ${className}`}>
<button
Expand All @@ -14,8 +13,7 @@ const Modal = ({ children, onClose, className = "" }) => {
></button>
{children}
</div>
</div>,
document.getElementById("modal"),
</div>
);
};

Expand Down
Loading