Search

Navigation

Navigation005

A navigation template. Items have a minimum width set, and the number of columns changes according to the container width.

大きい画面で見る
Code
en.astro
---
import DemoLayout from '@/layouts/DemoLayout.astro';

import { Container, Grid, Icon, BoxLink, Stack, Text, Inline, Heading } from 'lism-css/astro';
import './_style.css';
---

<DemoLayout title="Navigation005">
  <Container isWrapper="l" bgc="base-2" py="50" hasGutter>
    <Stack g="50">
      <Heading level="2" class="u--trim" fz="5xl" fw="bold" ff="accent" c="gray">Navigation</Heading>
      <Stack g="40">
        <Grid gtc="repeat(auto-fit, minmax(200px, 1fr))" g="40 50">
          <Grid gtr="subgrid" gr="span 2" g="30">
            <Stack g="15">
              <Text class="u--trim" fz="l" fw="bold">Products</Text>
              <Text class="u--trim" fz="xs" o="pp">PRODUCTS</Text>
            </Stack>
            <Stack g="5">
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>Kitchen</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>Living</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>Audio</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>Lighting</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>Limited Editions</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
            </Stack>
          </Grid>
          <Grid gtr="subgrid" gr="span 2" g="30">
            <Stack g="15">
              <Text class="u--trim" fz="l" fw="bold">Company</Text>
              <Text class="u--trim" fz="xs" o="pp">COMPANY</Text>
            </Stack>
            <Stack g="5">
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>About Us</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>History</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>News Releases</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>Media Coverage</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>Investor Relations</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
            </Stack>
          </Grid>
          <Grid gtr="subgrid" gr="span 2" g="30">
            <Stack g="15">
              <Text class="u--trim" fz="l" fw="bold">Stories</Text>
              <Text class="u--trim" fz="xs" o="pp">STORIES</Text>
            </Stack>
            <Stack g="5">
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>Designer Interviews</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>Behind the Scenes</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>Customer Testimonials</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>Blog</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>Events</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
            </Stack>
          </Grid>
          <Grid gtr="subgrid" gr="span 2" g="30">
            <Stack g="15">
              <Text class="u--trim" fz="l" fw="bold">Careers</Text>
              <Text class="u--trim" fz="xs" o="pp">CAREERS</Text>
            </Stack>
            <Stack g="5">
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>How We Work</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>Open Positions</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>New Graduates</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>Mid-career Hiring</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
              <BoxLink href="#" layout="grid" gtc="1fr auto" ai="center" g="20" py="15" hov="-c">
                <Inline>Internships</Inline>
                <Icon icon="caret-right" />
              </BoxLink>
            </Stack>
          </Grid>
        </Grid>
      </Stack>
    </Stack>
  </Container>
</DemoLayout>
style.css