|
1 |
| -import Link from "next/link"; |
| 1 | +import RWLogo from "@/icons/rw-logo.svg"; |
2 | 2 |
|
3 | 3 | export const Footer = () => {
|
4 |
| - const footerLinks = [ |
5 |
| - { |
6 |
| - name: "Bibliotheca DAO", |
7 |
| - href: "https://bibliothecadao.xyz/", |
8 |
| - }, |
9 |
| - { |
10 |
| - name: "Discord", |
11 |
| - href: "https://discord.gg/realmsworld", |
12 |
| - }, |
13 |
| - { |
14 |
| - name: "Brand Assets", |
15 |
| - href: "https://drive.google.com/drive/folders/17vrwIjwqifxBVTkHmxoK1VhQ31hVSbDH", |
16 |
| - }, |
17 |
| - { |
18 |
| - name: "Shop", |
19 |
| - href: "https://shop.realms.world", |
20 |
| - }, |
21 |
| - ]; |
22 |
| - |
23 | 4 | return (
|
24 |
| - <div className="w-full px-4 py-24 sm:pl-36 sm:pt-24"> |
25 |
| - <div className="w-full"> |
26 |
| - <h1>Realms.World</h1> |
27 |
| - </div> |
28 |
| - <div className="mt-8"> |
29 |
| - <ul> |
30 |
| - {footerLinks.map((item, index) => ( |
31 |
| - <li className="my-1 py-1 text-lg" key={index}> |
32 |
| - <Link href={item.href}>{item.name}</Link> |
33 |
| - </li> |
34 |
| - ))} |
35 |
| - </ul> |
| 5 | + <footer className="w-full px-4 py-24 sm:pl-36 sm:pt-24 "> |
| 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 | + <RWLogo className=" w-[152px]" /> |
| 10 | + </div> |
| 11 | + <div className="grid grid-cols-2 gap-8 sm:grid-cols-3 sm:gap-8"> |
| 12 | + <div> |
| 13 | + <h2 className="mb-6 text-sm font-semibold uppercase "> |
| 14 | + Resources |
| 15 | + </h2> |
| 16 | + <ul className="font-medium "> |
| 17 | + <li className="mb-4"> |
| 18 | + <a |
| 19 | + href="https://bibliothecadao.xyz/" |
| 20 | + className="hover:underline" |
| 21 | + > |
| 22 | + Bibliotheca DAO |
| 23 | + </a> |
| 24 | + </li> |
| 25 | + <li className="mb-4"> |
| 26 | + <a |
| 27 | + href="https://www.coingecko.com/en/coins/lords" |
| 28 | + className="hover:underline" |
| 29 | + > |
| 30 | + Coin Gecko |
| 31 | + </a> |
| 32 | + </li> |
| 33 | + <li className="mb-4"> |
| 34 | + <a |
| 35 | + href="https://frontinus.house/" |
| 36 | + className="hover:underline" |
| 37 | + > |
| 38 | + Frontinus House |
| 39 | + </a> |
| 40 | + </li> |
| 41 | + <li className="mb-4"> |
| 42 | + <a |
| 43 | + href="https://app.avnu.fi/en?amount=100&tokenFrom=0x124aeb495b947201f5fac96fd1138e326ad86195b98df6dec9009158a533b49&tokenTo=0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7" |
| 44 | + className="hover:underline" |
| 45 | + > |
| 46 | + Buy Lords |
| 47 | + </a> |
| 48 | + </li> |
| 49 | + <li className="mb-4"> |
| 50 | + <a |
| 51 | + href="https://shop.realms.world" |
| 52 | + className="hover:underline" |
| 53 | + > |
| 54 | + Realms World Shop |
| 55 | + </a> |
| 56 | + </li> |
| 57 | + <li className="mb-4"> |
| 58 | + <a |
| 59 | + href="https://dev.realms.world" |
| 60 | + className="hover:underline" |
| 61 | + > |
| 62 | + Developer Docs |
| 63 | + </a> |
| 64 | + </li> |
| 65 | + <li className="mb-4"> |
| 66 | + <a |
| 67 | + href="https://drive.google.com/drive/folders/17vrwIjwqifxBVTkHmxoK1VhQ31hVSbDH" |
| 68 | + className="hover:underline" |
| 69 | + > |
| 70 | + Brand Assets |
| 71 | + </a> |
| 72 | + </li> |
| 73 | + </ul> |
| 74 | + </div> |
| 75 | + <div> |
| 76 | + <h2 className="mb-6 text-sm font-semibold uppercase"> |
| 77 | + Follow us |
| 78 | + </h2> |
| 79 | + <ul className="font-medium "> |
| 80 | + <li className="mb-4"> |
| 81 | + <a |
| 82 | + href="https://github.com/bibliothecaDAO" |
| 83 | + className="hover:underline " |
| 84 | + > |
| 85 | + Github |
| 86 | + </a> |
| 87 | + </li> |
| 88 | + <li className="mb-4"> |
| 89 | + <a |
| 90 | + href="https://discord.gg/realmsworld" |
| 91 | + className="hover:underline" |
| 92 | + > |
| 93 | + Discord |
| 94 | + </a> |
| 95 | + </li> |
| 96 | + <li> |
| 97 | + <a |
| 98 | + href="https://x.com/realmsworld" |
| 99 | + className="hover:underline" |
| 100 | + > |
| 101 | + Twitter |
| 102 | + </a> |
| 103 | + </li> |
| 104 | + </ul> |
| 105 | + </div> |
| 106 | + </div> |
| 107 | + </div> |
| 108 | + <hr className="my-6 border sm:mx-auto lg:my-8 " /> |
| 109 | + <div className="sm:flex sm:items-center sm:justify-between"> |
| 110 | + <span className="text-sm sm:text-center"> |
| 111 | + © {new Date().getFullYear()}{" "} |
| 112 | + <a href="https://flowbite.com/" className="hover:underline"> |
| 113 | + BibliothecaDAO |
| 114 | + </a> |
| 115 | + </span> |
| 116 | + <div className="mt-4 flex sm:mt-0 sm:justify-center"> |
| 117 | + <a href="https://discord.gg/realmsworld" className="ms-5 "> |
| 118 | + <svg |
| 119 | + className="h-4 w-4" |
| 120 | + aria-hidden="true" |
| 121 | + xmlns="http://www.w3.org/2000/svg" |
| 122 | + fill="currentColor" |
| 123 | + viewBox="0 0 21 16" |
| 124 | + > |
| 125 | + <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" /> |
| 126 | + </svg> |
| 127 | + <span className="sr-only">Discord community</span> |
| 128 | + </a> |
| 129 | + <a href="https://x.com/realmsworld" className="ms-5 "> |
| 130 | + <svg |
| 131 | + className="h-4 w-4" |
| 132 | + aria-hidden="true" |
| 133 | + xmlns="http://www.w3.org/2000/svg" |
| 134 | + fill="currentColor" |
| 135 | + viewBox="0 0 20 17" |
| 136 | + > |
| 137 | + <path d="M20 1.892a8.178 8.178 0 0 1-2.355.635 4.074 4.074 0 0 0 1.8-2.235 8.344 8.344 0 0 1-2.605.98A4.13 4.13 0 0 0 13.85 0a4.068 4.068 0 0 0-4.1 4.038 4 4 0 0 0 .105.919A11.705 11.705 0 0 1 1.4.734a4.006 4.006 0 0 0 1.268 5.392 4.165 4.165 0 0 1-1.859-.5v.05A4.057 4.057 0 0 0 4.1 9.635a4.19 4.19 0 0 1-1.856.07 4.108 4.108 0 0 0 3.831 2.807A8.36 8.36 0 0 1 0 14.184 11.732 11.732 0 0 0 6.291 16 11.502 11.502 0 0 0 17.964 4.5c0-.177 0-.35-.012-.523A8.143 8.143 0 0 0 20 1.892Z" /> |
| 138 | + </svg> |
| 139 | + <span className="sr-only">Twitter page</span> |
| 140 | + </a> |
| 141 | + <a href="https://github.com/bibliothecaDAO" className="ms-5 "> |
| 142 | + <svg |
| 143 | + className="h-4 w-4" |
| 144 | + aria-hidden="true" |
| 145 | + xmlns="http://www.w3.org/2000/svg" |
| 146 | + fill="currentColor" |
| 147 | + viewBox="0 0 20 20" |
| 148 | + > |
| 149 | + <path 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" /> |
| 150 | + </svg> |
| 151 | + <span className="sr-only">GitHub account</span> |
| 152 | + </a> |
| 153 | + </div> |
| 154 | + </div> |
36 | 155 | </div>
|
37 |
| - </div> |
| 156 | + </footer> |
38 | 157 | );
|
39 | 158 | };
|
0 commit comments