Add header image
This commit is contained in:
parent
2f7c82c5a7
commit
6aa552b2ee
3 changed files with 6 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -8,10 +8,12 @@ OUTPUT_DIR=$(BASEDIR)/public
|
||||||
|
|
||||||
build: install
|
build: install
|
||||||
rm -rf $(OUTPUT_DIR)
|
rm -rf $(OUTPUT_DIR)
|
||||||
|
rm -rf $(STATIC_BUILD)
|
||||||
mkdir -p $(STATIC_BUILD)/js $(STATIC_BUILD)/css
|
mkdir -p $(STATIC_BUILD)/js $(STATIC_BUILD)/css
|
||||||
$(NODE_BIN)/browserify $(STATIC_SRC)/js/index.js -o $(STATIC_BUILD)/js/app.js
|
$(NODE_BIN)/browserify $(STATIC_SRC)/js/index.js -o $(STATIC_BUILD)/js/app.js
|
||||||
$(NODE_BIN)/node-sass $(STATIC_SRC)/scss/style.scss $(STATIC_BUILD)/css/style.css --source-map-embed
|
$(NODE_BIN)/node-sass $(STATIC_SRC)/scss/style.scss $(STATIC_BUILD)/css/style.css --source-map-embed
|
||||||
cp -r $(BASEDIR)/node_modules/font-awesome/fonts $(STATIC_BUILD)/fonts
|
cp -r $(BASEDIR)/node_modules/font-awesome/fonts $(STATIC_BUILD)/fonts
|
||||||
|
cp -r $(STATIC_SRC)/img $(STATIC_BUILD)/img
|
||||||
@hugo -vDEF
|
@hugo -vDEF
|
||||||
|
|
||||||
|
|
||||||
|
|
BIN
static/src/img/header.jpg
Normal file
BIN
static/src/img/header.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 784 KiB |
|
@ -18,3 +18,7 @@ $fa-font-path: "../fonts";
|
||||||
ul.actions {
|
ul.actions {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#banner {
|
||||||
|
background-image: url("../img/header.jpg");
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue