Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.
/ Orion Public archive

Commit

Permalink
Merge pull request #121 from Siderus/feature/134-add-subscribe-to-sid…
Browse files Browse the repository at this point in the history
…erus

Add subscribe button to welcome window
  • Loading branch information
kernelwhisperer authored May 29, 2018
2 parents 4f71188 + 15d68fa commit a2b7e2d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/windows/Welcome/Components/WelcomePage.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react'
import OrionLogo from '../../../../docs/logo.svg'
import styled from 'styled-components'
import { shell } from 'electron'

import {
Window,
Expand All @@ -14,6 +15,10 @@ const Centered = styled.div`
text-align: center !important;
`

const handleSubscribe = () => {
shell.openExternal('http://eepurl.com/dfB6q5')
}

function WelcomePage ({ onNext }) {
return (
<Window>
Expand All @@ -24,6 +29,7 @@ function WelcomePage ({ onNext }) {
<h3>Welcome</h3>
<p>Siderus Orion is the easiest way to start using the decentralised web with IPFS and Siderus Network. It supports a larger number of dApps as wel as the IPFS Browser Companion, to speed up your connection when surfing the decentralised web.</p>
<p>This wizard will help you with the initial requirements.</p>
<Button text="Subscribe to Siderus Newsletter" ptStyle="positive" ptSize="large" onClick={handleSubscribe} />
</Centered>
</Content>
<Toolbar ptType="footer">
Expand Down

0 comments on commit a2b7e2d

Please sign in to comment.