import { css, html, LitElement } from 'lit'; import { customElement } from 'lit/decorators.js'; import { defineComponents, IgcIconComponent, } from 'igniteui-webcomponents'; defineComponents(IgcIconComponent); @customElement('app-home') export class HomeComponent extends LitElement { static styles = css` :host { display: flex; width: 100%; min-height: 100%; } .home { width: 100%; max-width: 920px; margin: auto; padding: 48px 24px; box-sizing: border-box; font-family: "Titillium Web", "Segoe UI", Arial, sans-serif; } .home__intro { max-width: 720px; margin: 0 auto 24px; text-align: center; } h1 { margin: 0 0 12px; color: #09f; font-size: 3rem; font-weight: 600; line-height: 1.2; } .home__description { margin: 0; color: #000; font-size: 1.125rem; line-height: 1.5; } .home__image { display: block; width: 500px; height: 350px; margin: 0 auto 28px; max-width: 100%; object-fit: contain; } .home__resources { display: grid; grid-template-columns: repeat(2, 300px); justify-content: center; margin: 0 auto; gap: 12px 64px; } .home__resource { display: flex; align-items: center; min-height: 64px; padding: 6px 0; color: rgba(0, 0, 0, .74); text-align: left; text-decoration: none; } .home__resource:hover strong { text-decoration: underline; } .home__resource igc-icon { flex: 0 0 28px; margin-right: 16px; color: #09f; font-size: 28px; } .home__resource strong, .home__resource small { display: block; } .home__resource strong { margin-bottom: 2px; color: #731963; font-size: 1rem; } .home__resource small { color: #000; font-size: 0.875rem; line-height: 1.4; } @media (max-width: 768px) { .home { padding: 32px 16px; } h1 { font-size: 2.25rem; } .home__image { width: 100%; height: 240px; } .home__resources { grid-template-columns: minmax(0, 300px); justify-content: center; gap: 4px; } } `; render() { return html`

Welcome to Ignite UI for Web Components!

A routed application shell with a responsive side navigation drawer and curated Ignite UI resources.

Ignite UI for Web Components
`; } }