Skip to content

Commit

Permalink
Activate all download buttons (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
irony authored Feb 14, 2021
1 parent dd5dc03 commit ac7aee4
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 16 deletions.
11 changes: 3 additions & 8 deletions packages/site/components/CtaThree.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Col, Container, Row } from 'react-bootstrap'
import Image from 'next/image'
import img2 from '../assets/img/girls.png'
import DownloadButtons from './DownloadButtons'

const CtaThree = () => {
return (
Expand All @@ -16,14 +17,8 @@ const CtaThree = () => {
direkt se allt som är aktuellt för alla barnen på en och samma
skärm.
</p>
<a
href="https://apps.apple.com/se/app/%C3%B6ppna-skolplattformen/id1543853468"
className="btn"
target="_blank"
rel="noopener noreferrer"
>
App Store
</a>
<DownloadButtons/>

</div>
</Col>
<Col lg={7} sm={7}>
Expand Down
10 changes: 2 additions & 8 deletions packages/site/components/CtaTwo.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Col, Container, Row } from 'react-bootstrap'
import Image from 'next/image'
import img1 from '../assets/img/boys.png'
import DownloadButtons from './DownloadButtons'

const CtaTwo = () => {
return (
Expand All @@ -20,14 +21,7 @@ const CtaTwo = () => {
kommunikation går direkt mellan din telefon och Skolplattformens
servrar. Du loggar in med BankID som vanligt.
</p>
<a
href="https://apps.apple.com/se/app/%C3%B6ppna-skolplattformen/id1543853468"
className="btn"
target="_blank"
rel="noopener noreferrer"
>
App Store
</a>
<DownloadButtons/>
</div>
</Col>
</Row>
Expand Down
24 changes: 24 additions & 0 deletions packages/site/components/DownloadButtons.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
const CtaThree = () => {
return (
<>
<a
href="https://apps.apple.com/se/app/%C3%B6ppna-skolplattformen/id1543853468"
className="btn"
target="_blank"
rel="noopener noreferrer"
>
App Store
</a>&nbsp;
<a
href="https://play.google.com/store/apps/details?id=org.skolplattformen.app"
className="btn"
target="_blank"
rel="noopener noreferrer"
>
Play Store
</a>
</>
)
}

export default CtaThree

1 comment on commit ac7aee4

@vercel
Copy link

@vercel vercel bot commented on ac7aee4 Feb 14, 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.