summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/welcome/onboarding_welcome/landing_view.html
blob: e5046308305e27229115e281532c36592a259cd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<link rel="import" href="chrome://resources/html/polymer.html">

<link rel="import" href="chrome://resources/cr_elements/paper_button_style_css.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html">
<link rel="import" href="navigation_behavior.html">
<link rel="import" href="welcome_browser_proxy.html">

<dom-module id="landing-view">
  <template>
    <style include="paper-button-style">
      #container {
        align-items: center;
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: center;
        margin: auto;
        width: 800px;
      }

      h1 {
        font-size: 4rem;
        margin-bottom: 20px;
      }

      h2 {
        color: darkgrey;
        font-size: 1.5rem;
      }

      paper-button {
        font-size: 1rem;
        height: 2.5rem;
        text-align: center;
        white-space: nowrap;
        width: 220px;
      }
    </style>
    <!-- TODO(scottchen): localize -->
    <div id="container">
      <h2>Set up your browser in a few simple steps</h2>
      <h1>Make Chrome your own</h1>
      <paper-button class="action-button" on-click="onNewUserClick_">
        Get Started
      </paper-button>
      <paper-button on-click="onExistingUserClick_">
        Already set up? Sign in
      </paper-button>
    </div>
  </template>
  <script src="landing_view.js"></script>
</dom-module>