Skip to content

Commit

Permalink
feat: update links
Browse files Browse the repository at this point in the history
  • Loading branch information
moerabaya committed Mar 21, 2024
1 parent ef50500 commit ea76a82
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 4 deletions.
12 changes: 11 additions & 1 deletion components/organisms/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,17 @@ const Footer = React.forwardRef<HTMLDivElement>((props, ref) => {
</div>
</div>
<Row>
<Col>©{new Date().getFullYear()} moerabaya.com</Col>
<Col sm={6} className="!p-2">
<Link
className={`px-4 py-2 bg-neutral-200 hover:bg-neutral-900 hover:text-neutral-50 dark:bg-neutral-900 dark:hover:bg-neutral-800 rounded-2xl text-base inline-block transition ease-in-out hover:rounded-full`}
href={"mohammed-rabaya.pdf"}
>
{getLocalizedString("footer", "downloadResume")}
</Link>
</Col>
<Col sm={6} className="flex items-center justify-end !p-2">
©{new Date().getFullYear()} moerabaya.com
</Col>
</Row>
</div>
</StyledFooter>
Expand Down
18 changes: 18 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,24 @@ const nextConfig = {
"https://coursera.org/share/1ebf02b39984eab2802e74286134250a",
permanent: false,
},
{
source: "/product-resume-2022.pdf",
destination:
"/mohammed-rabaya.pdf",
permanent: false,
},
{
source: "/engineering-resume-2022.pdf",
destination:
"/mohammed-rabaya.pdf",
permanent: false,
},
{
source: "/design-resume-2022.pdf",
destination:
"/mohammed-rabaya.pdf",
permanent: false,
},
];
},
webpack(config) {
Expand Down
2 changes: 1 addition & 1 deletion pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const About: NextPage<Props> = ({ projects }: Props) => {
<AnimatedView delay={1.25} className="inline-block">
<Link
className={`px-4 py-2 bg-neutral-200 hover:bg-neutral-900 hover:text-neutral-50 dark:bg-neutral-900 dark:hover:bg-neutral-800 rounded-2xl text-base inline-block ml-auto mt-2 transition ease-in-out hover:rounded-full`}
href={"engineering-resume-2022.pdf"}
href={"mohammed-rabaya.pdf"}
>
{getLocalizedString("about", "download-resume")}
</Link>
Expand Down
Binary file removed public/design-resume-2022.pdf
Binary file not shown.
Binary file removed public/engineering-resume-2022.pdf
Binary file not shown.
Binary file added public/mohammed-rabaya.pdf
Binary file not shown.
Binary file removed public/product-resume-2022.pdf
Binary file not shown.
3 changes: 2 additions & 1 deletion utils/languages/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"twitter": "تويتر",
"linkedin": "لينكدان",
"dribbble": "دريبببل",
"behance": "بيهانس"
"behance": "بيهانس",
"downloadResume": "حمل السيرة الذاتية"
},
"404": {
"title": "404 - لا يمكن العثور على الصفحة"
Expand Down
3 changes: 2 additions & 1 deletion utils/languages/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"twitter": "Twitter",
"linkedin": "LinkedIn",
"dribbble": "Dribbble",
"behance": "Behance"
"behance": "Behance",
"downloadResume": "Download Résumé"
},
"404": {
"title": "404 - Oh no's! We couldn't find that page"
Expand Down

0 comments on commit ea76a82

Please sign in to comment.