Skip to content

Commit 3bf3daf

Browse files
committed
- layout wip
1 parent 9132792 commit 3bf3daf

File tree

11 files changed

+444
-8
lines changed

11 files changed

+444
-8
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"dependencies": {
3+
"styled-components": "^5.3.3"
4+
}
5+
}

yarn.lock

Lines changed: 303 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,303 @@
1+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2+
# yarn lockfile v1
3+
4+
5+
"@babel/code-frame@^7.16.0":
6+
version "7.16.0"
7+
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.16.0.tgz#0dfc80309beec8411e65e706461c408b0bb9b431"
8+
integrity sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==
9+
dependencies:
10+
"@babel/highlight" "^7.16.0"
11+
12+
"@babel/generator@^7.16.5":
13+
version "7.16.5"
14+
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.16.5.tgz#26e1192eb8f78e0a3acaf3eede3c6fc96d22bedf"
15+
integrity sha512-kIvCdjZqcdKqoDbVVdt5R99icaRtrtYhYK/xux5qiWCBmfdvEYMFZ68QCrpE5cbFM1JsuArUNs1ZkuKtTtUcZA==
16+
dependencies:
17+
"@babel/types" "^7.16.0"
18+
jsesc "^2.5.1"
19+
source-map "^0.5.0"
20+
21+
"@babel/helper-annotate-as-pure@^7.16.0":
22+
version "7.16.0"
23+
resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.0.tgz#9a1f0ebcda53d9a2d00108c4ceace6a5d5f1f08d"
24+
integrity sha512-ItmYF9vR4zA8cByDocY05o0LGUkp1zhbTQOH1NFyl5xXEqlTJQCEJjieriw+aFpxo16swMxUnUiKS7a/r4vtHg==
25+
dependencies:
26+
"@babel/types" "^7.16.0"
27+
28+
"@babel/helper-environment-visitor@^7.16.5":
29+
version "7.16.5"
30+
resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.5.tgz#f6a7f38b3c6d8b07c88faea083c46c09ef5451b8"
31+
integrity sha512-ODQyc5AnxmZWm/R2W7fzhamOk1ey8gSguo5SGvF0zcB3uUzRpTRmM/jmLSm9bDMyPlvbyJ+PwPEK0BWIoZ9wjg==
32+
dependencies:
33+
"@babel/types" "^7.16.0"
34+
35+
"@babel/helper-function-name@^7.16.0":
36+
version "7.16.0"
37+
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz#b7dd0797d00bbfee4f07e9c4ea5b0e30c8bb1481"
38+
integrity sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==
39+
dependencies:
40+
"@babel/helper-get-function-arity" "^7.16.0"
41+
"@babel/template" "^7.16.0"
42+
"@babel/types" "^7.16.0"
43+
44+
"@babel/helper-get-function-arity@^7.16.0":
45+
version "7.16.0"
46+
resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.0.tgz#0088c7486b29a9cb5d948b1a1de46db66e089cfa"
47+
integrity sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==
48+
dependencies:
49+
"@babel/types" "^7.16.0"
50+
51+
"@babel/helper-hoist-variables@^7.16.0":
52+
version "7.16.0"
53+
resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.0.tgz#4c9023c2f1def7e28ff46fc1dbcd36a39beaa81a"
54+
integrity sha512-1AZlpazjUR0EQZQv3sgRNfM9mEVWPK3M6vlalczA+EECcPz3XPh6VplbErL5UoMpChhSck5wAJHthlj1bYpcmg==
55+
dependencies:
56+
"@babel/types" "^7.16.0"
57+
58+
"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.16.0":
59+
version "7.16.0"
60+
resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.16.0.tgz#90538e60b672ecf1b448f5f4f5433d37e79a3ec3"
61+
integrity sha512-kkH7sWzKPq0xt3H1n+ghb4xEMP8k0U7XV3kkB+ZGy69kDk2ySFW1qPi06sjKzFY3t1j6XbJSqr4mF9L7CYVyhg==
62+
dependencies:
63+
"@babel/types" "^7.16.0"
64+
65+
"@babel/helper-split-export-declaration@^7.16.0":
66+
version "7.16.0"
67+
resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.0.tgz#29672f43663e936df370aaeb22beddb3baec7438"
68+
integrity sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==
69+
dependencies:
70+
"@babel/types" "^7.16.0"
71+
72+
"@babel/helper-validator-identifier@^7.15.7":
73+
version "7.15.7"
74+
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz#220df993bfe904a4a6b02ab4f3385a5ebf6e2389"
75+
integrity sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==
76+
77+
"@babel/highlight@^7.16.0":
78+
version "7.16.0"
79+
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.16.0.tgz#6ceb32b2ca4b8f5f361fb7fd821e3fddf4a1725a"
80+
integrity sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==
81+
dependencies:
82+
"@babel/helper-validator-identifier" "^7.15.7"
83+
chalk "^2.0.0"
84+
js-tokens "^4.0.0"
85+
86+
"@babel/parser@^7.16.0", "@babel/parser@^7.16.5":
87+
version "7.16.6"
88+
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.16.6.tgz#8f194828193e8fa79166f34a4b4e52f3e769a314"
89+
integrity sha512-Gr86ujcNuPDnNOY8mi383Hvi8IYrJVJYuf3XcuBM/Dgd+bINn/7tHqsj+tKkoreMbmGsFLsltI/JJd8fOFWGDQ==
90+
91+
"@babel/template@^7.16.0":
92+
version "7.16.0"
93+
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.16.0.tgz#d16a35ebf4cd74e202083356fab21dd89363ddd6"
94+
integrity sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==
95+
dependencies:
96+
"@babel/code-frame" "^7.16.0"
97+
"@babel/parser" "^7.16.0"
98+
"@babel/types" "^7.16.0"
99+
100+
"@babel/traverse@^7.4.5":
101+
version "7.16.5"
102+
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.16.5.tgz#d7d400a8229c714a59b87624fc67b0f1fbd4b2b3"
103+
integrity sha512-FOCODAzqUMROikDYLYxl4nmwiLlu85rNqBML/A5hKRVXG2LV8d0iMqgPzdYTcIpjZEBB7D6UDU9vxRZiriASdQ==
104+
dependencies:
105+
"@babel/code-frame" "^7.16.0"
106+
"@babel/generator" "^7.16.5"
107+
"@babel/helper-environment-visitor" "^7.16.5"
108+
"@babel/helper-function-name" "^7.16.0"
109+
"@babel/helper-hoist-variables" "^7.16.0"
110+
"@babel/helper-split-export-declaration" "^7.16.0"
111+
"@babel/parser" "^7.16.5"
112+
"@babel/types" "^7.16.0"
113+
debug "^4.1.0"
114+
globals "^11.1.0"
115+
116+
"@babel/types@^7.16.0":
117+
version "7.16.0"
118+
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.16.0.tgz#db3b313804f96aadd0b776c4823e127ad67289ba"
119+
integrity sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==
120+
dependencies:
121+
"@babel/helper-validator-identifier" "^7.15.7"
122+
to-fast-properties "^2.0.0"
123+
124+
"@emotion/is-prop-valid@^0.8.8":
125+
version "0.8.8"
126+
resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz#db28b1c4368a259b60a97311d6a952d4fd01ac1a"
127+
integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==
128+
dependencies:
129+
"@emotion/memoize" "0.7.4"
130+
131+
"@emotion/memoize@0.7.4":
132+
version "0.7.4"
133+
resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.4.tgz#19bf0f5af19149111c40d98bb0cf82119f5d9eeb"
134+
integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==
135+
136+
"@emotion/stylis@^0.8.4":
137+
version "0.8.5"
138+
resolved "https://registry.yarnpkg.com/@emotion/stylis/-/stylis-0.8.5.tgz#deacb389bd6ee77d1e7fcaccce9e16c5c7e78e04"
139+
integrity sha512-h6KtPihKFn3T9fuIrwvXXUOwlx3rfUvfZIcP5a6rh8Y7zjE3O06hT5Ss4S/YI1AYhuZ1kjaE/5EaOOI2NqSylQ==
140+
141+
"@emotion/unitless@^0.7.4":
142+
version "0.7.5"
143+
resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.7.5.tgz#77211291c1900a700b8a78cfafda3160d76949ed"
144+
integrity sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==
145+
146+
ansi-styles@^3.2.1:
147+
version "3.2.1"
148+
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
149+
integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==
150+
dependencies:
151+
color-convert "^1.9.0"
152+
153+
"babel-plugin-styled-components@>= 1.12.0":
154+
version "2.0.2"
155+
resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-2.0.2.tgz#0fac11402dc9db73698b55847ab1dc73f5197c54"
156+
integrity sha512-7eG5NE8rChnNTDxa6LQfynwgHTVOYYaHJbUYSlOhk8QBXIQiMBKq4gyfHBBKPrxUcVBXVJL61ihduCpCQbuNbw==
157+
dependencies:
158+
"@babel/helper-annotate-as-pure" "^7.16.0"
159+
"@babel/helper-module-imports" "^7.16.0"
160+
babel-plugin-syntax-jsx "^6.18.0"
161+
lodash "^4.17.11"
162+
163+
babel-plugin-syntax-jsx@^6.18.0:
164+
version "6.18.0"
165+
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946"
166+
integrity sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY=
167+
168+
camelize@^1.0.0:
169+
version "1.0.0"
170+
resolved "https://registry.yarnpkg.com/camelize/-/camelize-1.0.0.tgz#164a5483e630fa4321e5af07020e531831b2609b"
171+
integrity sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs=
172+
173+
chalk@^2.0.0:
174+
version "2.4.2"
175+
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
176+
integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
177+
dependencies:
178+
ansi-styles "^3.2.1"
179+
escape-string-regexp "^1.0.5"
180+
supports-color "^5.3.0"
181+
182+
color-convert@^1.9.0:
183+
version "1.9.3"
184+
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
185+
integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==
186+
dependencies:
187+
color-name "1.1.3"
188+
189+
color-name@1.1.3:
190+
version "1.1.3"
191+
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
192+
integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
193+
194+
css-color-keywords@^1.0.0:
195+
version "1.0.0"
196+
resolved "https://registry.yarnpkg.com/css-color-keywords/-/css-color-keywords-1.0.0.tgz#fea2616dc676b2962686b3af8dbdbe180b244e05"
197+
integrity sha1-/qJhbcZ2spYmhrOvjb2+GAskTgU=
198+
199+
css-to-react-native@^3.0.0:
200+
version "3.0.0"
201+
resolved "https://registry.yarnpkg.com/css-to-react-native/-/css-to-react-native-3.0.0.tgz#62dbe678072a824a689bcfee011fc96e02a7d756"
202+
integrity sha512-Ro1yETZA813eoyUp2GDBhG2j+YggidUmzO1/v9eYBKR2EHVEniE2MI/NqpTQ954BMpTPZFsGNPm46qFB9dpaPQ==
203+
dependencies:
204+
camelize "^1.0.0"
205+
css-color-keywords "^1.0.0"
206+
postcss-value-parser "^4.0.2"
207+
208+
debug@^4.1.0:
209+
version "4.3.3"
210+
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664"
211+
integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==
212+
dependencies:
213+
ms "2.1.2"
214+
215+
escape-string-regexp@^1.0.5:
216+
version "1.0.5"
217+
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
218+
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
219+
220+
globals@^11.1.0:
221+
version "11.12.0"
222+
resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
223+
integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==
224+
225+
has-flag@^3.0.0:
226+
version "3.0.0"
227+
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
228+
integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0=
229+
230+
hoist-non-react-statics@^3.0.0:
231+
version "3.3.2"
232+
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"
233+
integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==
234+
dependencies:
235+
react-is "^16.7.0"
236+
237+
js-tokens@^4.0.0:
238+
version "4.0.0"
239+
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
240+
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
241+
242+
jsesc@^2.5.1:
243+
version "2.5.2"
244+
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
245+
integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==
246+
247+
lodash@^4.17.11:
248+
version "4.17.21"
249+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
250+
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
251+
252+
ms@2.1.2:
253+
version "2.1.2"
254+
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
255+
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
256+
257+
postcss-value-parser@^4.0.2:
258+
version "4.2.0"
259+
resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514"
260+
integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==
261+
262+
react-is@^16.7.0:
263+
version "16.13.1"
264+
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
265+
integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
266+
267+
shallowequal@^1.1.0:
268+
version "1.1.0"
269+
resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8"
270+
integrity sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==
271+
272+
source-map@^0.5.0:
273+
version "0.5.7"
274+
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
275+
integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=
276+
277+
styled-components@^5.3.3:
278+
version "5.3.3"
279+
resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-5.3.3.tgz#312a3d9a549f4708f0fb0edc829eb34bde032743"
280+
integrity sha512-++4iHwBM7ZN+x6DtPPWkCI4vdtwumQ+inA/DdAsqYd4SVgUKJie5vXyzotA00ttcFdQkCng7zc6grwlfIfw+lw==
281+
dependencies:
282+
"@babel/helper-module-imports" "^7.0.0"
283+
"@babel/traverse" "^7.4.5"
284+
"@emotion/is-prop-valid" "^0.8.8"
285+
"@emotion/stylis" "^0.8.4"
286+
"@emotion/unitless" "^0.7.4"
287+
babel-plugin-styled-components ">= 1.12.0"
288+
css-to-react-native "^3.0.0"
289+
hoist-non-react-statics "^3.0.0"
290+
shallowequal "^1.1.0"
291+
supports-color "^5.5.0"
292+
293+
supports-color@^5.3.0, supports-color@^5.5.0:
294+
version "5.5.0"
295+
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
296+
integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==
297+
dependencies:
298+
has-flag "^3.0.0"
299+
300+
to-fast-properties@^2.0.0:
301+
version "2.0.0"
302+
resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"
303+
integrity sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h1>Rock Paper Scissors</h1>
2626
<button>Paper</button>
2727
<button>Rock</button>
2828
<button>Scissors</button>
29-
<img src="./image/outline_replay_circle_filled_black_24dp.png" alt="retry button" class="retry">
29+
<img src="../image/outline_replay_circle_filled_black_24dp.png" alt="retry button" class="retry">
3030
</section>
3131
<div class="result"></div>
3232
</body>

가위바위보/Junghoon-P/react-rsp-game/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"react": "^17.0.2",
1010
"react-dom": "^17.0.2",
1111
"react-scripts": "5.0.0",
12+
"styled-components": "^5.3.3",
1213
"web-vitals": "^2.1.0"
1314
},
1415
"scripts": {
634 Bytes
Loading
Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,49 @@
1-
import React from "react";
1+
import React, { useState, useEffect } from "react";
2+
import styled from "styled-components";
23

34
const Rcp = () => {
4-
return <div></div>;
5+
return (
6+
<Container>
7+
<header>
8+
<h1>Rock Paper Scissors</h1>
9+
</header>
10+
<section id="list-game"></section>
11+
<Section>
12+
<Button>Rock</Button>
13+
<Button>Paper</Button>
14+
<Button>Scissors</Button>
15+
<img
16+
src="../image/outline_replay_circle_filled_black_24dp.png"
17+
alt="retry button"
18+
class="retry"
19+
/>
20+
</Section>
21+
<div class="result"></div>
22+
</Container>
23+
);
524
};
625

726
export default Rcp;
27+
28+
const Container = styled.main`
29+
${(props) => props.theme.setFlex("center", "center")};
30+
flex-direction: column;
31+
width: 100vw;
32+
height: 100vh;
33+
background-color: ${(props) => props.theme.mainColor};
34+
`;
35+
36+
const Section = styled.section`
37+
${(props) => props.theme.setFlex("center", "center")};
38+
`;
39+
40+
const Button = styled.button`
41+
width: 10rem;
42+
height: 10rem;
43+
border: none;
44+
border-radius: 5rem;
45+
font-weight: 600;
46+
font-size: 2rem;
47+
margin-right: 3rem;
48+
cursor: pointer;
49+
`;

가위바위보/Junghoon-P/react-rsp-game/src/styles/GlobalStyle.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ footer, header, hgroup, menu, nav, section {
2929
3030
* {
3131
box-sizing: border-box;
32+
font-size: 10px;
3233
font-family: 'Noto Sans KR', sans-serif;
3334
}
3435

0 commit comments

Comments
 (0)