Skip to content

Commit 9587d78

Browse files
committedJan 8, 2022
fix: hotfix
1 parent 875dd27 commit 9587d78

File tree

6 files changed

+21
-7
lines changed

6 files changed

+21
-7
lines changed
 

‎readme.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
**Deploy: https://unsky559.github.io/t004/**
2+
3+
```shell
4+
cd src
5+
```
6+
## dev server
7+
```shell
8+
npm run serve
9+
```
10+
## build
11+
```shell
12+
npm run build
13+
```
14+
build project to root ```dist``` folder

‎src/components/downloadSection/downloadSection.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import IconBtn from "../iconBtn/iconBtn";
55
const DownloadSection = () => {
66
return (
77
<div className="downloadSection" style={{
8-
"background-image": "url(../static/images/bg_yooosi_app-min.png)"
8+
"background-image": "url(static/images/bg_yooosi_app-min.png)"
99
}}>
1010
<div className="container">
1111

‎src/components/dropdownFavs/dropdownFavs.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const DropdownFavs = () => {
1515
</div>
1616

1717
<div className="controls">
18-
<IconBtn icon="../static/icons/icon_heard.png"
19-
hoverLabel="../static/icons/icon_heard_d.png"/>
18+
<IconBtn icon="static/icons/icon_heard.png"
19+
hoverLabel="static/icons/icon_heard_d.png"/>
2020
</div>
2121
</button>
2222
</div>

‎src/components/fullScreenMenu/fullScreenMenu.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ const FullScreenMenu = (props) => {
4040
<section className="downloadApp">
4141
<h4 className="downloadTitle">Download app</h4>
4242
<div className="iconLinks">
43-
<a href=""><img src="../static/icons/img-play-store.png" alt=""/></a>
44-
<a href=""><img src="../static/icons/img-app-store.png" alt=""/></a>
43+
<a href=""><img src="static/icons/img-play-store.png" alt=""/></a>
44+
<a href=""><img src="static/icons/img-app-store.png" alt=""/></a>
4545
</div>
4646
</section>
4747
</div>

‎src/components/header/header.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const Header = (props) => {
4040
<Dropdown header={<IconBtn icon="static/icons/icon_message.png" label={5}/>}>
4141
<DropdownMessages/>
4242
</Dropdown>
43-
<IconBtn className="microSearch" icon="../static/icons/icon_search.png" />
43+
<IconBtn className="microSearch" icon="static/icons/icon_search.png" />
4444
</div>
4545
</div>
4646
<div className="searchBlock">

‎src/webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = {
1919
title: 'Title',
2020
template: path.resolve(__dirname, 'index.html'),
2121
inject: 'head',
22-
publicPath: "/"
22+
publicPath: "./"
2323
}),
2424
new CopyPlugin({
2525
patterns: [

0 commit comments

Comments
 (0)