fix images
This commit is contained in:
parent
11f3ee76ba
commit
9eafbace4c
BIN
dist/3cd0c7e3db1081cd7bde.png
vendored
Normal file
BIN
dist/3cd0c7e3db1081cd7bde.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
BIN
dist/b58fb5aa9ca6a7f04918.png
vendored
Normal file
BIN
dist/b58fb5aa9ca6a7f04918.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
BIN
dist/b868c75611075ed2d2eb.png
vendored
Normal file
BIN
dist/b868c75611075ed2d2eb.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 60 KiB |
2
dist/index.js
vendored
Normal file
2
dist/index.js
vendored
Normal file
File diff suppressed because one or more lines are too long
29
dist/index.js.LICENSE.txt
vendored
Normal file
29
dist/index.js.LICENSE.txt
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
/**
|
||||
* @license React
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
4
index.d.ts
vendored
Normal file
4
index.d.ts
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
declare module '*.png' {
|
||||
const path: string;
|
||||
export default path;
|
||||
}
|
@ -1,5 +1,10 @@
|
||||
import React from "react";
|
||||
|
||||
import logo from '../assets/logo_1x.png'
|
||||
import logo2x from '../assets/logo_2x.png'
|
||||
import logo4x from '../assets/logo_4x.png'
|
||||
import cucumber from '../assets/cucumber.png'
|
||||
|
||||
export const LandingPage = () => {
|
||||
return (
|
||||
<>
|
||||
@ -8,13 +13,13 @@ export const LandingPage = () => {
|
||||
className="logo"
|
||||
height="44p"
|
||||
width="227"
|
||||
src="./assets/logo_4x.png"
|
||||
src={logo4x}
|
||||
alt="Логотип. Надпись Рик и Морти"
|
||||
srcSet="
|
||||
./assets/logo_1x.png 220w,
|
||||
./assets/logo_2x.png 445w,
|
||||
./assets/logo_4x.png 880w
|
||||
"
|
||||
srcSet={`
|
||||
${logo} 220w,
|
||||
${logo2x} 445w,
|
||||
${logo4x} 880w,
|
||||
`}
|
||||
sizes="
|
||||
(max-width: 240px) 100px,
|
||||
(min-width: 320px) 440px,
|
||||
@ -87,7 +92,7 @@ export const LandingPage = () => {
|
||||
Смита.
|
||||
</p>
|
||||
</div>
|
||||
<img className="card--img" src="./assets/cucumber.png" alt="" />
|
||||
<img className="card--img" src={cucumber} alt="" />
|
||||
</article>
|
||||
</main>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user