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.51/lib/localtapiola.css" integrity="sha384-5JYmtSD7nykpUvSmTW1CHMoBDkBZUpUmG0vuh+NUVtZag3F75Kr7+/JU3J7JV6Wq" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.duetds.com/api/css/4.0.45/lib/duet.min.css" integrity="sha384-UoMJnpXiN8f7fKVnTzfKfyi7LzQlApQ+WTS9O3PXlYr6CO9yzou4glfsHV747f3v" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.duetds.com/api/tokens/4.0.59/lib/tokens.custom-properties.css" integrity="sha384-AexjbYNj18dJLZR54wNVU44b/akdDc+tpbLIWhAnzjMAbwFSli2DHpSP+7NCK+Xw" crossorigin="anonymous" />
<script type="module" src="https://cdn.duetds.com/api/components/8.7.1/lib/duet/duet.esm.js" integrity="sha384-c3hLghWHTPntUxndMlK4myD7d59stA2U0EvBp2rPb3ibtacAwh56geBpq6z7nXLn" crossorigin="anonymous"></script>
<script nomodule src="https://cdn.duetds.com/api/components/8.7.1/lib/duet/duet.js" integrity="sha384-H7RH4Ssj/LmElXa1VCHFSIjvtCSoLXMiPXG/KQZTS9EvYujTo7tWaj0V6/GGkY16" 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.