page.tsx 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. import Image from "next/image";
  2. import { UploadForm } from "./components/uploadForm";
  3. export default function Home() {
  4. return (
  5. <div className="grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20 font-[family-name:var(--font-geist-sans)]">
  6. <main className="flex flex-col gap-8 row-start-2 items-center sm:items-start">
  7. <Image
  8. className="dark:invert"
  9. src="/vtorio.svg"
  10. alt="Vtor.io logo"
  11. width={180}
  12. height={38}
  13. priority
  14. />
  15. <ol className="list-inside list-decimal text-sm text-center sm:text-left font-[family-name:var(--font-geist-mono)]">
  16. <li className="mb-2">
  17. Site coming soon, written in{" "}
  18. <code className="bg-black/[.05] dark:bg-white/[.06] px-1 py-0.5 rounded font-semibold">
  19. next.js
  20. </code>
  21. !
  22. </li>
  23. <li>Meanwhile, enjoy some media.</li>
  24. </ol>
  25. <div className="flex gap-4 items-center flex-col sm:flex-row">
  26. <a
  27. className="rounded-full border border-solid border-transparent transition-colors flex items-center justify-center bg-foreground text-background gap-2 hover:bg-[#383838] dark:hover:bg-[#ccc] text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5"
  28. href="https://request.vixflix.online/"
  29. target="_blank"
  30. rel="noopener noreferrer"
  31. >
  32. <Image
  33. className="dark:invert"
  34. src="/overseerr.svg"
  35. alt="Vercel logomark"
  36. width={20}
  37. height={20}
  38. />
  39. Go to VixFlixOnline
  40. </a>
  41. <a
  42. className="rounded-full border border-solid border-black/[.08] dark:border-white/[.145] transition-colors flex items-center justify-center hover:bg-[#f2f2f2] dark:hover:bg-[#1a1a1a] hover:border-transparent text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5"
  43. href="/api-docs"
  44. >
  45. <Image
  46. className="dark:invert"
  47. src="/file.svg"
  48. alt="API docs icon"
  49. width={20}
  50. height={20}
  51. />
  52. API Documentation
  53. </a>
  54. <UploadForm />
  55. </div>
  56. </main>
  57. </div>
  58. );
  59. }