Skip to content

Commit 67f942e

Browse files
committed
Enlarge bullet comment text size
1 parent 9a1f399 commit 67f942e

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,12 @@
4545
```
4646
.
4747
├── config.json # config must be named config.json
48-
├── image1.jpg # image file names must suffix with .jpg
49-
├── image2.jpg
50-
└── ...
48+
├── normal # folder to put normal images
49+
| ├── image1.jpg # normal image
50+
| └── ...
51+
└── blur # folder to put blur images
52+
├── image1.jpg # blur image
53+
└── ...
5154
```
5255
- See [Configuration](#configuration) for more information about `config.json`.
5356
2. Upload the zipped folder to a cloud storage services(ex: dropbox) and generate a share link.
@@ -129,15 +132,15 @@ Visit http://localhost:5566/admin-index.html and login(default password:happy) t
129132
130133
## Images
131134
132-
Put your images into `src/public/images/`.
135+
Put your images into `src/public/images/normal`.
136+
Put the blur images into `src/public/images/blur`.
133137
134138
Compress image:
135139
```shell
136140
src=PATH/TO/INPUT/IMAGES
137-
dst=PATH/TO/OUTPUT/IMAGES
138141
for i in `ls $src`; do
139-
gm convert -size 1280x1280 $src/$i -resize 1280x1280 $dst/normal/$i
140-
gm convert $dst/normal/$i -blur 0x4 $dst/blur/$i
142+
gm convert -size 1280x1280 $src/$i -resize 1280x1280 images/normal/$i
143+
gm convert images/normal/$i -blur 0x4 images/blur/$i
141144
done
142145
```
143146

heroku-prebuild.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ curl -L -o /tmp/wedding/file.zip ${DOWNLOAD_URL}
2727
unzip /tmp/wedding/file.zip -d /tmp/wedding
2828
rm -f /tmp/wedding/file.zip
2929
rm -f ./src/config/config.json
30-
rm -f ./src/public/images/*
30+
rm -rf ./src/public/images/*
3131
find /tmp/wedding -name 'config.*' | xargs -I '{}' mv '{}' ./src/config/config.json
32-
find /tmp/wedding -type f -not -path '*/\.*' | xargs -I '{}' mv '{}' ./src/public/images/
32+
# find /tmp/wedding -type f -not -path '*/\.*' | xargs -I '{}' mv '{}' ./src/public/images/
33+
find src/ -type d -name normal | xargs -I '{}' mv '{}' ./src/public/images/normal
34+
find src/ -type d -name blur | xargs -I '{}' mv '{}' ./src/public/images/blur
3335
rm -rf /tmp/wedding

src/frontend/src/components/slideshow/bulletcomment.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.bulletcomment {
2-
font-size: 32px;
2+
font-size: 40px;
33
position: fixed;
44
left: 0px;
55
transition-timing-function: linear;

0 commit comments

Comments
 (0)