Skip to content

Commit 06898a3

Browse files
committedNov 5, 2024
footer
1 parent 9d7a5ab commit 06898a3

File tree

5 files changed

+451
-4
lines changed

5 files changed

+451
-4
lines changed
 

‎web/.prettierrc.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"trailingComma": "es5",
3+
"semi": true,
4+
"tabWidth": 2,
5+
"singleQuote": true,
6+
"jsxSingleQuote": true,
7+
"importOrder": ["<THIRD_PARTY_MODULES>", "@/(.*)$", "^[./]"],
8+
"importOrderSeparation": true,
9+
"importOrderSortSpecifiers": true,
10+
"plugins": [
11+
"@trivago/prettier-plugin-sort-imports",
12+
"prettier-plugin-tailwindcss"
13+
]
14+
}

‎web/components/Footer.tsx

+15-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
1-
import Link from "next/link";
1+
import Image from 'next/image';
2+
import Link from 'next/link';
23

34
export function Footer() {
45
return (
5-
<footer className="p-4 text-center text-sm w-full hover:underline">
6-
<Link href="https://github.com/adnjoo/fast-youtube-summary">
6+
<footer>
7+
<Link
8+
href='https://github.com/adnjoo/fast-youtube-summary'
9+
className='flex w-full flex-col p-4 text-center text-sm hover:underline'
10+
target='_blank'
11+
>
712
built by drew
13+
<Image
14+
src='/github-mark.svg'
15+
alt='GitHub Logo'
16+
width={20}
17+
height={20}
18+
className='mx-auto'
19+
/>
820
</Link>
921
</footer>
1022
);

0 commit comments

Comments
 (0)