|
| 1 | +import Image from "next/image"; |
| 2 | + |
| 3 | +export default function Footer() { |
| 4 | + return ( |
| 5 | + <footer className="bg-white dark:bg-gray-900"> |
| 6 | + <div className="mx-auto w-full max-w-screen-xl p-4 py-6 lg:py-8"> |
| 7 | + <div className="md:flex md:justify-between"> |
| 8 | + <div className="mb-6 md:mb-0"> |
| 9 | + <a |
| 10 | + href="https://hallofcodes.github.io/" |
| 11 | + className="flex items-center" |
| 12 | + > |
| 13 | + <Image |
| 14 | + src="https://avatars.githubusercontent.com/u/93744673?s=200&v=4" |
| 15 | + className="rounded-full h-8 me-3" |
| 16 | + width={32} |
| 17 | + height={32} |
| 18 | + alt="Hall of Codes Logo" |
| 19 | + /> |
| 20 | + <span className="self-center text-2xl font-semibold whitespace-nowrap dark:text-white"> |
| 21 | + Hall of Codes |
| 22 | + </span> |
| 23 | + </a> |
| 24 | + </div> |
| 25 | + <div className="grid grid-cols-2 gap-8 sm:gap-6 sm:grid-cols-3"> |
| 26 | + <div> |
| 27 | + <h2 className="mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white"> |
| 28 | + Follow us |
| 29 | + </h2> |
| 30 | + <ul className="text-gray-500 dark:text-gray-400 font-medium"> |
| 31 | + <li className="mb-4"> |
| 32 | + <a |
| 33 | + href="https://github.com/hallofcodes" |
| 34 | + className="hover:underline " |
| 35 | + > |
| 36 | + Github |
| 37 | + </a> |
| 38 | + </li> |
| 39 | + <li className="mb-4"> |
| 40 | + <a |
| 41 | + href="https://facebook.com/hallofcodes" |
| 42 | + className="hover:underline" |
| 43 | + > |
| 44 | + Facebook |
| 45 | + </a> |
| 46 | + </li> |
| 47 | + </ul> |
| 48 | + </div> |
| 49 | + <div> |
| 50 | + <h2 className="mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white"> |
| 51 | + Legal |
| 52 | + </h2> |
| 53 | + <ul className="text-gray-500 dark:text-gray-400 font-medium"> |
| 54 | + <li className="mb-4"> |
| 55 | + <a href="/privacy" className="hover:underline"> |
| 56 | + Privacy Policy |
| 57 | + </a> |
| 58 | + </li> |
| 59 | + <li> |
| 60 | + <a href="/terms" className="hover:underline"> |
| 61 | + Terms & Conditions |
| 62 | + </a> |
| 63 | + </li> |
| 64 | + <a |
| 65 | + href="/community-guidelines" |
| 66 | + className="hover:underline" |
| 67 | + > |
| 68 | + Community Guidelines |
| 69 | + </a> |
| 70 | + </ul> |
| 71 | + </div> |
| 72 | + </div> |
| 73 | + </div> |
| 74 | + <hr className="my-6 border-gray-200 sm:mx-auto dark:border-gray-700 lg:my-8" /> |
| 75 | + <div className="sm:flex sm:items-center sm:justify-between"> |
| 76 | + <span className="text-sm text-gray-500 sm:text-center dark:text-gray-400"> |
| 77 | + © 2024{" "} |
| 78 | + <a |
| 79 | + href="https://hallofcodes.github.io/" |
| 80 | + className="hover:underline" |
| 81 | + > |
| 82 | + Hall of Codes |
| 83 | + </a> |
| 84 | + . All Rights Reserved. |
| 85 | + </span> |
| 86 | + <div className="flex mt-4 sm:justify-center sm:mt-0"> |
| 87 | + <a |
| 88 | + href="https://facebook.com/hallofcodes" |
| 89 | + className="text-gray-500 hover:text-gray-900 dark:hover:text-white" |
| 90 | + > |
| 91 | + <svg |
| 92 | + className="w-4 h-4" |
| 93 | + aria-hidden="true" |
| 94 | + xmlns="http://www.w3.org/2000/svg" |
| 95 | + fill="currentColor" |
| 96 | + viewBox="0 0 8 19" |
| 97 | + > |
| 98 | + <path |
| 99 | + fill-rule="evenodd" |
| 100 | + d="M6.135 3H8V0H6.135a4.147 4.147 0 0 0-4.142 4.142V6H0v3h2v9.938h3V9h2.021l.592-3H5V3.591A.6.6 0 0 1 5.592 3h.543Z" |
| 101 | + clip-rule="evenodd" |
| 102 | + /> |
| 103 | + </svg> |
| 104 | + <span className="sr-only">Facebook page</span> |
| 105 | + </a> |
| 106 | + <a |
| 107 | + href="https://discord.gg/u8JnWbaFgK" |
| 108 | + className="text-gray-500 hover:text-gray-900 dark:hover:text-white ms-5" |
| 109 | + > |
| 110 | + <svg |
| 111 | + className="w-4 h-4" |
| 112 | + aria-hidden="true" |
| 113 | + xmlns="http://www.w3.org/2000/svg" |
| 114 | + fill="currentColor" |
| 115 | + viewBox="0 0 21 16" |
| 116 | + > |
| 117 | + <path d="M16.942 1.556a16.3 16.3 0 0 0-4.126-1.3 12.04 12.04 0 0 0-.529 1.1 15.175 15.175 0 0 0-4.573 0 11.585 11.585 0 0 0-.535-1.1 16.274 16.274 0 0 0-4.129 1.3A17.392 17.392 0 0 0 .182 13.218a15.785 15.785 0 0 0 4.963 2.521c.41-.564.773-1.16 1.084-1.785a10.63 10.63 0 0 1-1.706-.83c.143-.106.283-.217.418-.33a11.664 11.664 0 0 0 10.118 0c.137.113.277.224.418.33-.544.328-1.116.606-1.71.832a12.52 12.52 0 0 0 1.084 1.785 16.46 16.46 0 0 0 5.064-2.595 17.286 17.286 0 0 0-2.973-11.59ZM6.678 10.813a1.941 1.941 0 0 1-1.8-2.045 1.93 1.93 0 0 1 1.8-2.047 1.919 1.919 0 0 1 1.8 2.047 1.93 1.93 0 0 1-1.8 2.045Zm6.644 0a1.94 1.94 0 0 1-1.8-2.045 1.93 1.93 0 0 1 1.8-2.047 1.918 1.918 0 0 1 1.8 2.047 1.93 1.93 0 0 1-1.8 2.045Z" /> |
| 118 | + </svg> |
| 119 | + <span className="sr-only">Discord community</span> |
| 120 | + </a> |
| 121 | + <a |
| 122 | + href="https://github.com/hallofcodes" |
| 123 | + className="text-gray-500 hover:text-gray-900 dark:hover:text-white ms-5" |
| 124 | + > |
| 125 | + <svg |
| 126 | + className="w-4 h-4" |
| 127 | + aria-hidden="true" |
| 128 | + xmlns="http://www.w3.org/2000/svg" |
| 129 | + fill="currentColor" |
| 130 | + viewBox="0 0 20 20" |
| 131 | + > |
| 132 | + <path |
| 133 | + fill-rule="evenodd" |
| 134 | + d="M10 .333A9.911 9.911 0 0 0 6.866 19.65c.5.092.678-.215.678-.477 0-.237-.01-1.017-.014-1.845-2.757.6-3.338-1.169-3.338-1.169a2.627 2.627 0 0 0-1.1-1.451c-.9-.615.07-.6.07-.6a2.084 2.084 0 0 1 1.518 1.021 2.11 2.11 0 0 0 2.884.823c.044-.503.268-.973.63-1.325-2.2-.25-4.516-1.1-4.516-4.9A3.832 3.832 0 0 1 4.7 7.068a3.56 3.56 0 0 1 .095-2.623s.832-.266 2.726 1.016a9.409 9.409 0 0 1 4.962 0c1.89-1.282 2.717-1.016 2.717-1.016.366.83.402 1.768.1 2.623a3.827 3.827 0 0 1 1.02 2.659c0 3.807-2.319 4.644-4.525 4.889a2.366 2.366 0 0 1 .673 1.834c0 1.326-.012 2.394-.012 2.72 0 .263.18.572.681.475A9.911 9.911 0 0 0 10 .333Z" |
| 135 | + clip-rule="evenodd" |
| 136 | + /> |
| 137 | + </svg> |
| 138 | + <span className="sr-only">GitHub account</span> |
| 139 | + </a> |
| 140 | + </div> |
| 141 | + </div> |
| 142 | + </div> |
| 143 | + </footer> |
| 144 | + ); |
| 145 | +} |
0 commit comments