Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
innovatixhub authored Nov 26, 2024
1 parent 51e6ddf commit 97419e4
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/componants/footer/copyright-test/CopyRightsText.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { useTranslation } from "react-i18next";
import s from "./CopyRightsText.module.scss";

const CopyRightsText = () => {
const developerProfile = "https://www.linkedin.com/in/moamal-alaa-a4bb15237/";
const designerProfile = "https://dribbble.com/mdrimel15";
const copyRightTrans = "footer.copyRightsText";
const { t } = useTranslation();

return (
<p className={s.copyRights}>
<span>{t(`${copyRightTrans}.designedBy`)}</span>
<a href={designerProfile} target="_blank">
Rimel
</a>

<span>{t(`${copyRightTrans}.codedBy`)}</span>
<a href={developerProfile} target="_blank">
Moamal Alaa
</a>
</p>
);
};
export default CopyRightsText;
39 changes: 39 additions & 0 deletions src/componants/footer/copyright-test/CopyRightsText.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
@import "src/Styles/mixins";

.copyRights {
width: fit-content;
margin: 0 auto;
line-height: 24px;
}

@include small {
.copyRights {
font-size: .9rem;
}
}

@media (max-width: 342px) {
.copyRights {
align-items: flex-start;
}
}

.copyRights>span {
color: #F9F9F999;
}

.copyRights>a {
outline: none;
text-decoration: underline;
color: #F9F9F999;
margin: 0 4px;

&:hover,
&:focus-visible {
color: var(--white);
}
}

.copyRights>*::selection {
background-color: var(--white) !important;
}

0 comments on commit 97419e4

Please sign in to comment.