Skip to content

Commit

Permalink
feat: 馃幐 Removed download from head, added buttons to banner (#42)
Browse files Browse the repository at this point in the history
* feat: 馃幐 Removed download from head, added buttons to banner

Co-authored-by: irony <christian@landgren.nu>
  • Loading branch information
JohanObrink and irony committed Feb 8, 2021
1 parent d6e3554 commit 1e45d28
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 23 deletions.
18 changes: 18 additions & 0 deletions packages/site/assets/css/style.css
Expand Up @@ -1346,6 +1346,24 @@ label input[type="radio"] {
.main-header.sticky {
padding: 15px 0;
}

.app-store-buttons {
flex: 1;
flex-direction: row;
align-items: center;
}
img.appstore {
width: auto;
}
img.appstore.ios {
height: 60px;
}
img.appstore.android {
height: 87px;
}
img.disabled {
opacity: 0.6;
}
/*==============================================
05: Feature area
==============================================*/
Expand Down
39 changes: 39 additions & 0 deletions packages/site/assets/img/appstore.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/site/assets/img/playstore.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 9 additions & 7 deletions packages/site/components/Banner.js
Expand Up @@ -8,6 +8,12 @@ import shape4 from '../assets/img/banner/shaps4.png'
import shape5 from '../assets/img/banner/shaps5.png'
import shape6 from '../assets/img/banner/shaps6.png'
import shape7 from '../assets/img/banner/shaps7.png'
import appstore from '../assets/img/appstore.svg'
import playstore from '../assets/img/playstore.png'

const coolIt = () => {
alert('Lugn i stormen. Appen v盲ntar p氓 godk盲nnande. Snart kan du ladda ner den! 馃槉')
}

const Banner = () => {
return (
Expand Down Expand Up @@ -73,13 +79,9 @@ const Banner = () => {
Google Play Store vilken dag som helst.
</b>
</p>
<p>
<a href="#" className="btn">
App Store
</a>
<a href="#" className="btn">
Google Play Store
</a>
<p className="app-store-buttons">
<a onClick={coolIt}><img src={appstore} className="appstore ios disabled" /></a>
<a onClick={coolIt}><img src={playstore} className="appstore android disabled" /></a>
</p>
<p>
<Link href="/integritet">
Expand Down
17 changes: 1 addition & 16 deletions packages/site/components/Header.js
Expand Up @@ -61,7 +61,7 @@ const HeaderHome = (props) => {
</Link>
</div>
</div>
<div className="col-xl-6 col-lg-6 col-md-4 col-6 menu-button">
<div className="col-xl-9 col-lg-9 col-md-8 col-6 menu-button">
<div className="menu--inner-area clearfix">
<div className="menu-wraper">
<nav>
Expand All @@ -78,21 +78,6 @@ const HeaderHome = (props) => {
</div>
</div>
</div>
<div className="col-lg-3 col-md-4 col-sm-5 d-md-block d-none">
<div className="urgent-call text-right">
<a
href="#"
className="btn"
onClick={() =>
alert(
'H氓ll ut! Appen kommer snart p氓 App Store och Google Play'
)
}
>
Ladda ner
</a>
</div>
</div>
</div>
</div>
</div>
Expand Down

1 comment on commit 1e45d28

@vercel
Copy link

@vercel vercel bot commented on 1e45d28 Feb 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.