@rxdi/ui-components
Version:
UI Components for building graphql-server website
28 lines (26 loc) • 863 B
text/typescript
import { html, Component } from '@rxdi/lit-html';
import { style } from './app.component.css';
/**
* @customElement app-component
*/
({
selector: 'app-component',
style,
template: () => html`
<div style="top:0px; background: #1c1f24;z-index: 1000">
<a href="/ui-components/"><button class="button">Hamburger</button> </a>
<a href="/ui-components/markdown-reader/link"
><button class="button">Markdown Link</button>
</a>
<a href="/ui-components/markdown-reader/rxdi/ui-components/README.md"
><button class="button">Markdown Route Params</button>
</a>
<a href="/ui-components/responsive"
><button class="button">Responsive Service</button>
</a>
</div>
<router-outlet></router-outlet>
`,
container: document.body
})
export class AppComponent extends HTMLElement {}