Skip to content

Commit

Permalink
add bottom image
Browse files Browse the repository at this point in the history
  • Loading branch information
thedaviddias committed Jun 10, 2023
1 parent 306e6a6 commit 01524b6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion public/rss/feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>The David Dias | Front-End Developer, podcaster &amp; content creator</title>
<link>https://thedaviddias.dev</link>
<description>Hey, I'm David Dias! Front-End Developer based in Toronto/Canada. I love talking about code, technology, expatriation and life.</description>
<lastBuildDate>Sat, 10 Jun 2023 17:47:04 GMT</lastBuildDate>
<lastBuildDate>Sat, 10 Jun 2023 18:41:32 GMT</lastBuildDate>
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
<generator>https://github.com/jpmonette/feed</generator>
<language>en</language>
Expand Down
2 changes: 1 addition & 1 deletion public/rss/fr/feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>The David Dias | Développeur Front-End, podcasteur &amp; créateur de contenu</title>
<link>https://thedaviddias.dev</link>
<description>Salut toi! Je m'appele David Dias. Je suis développeur Front-End, podcasteur, créateur de contenu numérique passioné pour résoudre les problèmes digitaux et humains! J'aime rencontrer de nouvelles personnes, bâtir des communautées et parler de tech, d'expatriation et de web.</description>
<lastBuildDate>Sat, 10 Jun 2023 17:47:04 GMT</lastBuildDate>
<lastBuildDate>Sat, 10 Jun 2023 18:41:32 GMT</lastBuildDate>
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
<generator>https://github.com/jpmonette/feed</generator>
<language>fr</language>
Expand Down
14 changes: 12 additions & 2 deletions src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import Image from 'next/image'
import useTranslation from 'next-translate/useTranslation'
import { useEffect, useState } from 'react'

Expand Down Expand Up @@ -70,9 +71,18 @@ export const Footer = () => {
if (!mounted) return null

return (
<div className="mt-auto">
<div className="mt-5 sm:mt-8">
<div className="h-36 max-w-5xl mx-auto relative">
<Image
className="object-cover max-w-xl mx-auto"
src="/images/david-dias-banner.png"
alt=""
aria-hidden="true"
fill
/>
</div>
<footer
className="main-footer bg-gray-50 dark:bg-black mt-5 sm:mt-8 transform"
className="main-footer bg-gray-50 dark:bg-black transform"
aria-labelledby="footer-heading"
>
<h2 id="footer-heading" className="sr-only">
Expand Down
2 changes: 1 addition & 1 deletion src/components/Search/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const Search: React.FC<SearchProps> = ({ setSearchValue }) => {
const { t } = useTranslation('common')

return (
<form className="relative w-full md:w-96">
<form className="relative w-full md:w-96" role="search">
<fieldset>
<legend>{t('articles.sections.search')}</legend>
<input
Expand Down

2 comments on commit 01524b6

@vercel
Copy link

@vercel vercel bot commented on 01524b6 Jun 10, 2023

Choose a reason for hiding this comment

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

@github-actions
Copy link

Choose a reason for hiding this comment

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

Deploy preview for thedaviddiasdev ready!

✅ Preview
https://thedaviddiasdev-l0pqusq3f-thedaviddias1.vercel.app

Built with commit 01524b6.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.