aboutsummaryrefslogtreecommitdiff
path: root/pages/_offline.js
blob: f440b3966e40716e90ea98056daae7f1b1af6e71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import Image from "next/image";
import React from "react";

export default function Fallback() {
  return (
    <div className="w-screen h-screen flex-center flex-col gap-5">
      <div className="relative">
        <Image
          src="/svg/c.svg"
          alt="logo"
          height={160}
          width={160}
          quality={100}
          className="object-cover"
        />
      </div>
      <p className="flex items-center gap-2 text-2xl">
        <svg
          xmlns="http://www.w3.org/2000/svg"
          width="1em"
          height="1em"
          viewBox="0 0 512 512"
        >
          <path
            fill="none"
            stroke="currentColor"
            strokeLinecap="round"
            strokeLinejoin="round"
            strokeWidth="32"
            d="M93.72 183.25C49.49 198.05 16 233.1 16 288c0 66 54 112 120 112h184.37m147.45-22.26C485.24 363.3 496 341.61 496 312c0-59.82-53-85.76-96-88c-8.89-89.54-71-144-144-144c-26.16 0-48.79 6.93-67.6 18.14"
          ></path>
          <path
            fill="none"
            stroke="currentColor"
            strokeLinecap="round"
            strokeMiterlimit="10"
            strokeWidth="32"
            d="M448 448L64 64"
          ></path>
        </svg>
        <span>You are Offline :\</span>
      </p>
    </div>
  );
}