|
1 |
| -import Link from 'next/link'; |
2 |
| -import Image from 'next/image'; |
3 |
| -import { GiSheep } from 'react-icons/gi'; |
4 |
| - |
5 |
| -function Footer() { |
6 |
| - return ( |
7 |
| - <footer className="footer self-end dark:bg-white bg-zinc-900 px-4 py-2 border-t-2"> |
8 |
| - <div className="items-center grid-flow-col"> |
9 |
| - <GiSheep size={32} /> |
10 |
| - <p> |
11 |
| - <Link |
12 |
| - href="https://www.gnu.org/licenses/licenses.html#GPL" |
13 |
| - target="_blank" |
14 |
| - className="font-bold" |
15 |
| - > |
16 |
| - GNU General Public License (GPLv3) |
17 |
| - </Link>{' '} |
18 |
| - - Nobody should be restricted by the knowledge they have. |
19 |
| - </p> |
20 |
| - </div> |
21 |
| - <div className="grid-flow-col gap-4 md:place-self-center md:justify-self-end"> |
22 |
| - <span className="font-normal text-md">Build with</span> |
23 |
| - <Image |
24 |
| - src="/next.svg" |
25 |
| - alt="NextJS Icon" |
26 |
| - width={50} |
27 |
| - height={28} |
28 |
| - className="mt-1 bg-white p-1 dark:grayscale" |
29 |
| - /> |
30 |
| - <span className="font-normal text-md">host by</span> |
31 |
| - <Image |
32 |
| - src="/vercel.svg" |
33 |
| - alt="Vercel Icon" |
34 |
| - width={50} |
35 |
| - height={28} |
36 |
| - className="mt-1 bg-white p-1 dark:grayscale" |
37 |
| - /> |
38 |
| - </div> |
39 |
| - </footer> |
40 |
| - ); |
41 |
| -} |
42 |
| - |
43 |
| -export default Footer; |
| 1 | +import Link from 'next/link'; |
| 2 | +import Image from 'next/image'; |
| 3 | +import { GiSheep } from 'react-icons/gi'; |
| 4 | + |
| 5 | +function Footer() { |
| 6 | + return ( |
| 7 | + <footer className="self-end dark:bg-white bg-zinc-900 px-4 py-2 border-t-2 sm:flex sm:items-center sm:justify-between"> |
| 8 | + <div className="flex items-center"> |
| 9 | + <GiSheep size={32} /> |
| 10 | + <p className="ml-2 text-sm sm:text-base"> |
| 11 | + <Link |
| 12 | + href="https://www.gnu.org/licenses/licenses.html#GPL" |
| 13 | + target="_blank" |
| 14 | + className="font-bold" |
| 15 | + > |
| 16 | + GNU General Public License (GPLv3) |
| 17 | + </Link>{' '} |
| 18 | + - Nobody should be restricted by the knowledge they have. |
| 19 | + </p> |
| 20 | + </div> |
| 21 | + <div className="flex justify-center mt-2 sm:mt-0 text-center items-center"> |
| 22 | + <span className="font-normal text-sm sm:text-md">Built with</span> |
| 23 | + <Image |
| 24 | + src="/next.svg" |
| 25 | + alt="NextJS Icon" |
| 26 | + width={50} |
| 27 | + height={28} |
| 28 | + className="ml-2 mt-1 bg-white p-1 dark:grayscale" |
| 29 | + /> |
| 30 | + <span className="font-normal text-sm sm:text-md">host by</span> |
| 31 | + <Image |
| 32 | + src="/vercel.svg" |
| 33 | + alt="Vercel Icon" |
| 34 | + width={50} |
| 35 | + height={28} |
| 36 | + className="ml-2 mt-1 bg-white p-1 dark:grayscale" |
| 37 | + /> |
| 38 | + </div> |
| 39 | + </footer> |
| 40 | + ); |
| 41 | +} |
| 42 | + |
| 43 | +export default Footer; |
0 commit comments