Skip to content

Instantly share code, notes, and snippets.

@salim523
Last active August 29, 2015 14:15
Show Gist options
  • Save salim523/fa306b063ec1ed8b353d to your computer and use it in GitHub Desktop.
Save salim523/fa306b063ec1ed8b353d to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-pages/core-pages.html">
<polymer-element name="my-element">
<template>
<style>
:host {
width: 100%;
height: 100%;
background-color: rgb(241, 241, 241);
}
</style>
<core-header-panel flex>
<core-toolbar id="core_toolbar" horizontal layout>
<div id="logo" flex>LOGO</div>
<paper-tabs selected="{{ selected }}" valueattr="href" id="nav" link horizontal layout end end-justified>
<paper-tab inline flex center-center horizontal layout>
<a href="#home" horizontal center-center layout>Home</a>
</paper-tab>
<paper-tab inline flex center-center horizontal layout>
<a href="#apply" horizontal center-center layout>Apply</a>
</paper-tab>
<paper-tab inline flex center-center horizontal layout>
<a href="#schedule" horizontal center-center layout>Schedule</a>
</paper-tab>
<paper-tab inline flex center-center horizontal layout>
<a href="#contact" horizontal center-center layout>Contact</a>
</paper-tab>
</paper-tabs>
</core-toolbar>
<core-pages selected="{{ selected }}" valueattr="id" notap>
<section id="home">
<h1>Home</h1>
<p>Home Content</p>
</section>
<section id="apply">
<h1>Apply</h1>
<p>Apply Content</p>
</section>
<section id="schedule">
<h1>Schedule</h1>
<p>Schedule Content</p>
</section>
<section id="contact">
<h1>Contact</h1>
<p>Contact Content</p>
</section>
</core-pages>
</core-header-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment