Skip to main content

Promotion icons Ready

This template shows how to build a simple promotion element that uses brand shaped icons

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.35/lib/localtapiola.css" integrity="sha384-5JYmtSD7nykpUvSmTW1CHMoBDkBZUpUmG0vuh+NUVtZag3F75Kr7+/JU3J7JV6Wq" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.duetds.com/api/css/4.0.17/lib/duet.min.css" integrity="sha384-MBQw32OayI0LEHzdAdgAXsydek8g7Wyf/P0xIwjwRwDLIdj0TSDBwW1PeG0v8qgM" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.duetds.com/api/tokens/4.0.35/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.3.1/lib/duet/duet.esm.js" integrity="sha384-j6DJZKfhR5wl9zwEvm1UGvqzjzuCFFQVQDwK4Q9ZncTV2VpigPRCVMm/hukN4EnN" crossorigin="anonymous"></script>
<script nomodule src="https://cdn.duetds.com/api/components/8.3.1/lib/duet/duet.js" integrity="sha384-lL0ez8obHTHkJkOm2hkTEia6M0KYqtXIiWT0knLNRJrL/p7aBuXd/egg0KkcKT8c" crossorigin="anonymous"></script>
</head>
<body>
<duet-layout margin="none" style="background: #E6F2F8;">
<div slot="main">
<duet-heading style="padding: 4rem 0 1rem;">Opiskelijan kotivakuutus</duet-heading>
<duet-grid responsive distribution="center" alignment="top" breakpoint="x-large">
<duet-grid-item max-width="245px" style="text-align: center;">
<duet-icon shape="brand" size="x-large" color="primary-dark" background="gray-lightest" name="category-block"></duet-icon>
<duet-paragraph weight="semi-bold">Vastaa sinun tarpeitasi, asuitpa sitten vuokralla tai omassa asunnossa.</duet-paragraph>
</duet-grid-item>
<duet-grid-item max-width="245px" style="text-align: center;">
<duet-icon shape="brand" size="x-large" color="primary-dark" background="gray-lightest" name="category-apartment"></duet-icon>
<duet-paragraph weight="semi-bold">Voit valita itse, miten kattavan kotivakuutuksen otat kodillesi ja tavaroillesi.</duet-paragraph>
</duet-grid-item>
<duet-grid-item max-width="245px" style="text-align: center;">
<duet-icon shape="brand" size="x-large" color="primary-dark" background="gray-lightest" name="form-location"></duet-icon>
<duet-paragraph weight="semi-bold">Saat sujuvaa paikallista korvauspalvelua vahinkotilanteissa.</duet-paragraph>
</duet-grid-item>
<duet-grid-item max-width="245px" style="text-align: center;">
<duet-icon shape="brand" size="x-large" color="primary-dark" background="gray-lightest" name="category-wealth"></duet-icon>
<duet-paragraph weight="semi-bold">Kun keskität LähiTapiolaan, säästät vakuutusmaksuissa jopa 17 %.</duet-paragraph>
</duet-grid-item>
</duet-grid>
</div>
</duet-layout></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.