diff --git a/base/package.json b/base/package.json index 90b6a76..383975f 100644 --- a/base/package.json +++ b/base/package.json @@ -3,7 +3,7 @@ "dot": "^2.0.0-beta.1", "flaska": "^1.3.2", "formidable": "^1.2.6", - "msnodesqlv8": "^2.4.7", + "msnodesqlv8": "^2.7.0", "nconf-lite": "^2.0.0" } } diff --git a/heimaerbest/app/site_frontpage.js b/heimaerbest/app/site_frontpage.js index 84732f7..fef22d4 100644 --- a/heimaerbest/app/site_frontpage.js +++ b/heimaerbest/app/site_frontpage.js @@ -138,11 +138,12 @@ const Frontpage = { ]), m('section.tips', [ m('div.image.house2'), + m('div.space'), m('div.content', [ m('h2', 'Góð ráð þegar kemur að kaupa fasteign'), m('p', 'Að undirbúa eignina þína fyrir sölusýningu eða opið hús er lykil atriði og það mun ekki bara hjálpa til við sölu heldur getur það hækkað endanlegt verð eignarinnar umtalsvert.'), m('p', 'Það eru smáatriðin sem skipta máli þegar kemur að því að sýna eignina. Taktu til, hugaðu að lýsingu og gerðu kósí.'), - m('p', ' '), + m('p', m.trust(' ')), m('div.checkmark', 'Lagaðu til og hafðu heimilið aðlaðandi'), m('div.checkmark', 'Falleg lýsing skiptir máli'), m('div.checkmark', 'Kveiktu á ilmkertum eða bakaðu smákökur til að fá fram heimilislega lykt'), diff --git a/heimaerbest/public/assets/img/checkmark.svg b/heimaerbest/public/assets/img/checkmark.svg new file mode 100644 index 0000000..1951d6d --- /dev/null +++ b/heimaerbest/public/assets/img/checkmark.svg @@ -0,0 +1,4 @@ + + + + diff --git a/heimaerbest/public/index.html b/heimaerbest/public/index.html index 35185e8..4238fe8 100644 --- a/heimaerbest/public/index.html +++ b/heimaerbest/public/index.html @@ -203,6 +203,7 @@ header .links a.button { } /* ---------------- main ---------------- */ +/* ---------------- top ---------------- */ section { margin: 1rem 1rem 5rem; @@ -250,6 +251,48 @@ section.title .form h5 { margin: 2rem 0; } +/* ---------------- tips ---------------- */ + +section.tips { + display: flex; + margin: 3rem 3rem 14rem; +} + +section.tips .image { + flex: 1 1 100px; + background: url('/assets/img/house_2.png') center no-repeat; + background-size: cover; + border-radius: var(--section-radius); +} + +section.tips .content { + flex: 1 1 100px; + padding: 3rem 0rem; +} + +section.tips .space { + flex: 0 0 100px; +} + +section.tips h2 { + margin-bottom: 1rem; +} + +section.tips p { + font-size: 0.8rem; + font-weight: 350; + margin-bottom: 1rem; +} + +section.tips .checkmark { + background: url('/assets/img/checkmark.svg') left top no-repeat; + background-size: auto 52px; + min-height: 52px; + margin-bottom: 1rem; + padding: 0.8rem 0 0 5rem; + font-weight: 600; +} + /* ---------------- form ---------------- */ .form-group { diff --git a/nfp_moe/public/assets/img/favicon.png b/nfp_moe/public/assets/img/favicon.png index 984f71e..d8ecd25 100644 Binary files a/nfp_moe/public/assets/img/favicon.png and b/nfp_moe/public/assets/img/favicon.png differ