-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
66 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import React from 'react' | ||
|
||
// NextJs | ||
import Link from 'next/link' | ||
|
||
// Lib | ||
import ImageHolder from '@/lib/ImageHolder' | ||
import { Tooltip } from '@mui/material' | ||
|
||
|
||
export default function Footer() { | ||
const portfolioImg = 'https://i.ibb.co/L0pf86z/portfolio.png' | ||
const themealdbImg = 'https://themealdb.com/images/meal-icon.png' | ||
|
||
return ( | ||
<footer className='bg-black text-white container-fluid'> | ||
<div className='container py-2 d-flex flex-row flex-wrap justify-content-center algin-items-center gap-3'> | ||
<Tooltip title='Portfolio' arrow> | ||
<Link style={{width: '30px', height: '30px'}} className='bg-dark overflow-hidden rounded-1' href='https://xvpc.dev' target='_blank'> | ||
<ImageHolder img={portfolioImg} title={'xvpc.dev'} network /> | ||
</Link> | ||
</Tooltip> | ||
|
||
<Tooltip title='GitHub' arrow> | ||
<Link style={{width: '30px', height: '30px'}} className='bg-white d-flex justify-content-center algin-items-center overflow-hidden rounded-1' href='https://github.com/xvpc/quickrecipes' target='_blank'> | ||
<svg height="32" aria-hidden="true" viewBox="0 0 16 16" version="1.1" width="32" data-view-component="true" className="octicon octicon-mark-github v-align-middle color-fg-default"> | ||
<path d="M8 0c4.42 0 8 3.58 8 8a8.013 8.013 0 0 1-5.45 7.59c-.4.08-.55-.17-.55-.38 0-.27.01-1.13.01-2.2 0-.75-.25-1.23-.54-1.48 1.78-.2 3.65-.88 3.65-3.95 0-.88-.31-1.59-.82-2.15.08-.2.36-1.02-.08-2.12 0 0-.67-.22-2.2.82-.64-.18-1.32-.27-2-.27-.68 0-1.36.09-2 .27-1.53-1.03-2.2-.82-2.2-.82-.44 1.1-.16 1.92-.08 2.12-.51.56-.82 1.28-.82 2.15 0 3.06 1.86 3.75 3.64 3.95-.23.2-.44.55-.51 1.07-.46.21-1.61.55-2.33-.66-.15-.24-.6-.83-1.23-.82-.67.01-.27.38.01.53.34.19.73.9.82 1.13.16.45.68 1.31 2.69.94 0 .67.01 1.3.01 1.49 0 .21-.15.45-.55.38A7.995 7.995 0 0 1 0 8c0-4.42 3.58-8 8-8Z"></path> | ||
</svg> | ||
</Link> | ||
</Tooltip> | ||
|
||
<Tooltip title='API' arrow> | ||
<Link style={{width: '30px', height: '30px', backgroundColor: "#2d2013"}} className='pt-1 d-flex justify-content-center algin-items-center overflow-hidden rounded-1' href='https://themealdb.com' target='_blank'> | ||
<ImageHolder img={themealdbImg} title={'themealdb.com'} network /> | ||
</Link> | ||
</Tooltip> | ||
|
||
</div> | ||
</footer> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export const apiUrl: string = process.env.NEXT_PUBLIC_API || "https://www.themealdb.com/api/json/v1/1/"; | ||
export const iconImage: string = "/favicon/siteicon.png"; | ||
export const apiUrl: string = process.env.NEXT_PUBLIC_API as string; | ||
export const iconImage: string = "https://i.ibb.co/zJ8hp32/siteicon.png"; |