|
| 1 | +import { Link } from '@inertiajs/react' |
| 2 | + |
| 3 | +export default function Footer() { |
| 4 | + return ( |
| 5 | + <footer className="bg-white"> |
| 6 | + <div className="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8"> |
| 7 | + <div className="xl:grid xl:grid-cols-3 xl:gap-8"> |
| 8 | + <div className="space-y-8 xl:col-span-1"> |
| 9 | + <Link href="/" className="text-lg font-bold text-gray-900"> |
| 10 | + JavaScript.cm |
| 11 | + </Link> |
| 12 | + <p className="text-gray-500 text-base"> |
| 13 | + La plus grande communauté de développeurs JavaScript au Cameroun. |
| 14 | + </p> |
| 15 | + </div> |
| 16 | + <div className="mt-12 grid grid-cols-2 gap-8 xl:mt-0 xl:col-span-2"> |
| 17 | + <div className="md:grid md:grid-cols-2 md:gap-8"> |
| 18 | + <div> |
| 19 | + <h3 className="text-sm font-semibold text-gray-400 tracking-wider uppercase"> |
| 20 | + Ressources |
| 21 | + </h3> |
| 22 | + <ul role="list" className="mt-4 space-y-4"> |
| 23 | + <li> |
| 24 | + <Link href="/about" className="text-base text-gray-500 hover:text-gray-900"> |
| 25 | + A propos |
| 26 | + </Link> |
| 27 | + </li> |
| 28 | + <li> |
| 29 | + <Link href="/sponsors" className="text-base text-gray-500 hover:text-gray-900"> |
| 30 | + Soutien |
| 31 | + </Link> |
| 32 | + </li> |
| 33 | + <li> |
| 34 | + <Link href="/snippets" className="text-base text-gray-500 hover:text-gray-900"> |
| 35 | + Snippets |
| 36 | + </Link> |
| 37 | + </li> |
| 38 | + </ul> |
| 39 | + </div> |
| 40 | + <div className="mt-12 md:mt-0"> |
| 41 | + <h3 className="text-sm font-semibold text-gray-400 tracking-wider uppercase"> |
| 42 | + Légal |
| 43 | + </h3> |
| 44 | + <ul role="list" className="mt-4 space-y-4"> |
| 45 | + <li> |
| 46 | + <Link href="/terms" className="text-base text-gray-500 hover:text-gray-900"> |
| 47 | + Conditions d'utilisation |
| 48 | + </Link> |
| 49 | + </li> |
| 50 | + <li> |
| 51 | + <Link href="/privacy" className="text-base text-gray-500 hover:text-gray-900"> |
| 52 | + Confidentialité |
| 53 | + </Link> |
| 54 | + </li> |
| 55 | + <li> |
| 56 | + <Link href="/conduct" className="text-base text-gray-500 hover:text-gray-900"> |
| 57 | + Code de conduite |
| 58 | + </Link> |
| 59 | + </li> |
| 60 | + </ul> |
| 61 | + </div> |
| 62 | + </div> |
| 63 | + </div> |
| 64 | + </div> |
| 65 | + <div className="mt-12 border-t border-gray-200 pt-8"> |
| 66 | + <p className="text-base text-gray-400 xl:text-center"> |
| 67 | + © {new Date().getFullYear()} JavaScript Cameroun. Tous droits réservés. |
| 68 | + </p> |
| 69 | + </div> |
| 70 | + </div> |
| 71 | + </footer> |
| 72 | + ) |
| 73 | +} |
0 commit comments