File size: 5,646 Bytes
a72140d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
"use client";

import { Fragment } from "react";

import CurvyRect from "@/components/shared/layout/curvy-rect";

import CenterStar from "./_svg/CenterStar";

export default function HomeHeroBackground() {
  return (
    <div className="overlay contain-layout pointer-events-none lg-max:hidden">
      <div className="top-100 h-[calc(100%-99px)] border-border-faint border-y w-full left-0 absolute" />

      <div className="cw-[1314px] z-[105] absolute top-0 border-x border-border-faint h-full">
        <div className="text-mono-x-small font-mono text-black-alpha-12 select-none">
          <div className="absolute top-111 -left-1 w-102 text-center">
            {" "}
            [ 200 OK ]{" "}
          </div>
          <div className="absolute bottom-10 -left-1 w-102 text-center">
            {" "}
            [ .JSON ]{" "}
          </div>

          <div className="absolute top-111 -right-1 w-102 text-center">
            {" "}
            [ SCRAPE ]{" "}
          </div>
          <div className="absolute bottom-10 -right-1 w-102 text-center">
            {" "}
            [ .MD ]{" "}
          </div>
        </div>

        <div className="top-302 h-1 left-0 bg-border-faint w-303 absolute" />
        <div className="top-403 h-1 left-0 bg-border-faint w-303 absolute" />
        <div className="top-504 h-1 left-100 bg-border-faint w-203 absolute" />

        <div className="top-302 h-1 right-0 bg-border-faint w-303 absolute" />
        <div className="top-403 h-1 right-0 bg-border-faint w-303 absolute" />
        <div className="top-504 h-1 right-100 bg-border-faint w-203 absolute" />

        {Array.from({ length: 2 }, (_, i) => (
          <Fragment key={i}>
            <CurvyRect
              bottomLeft={i === 1}
              bottomRight={i === 0}
              className="w-101  h-[calc(100%-99px)] top-100 absolute"
              style={{ [i === 0 ? "left" : "right"]: -101 }}
            />

            <CurvyRect
              className="w-102 h-203 top-100 absolute"
              style={{ [i === 0 ? "left" : "right"]: -1 }}
              allSides
            />
            <CurvyRect
              className="size-102 top-302 absolute"
              style={{ [i === 0 ? "left" : "right"]: -1 }}
              allSides
            />
            <CurvyRect
              className="w-102 h-203 top-403 absolute"
              style={{ [i === 0 ? "left" : "right"]: -1 }}
              allSides
            />
          </Fragment>
        ))}
      </div>

      <div className="cw-[910px] absolute top-100 border-x border-border-faint h-[calc(100%-99px)]" />
      <div className="cw-[708px] absolute top-100 border-x border-border-faint h-[calc(100%-99px)]">
        <CenterStar className="absolute top-77 -right-24 z-[1]" />
        <CenterStar className="absolute top-77 -left-24 z-[1]" />
      </div>

      <CurvyRect
        className="cw-[708px] absolute top-100 h-[calc(100%-99px)]"
        bottom
      />

      <div className="cw-[506px] absolute top-100 border-x border-border-faint h-102" />
      <div className="cw-[304px] absolute top-100 border-x border-border-faint h-102" />
      <div className="cw-[102px] absolute top-100 border-x border-border-faint h-102" />

      <div className="top-201 h-1 bg-border-faint cw-[1112px] absolute" />

      <div className="cw-[1112px] absolute top-0 h-full">
        <CurvyRect className="w-full absolute top-full h-100 left-0" top />
        <CurvyRect
          className="w-100 absolute top-full h-100 -left-99"
          topRight
        />
        <CurvyRect
          className="w-100 absolute top-full h-100 -right-99"
          topLeft
        />

        {Array.from({ length: 5 }, (_, i) => (
          <Fragment key={i}>
            <CurvyRect
              className="size-102 absolute left-0"
              style={{
                top: 100 + i * 101,
              }}
              allSides
            />

            <CurvyRect
              className="size-102 absolute right-0"
              style={{
                top: 100 + i * 101,
              }}
              allSides
            />
          </Fragment>
        ))}

        <CurvyRect
          className="size-102 absolute left-101 top-100"
          bottomLeft
          top
        />
        <CurvyRect
          className="size-102 absolute left-101 top-201"
          bottom
          topLeft
        />

        <CurvyRect
          className="size-102 absolute right-101 top-100"
          bottomRight
          top
        />
        <CurvyRect
          className="size-102 absolute right-101 top-201"
          bottom
          topRight
        />

        {Array.from({ length: 3 }, (_, i) => (
          <Fragment key={i}>
            <CurvyRect
              className="size-102 absolute left-101"
              style={{
                top: 302 + i * 101,
              }}
              allSides
            />

            <CurvyRect
              className="size-102 absolute right-101"
              style={{
                top: 302 + i * 101,
              }}
              allSides
            />
          </Fragment>
        ))}

        <CurvyRect
          className="size-102 absolute top-100 left-202"
          bottomRight
          top
        />

        {Array.from({ length: 5 }, (_, i) => (
          <CurvyRect
            className="size-102 absolute top-100"
            key={i}
            style={{ left: 303 + i * 101 }}
            allSides
          />
        ))}

        <CurvyRect
          className="size-102 absolute top-100 right-202"
          bottomLeft
          top
        />
      </div>
    </div>
  );
}