Skip to main content

Landing Page Ready

This template shows how to build a simple responsive landing page that utilizes Grid inside Layout component. Please note that the example below does not represent a real use case.

Hint: Press F on your keyboard to view both templates and components in fullscreen and ESC to exit the fullscreen mode. You can also open the template in a new browser window.


Open in new window
<!DOCTYPE html>
<html class="duet-bg-gradient duet-sticky-footer" lang="fi">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<title>LähiTapiola</title>
<link rel="stylesheet" href="https://cdn.duetds.com/api/fonts/3.0.36/lib/localtapiola.css" integrity="sha384-5JYmtSD7nykpUvSmTW1CHMoBDkBZUpUmG0vuh+NUVtZag3F75Kr7+/JU3J7JV6Wq" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.duetds.com/api/css/4.0.18/lib/duet.min.css" integrity="sha384-lXsZJzvyiyIDxPLVC56+vhjfm/vPD4eEAE1z2Q8niyNbr0NgPl6nxGKEkjg18yQf" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.duetds.com/api/tokens/4.0.36/lib/tokens.custom-properties.css" integrity="sha384-bdxOmb87eo3bfxU+AHyrr4fo/iBSqSRZs4tIRaXT/e/8FCLFnV3mcABYDi1/CNQU" crossorigin="anonymous" />
<script type="module" src="https://cdn.duetds.com/api/components/8.4.0/lib/duet/duet.esm.js" integrity="sha384-k6jjwTqRDqMj48MzOlZv4UbSJQpGjVArPXKS4EYcxmUU+huiJgRO+66K7KN+kohP" crossorigin="anonymous"></script>
<script nomodule src="https://cdn.duetds.com/api/components/8.4.0/lib/duet/duet.js" integrity="sha384-uWHPeiybdN7WPOxcNK/EM2ZkaVcXuGUpqYw9IFr+t6Qy6bZ2O6LAlphjvuSrrPei" crossorigin="anonymous"></script>
</head>
<body>
<duet-header
language="fi"
skip-to-id="#content"
contact="Ota yhteyttä"
logo-href="/"
current-href="/vakuutukset/"
items='[
{ "label": "Etusivu", "href": "#" },
{ "label": "Edut", "href": "#" },
{ "label": "Vakuutukset", "href": "/vakuutukset/" },
{ "label": "Säästöt ja sijoitukset", "href": "#" },
{ "label": "Ilmoita vahingosta", "href": "#" },
{ "label": "Asiakaspalvelu", "href": "#" },
{ "label": "Rahoitus ja pankki", "href": "#" }
]'

language-items='[
{ "label": "Suomeksi", "country": "fi", "href": "#" },
{ "label": "På Svenska", "country": "sv", "href": "#" },
{ "label": "In English", "country": "en", "href": "#" }
]'

contact-items='[
{ "label": "Lähetä viesti", "href": "#" },
{ "label": "Avaa chat", "href": "#" },
{ "label": "Yhteystiedot", "href": "#" }
]'

session='{ "label": "Kirjaudu sisään", "href": "#", "type": "login" }'>

</duet-header>
<duet-hero
heading="Ajoneuvovakuutukset"
button-label="Hae hinta ja osta"
button-url="#"
id="content"
variation="image"
text-center
description="Vakuuta meillä kulkupelisi. Henkilö- ja pakettiautojen kaskossa ja liikennevakuutuksessa on Bonusturva, joka varmistaa bonuksesi, vaikka kolari sattuisi.">

</duet-hero>
<duet-layout>
<div slot="main">
<duet-grid responsive alignment="stretch" breakpoint="x-large">
<duet-grid-item fill>
<duet-card url="#" style="height:100%" image="/assets/img/templates/card1.jpg" margin="none">
<duet-heading level="h2" visual-level="h4">Autovakuutus</duet-heading>
<duet-paragraph margin="none">
Valitse autollesi Suomen suosituin autovakuutus.
</duet-paragraph>
<duet-button tabindex="-1" variation="plain" icon="action-arrow-right-small" icon-right icon-size="small" padding="none">Tutustu</duet-button>
</duet-card>
</duet-grid-item>
<duet-grid-item fill>
<duet-card url="#" style="height:100%" image="/assets/img/templates/card2.jpg" margin="none">
<duet-heading level="h2" visual-level="h4">Moottoripyörävakuutus</duet-heading>
<duet-paragraph margin="none">
Edullinen ja kattava moottoripyörävakuutus koostuu kaskosta ja liikenne&shy;vakuutuksesta.
</duet-paragraph>
<duet-button tabindex="-1" variation="plain" icon="action-arrow-right-small" icon-right icon-size="small" padding="none">Tutustu</duet-button>
</duet-card>
</duet-grid-item>
<duet-grid-item fill>
<duet-card url="#" style="height:100%" image="/assets/img/templates/card3.jpg" margin="none">
<duet-heading level="h2" visual-level="h4">Mopovakuutus</duet-heading>
<duet-paragraph margin="none">
Mopollesi tai skootterillesi Suomen suosituin mopovakuutus.
</duet-paragraph>
<duet-button tabindex="-1" variation="plain" icon="action-arrow-right-small" icon-right icon-size="small" padding="none">Tutustu</duet-button>
</duet-card>
</duet-grid-item>
</duet-grid>
<duet-spacer size="large" breakpoint="x-large"></duet-spacer>
<duet-grid responsive alignment="stretch" breakpoint="x-large">
<duet-grid-item fill>
<duet-card url="#" style="height:100%" image="/assets/img/templates/card4.jpg" margin="none">
<duet-heading level="h2" visual-level="h4">Muiden ajoneuvojen vakuutus</duet-heading>
<duet-paragraph margin="none">
Vakuuta moottorikelkka, mönkijä, matkailuauto tai -vaunu, peräkärry tai traktori.
</duet-paragraph>
<duet-button tabindex="-1" variation="plain" icon="action-arrow-right-small" icon-right icon-size="small" padding="none">Tutustu</duet-button>
</duet-card>
</duet-grid-item>
<duet-grid-item fill>
<duet-card url="#" style="height:100%" image="/assets/img/templates/card5.jpg" margin="none">
<duet-heading level="h2" visual-level="h4">Museo- ja harraste&shy;ajoneuvo&shy;vakuutus</duet-heading>
<duet-paragraph margin="none">
Kaskovakuutus korvaa omalle museo- ja harrasteajoneuvolle aiheutuneet vahingot.
</duet-paragraph>
<duet-button tabindex="-1" variation="plain" icon="action-arrow-right-small" icon-right icon-size="small" padding="none">Tutustu</duet-button>
</duet-card>
</duet-grid-item>
<duet-grid-item fill>
<duet-card url="#" style="height:100%" image="/assets/img/templates/card6.jpg" margin="none">
<duet-heading level="h2" visual-level="h4">Liikennevakuutus</duet-heading>
<duet-paragraph margin="none">
Liikennevakuutus tarvitaan kaikille liikenteessä käytettäville ajoneuvoille.
</duet-paragraph>
<duet-button tabindex="-1" variation="plain" icon="action-arrow-right-small" icon-right icon-size="small" padding="none">Tutustu</duet-button>
</duet-card>
</duet-grid-item>
</duet-grid>
<duet-spacer size="large" breakpoint="x-large"></duet-spacer>
<duet-grid responsive alignment="stretch" breakpoint="x-large">
<duet-grid-item fill>
<duet-card url="#" style="height:100%" image="/assets/img/templates/card7.jpg" margin="none">
<duet-heading level="h2" visual-level="h4">Autovakuutuslaskuri</duet-heading>
<duet-paragraph margin="none">
Vakuuta moottorikelkka, mönkijä, matkailuauto tai -vaunu, peräkärry tai traktori.
</duet-paragraph>
<duet-button tabindex="-1" variation="plain" icon="action-arrow-right-small" icon-right icon-size="small" padding="none">Tutustu</duet-button>
</duet-card>
</duet-grid-item>
<duet-grid-item fill>
<duet-card url="#" style="height:100%" image="/assets/img/templates/card8.jpg" margin="none">
<duet-heading level="h2" visual-level="h4">Kaskovakuutus</duet-heading>
<duet-paragraph margin="none">
Entistä paremmat kaskot samaan hintaan.
</duet-paragraph>
<duet-button tabindex="-1" variation="plain" icon="action-arrow-right-small" icon-right icon-size="small" padding="none">Tutustu</duet-button>
</duet-card>
</duet-grid-item>
<duet-grid-item fill>
<duet-card url="#" style="height:100%" image="/assets/img/templates/card10.jpg" margin="none">
<duet-heading level="h2" visual-level="h4">Venevakuutus</duet-heading>
<duet-paragraph margin="none">
Venevakuutus turvaa veneesi sekä vesillä että talviteloilla.
</duet-paragraph>
<duet-button tabindex="-1" variation="plain" icon="action-arrow-right-small" icon-right icon-size="small" padding="none">Tutustu</duet-button>
</duet-card>
</duet-grid-item>
</duet-grid>
<duet-spacer size="xxx-large"></duet-spacer>
</div>
</duet-layout>
<duet-footer
logo-href="/"
language="fi"
items='[
{ "label": "Hae korvausta", "href": "#", "icon": "navigation-make-claim" },
{ "label": "Osta vakuutus", "href": "#", "icon": "action-buy-insurance" },
{ "label": "Yhteystiedot", "href": "#", "icon": "form-tel" }
]'

menu='[
{ "label": "Turvallisuus ja käyttöehdot", "href": "#" },
{ "label": "Evästeet", "href": "#" },
{ "label": "Henkilötietojen käsittely", "href": "#" }
]'

>

</duet-footer>
</body>
</html>

Integration

To install this template’s dependencies into your project, run:

npm install @duetds/components
npm install @duetds/css
npm install @duetds/fonts

For further guidelines, please see each package’s documentation.



Tutorials

Follow these practical tutorials to learn how to build simple page layouts using Duet’s CSS Framework, Web Components and other features:

Tutorials

Building Layouts

Tutorials

Using CLI Tools

Tutorials

Creating Custom Patterns

Tutorials

Server Side Rendering

Tutorials

Sharing Prototypes

Tutorials

Usage With Markdown


Troubleshooting

If you experience any issues while using a template, please head over to the Support page for more guidelines and help.