5 Content components
5.1 Accordion View in a new window
New and existing homes
As a first home buyer, you may be eligible for a transfer duty concession or exemption.
- If your home is valued at less than $650,000, you can apply for a full exemption so that you don’t have to pay transfer duty.
- If the value of your home is between $650,000 and $800,000, you can apply for a concessional rate of transfer duty. The amount you’ll have to pay will be based on the value of your home.
Vacant land
The FHBAS applies to vacant land on which you plan to build your home.
- You won’t pay any transfer duty if your land is valued at less than $350,000.
- For land valued between $350,000 and $450,000, you’ll receive a concessional rate.
Markup
{% set accordionitems = accordionitems|default([
{
"title": "Cement sheeting",
"content": "<div class='nsw-wysiwyg-content'><p>Asbestos cement sheeting was widely used from the 1950s to the late 1980s, so is frequently found when renovating older buildings. Flat-sheet fibro is the most common asbestos cement sheeting. It was simply nailed to a wooden-framed structure, making construction quick and cheap, and could be painted.</div>"
},
{
"title": "Cement",
"content": "<div class='nsw-wysiwyg-content'><p>Asbestos cement sheeting was widely used from the 1950s to the late 1980s, so is frequently found when renovating older buildings. Flat-sheet fibro is the most common asbestos cement sheeting. It was simply nailed to a wooden-framed structure, making construction quick and cheap, and could be painted.</div>"
},
{
"title": "Kitchen",
"content": "<div class='nsw-wysiwyg-content'><p>Asbestos cement sheeting was widely used from the 1950s to the late 1980s, so is frequently found when renovating older buildings. Flat-sheet fibro is the most common asbestos cement sheeting. It was simply nailed to a wooden-framed structure, making construction quick and cheap, and could be painted.</div>"
}
])
%}
<div class="">
{% for item in accordionitems %}
<div class="nsw-accordion js-accordion">
<h2 class="nsw-accordion__title">{{item.title}}</h2>
<div class="nsw-accordion__content">
{{item.content}}
</div>
</div>
{% endfor %}
</div>
5.3 Block View in a new window
The default callout shows a small amount of information without any interactions or icons.
Twig: components/block/block.twig
Asbestos
It is strongly recommended that you use a licenced asbestos removalist to remove asbestos to ensure the safety of you and others. Removalists know what to do and how to keep you and others safe from the health risks involved. Tips on choosing a good removalist are here
Markup
{% set data = data|default({
"label":"Asbestos",
"content":"It is strongly recommended that you use a licenced asbestos removalist to remove asbestos to ensure the safety of you and others. Removalists know what to do and how to keep you and others safe from the health risks involved. Tips on choosing a good removalist are here",
"modifier_class": "title"
}) %}
<div class="nsw-block {{data.modifier_class}}">
{% if data.label %}
<h2 class="text-left">{{ data.label }}</h2>
{% endif %}
{% if data.headingContent %}
<h3 class="text-left">{{ data.headingContent }}</h3>
{% endif %}
{% block content %}
<div class="{{data.content_modifier_class}}">
<p class="nsw-block__content">{{ data.content }} </p>
</div>
{% endblock %}
</div>
5.4 Callout View in a new window
The default callout shows a small amount of information without any interactions or icons.
Twig: components/callout/callout.twig
We strongly recommend you use a licensed asbestos accessor or removalist
This Asbestos Finder contains general information and your building might contain asbestos not described here.
Markup
{% set data = data|default({
"heading": "We strongly recommend you use a licensed asbestos accessor or removalist",
"copy": "This Asbestos Finder contains general information and your building might contain asbestos not described here.",
"svgUrl":"."
})
%}
<div class="nsw-callout {{data.modifier_class}}">
{% if data.icon %}
<img src="{{data.svgUrl}}/images/{{data.icon}}.svg" class="nsw-icon nsw-callout__icon blue-icon-contrast" focusable="false" aria-hidden="true">
{% endif %}
<div class="nsw-callout__content">
{% if data.heading %}
<h4 class="nsw-callout__title">{{data.heading}}</h4>
{% endif %}
{% if data.copy %}
<p>{{data.copy}}</p>
{% endif %}
{% if data.link %}<a href="{{data.link.href}}" class="nsw-text-link">{{data.link.text}}</a>{% endif %}
</div>
</div>
5.5 Direction Link View in a new window
Direction links comprise of bold text and an arrow indicating the direction.
Twig: components/direction-links/direction-links.twig
Markup
{% set data = data|default({
"svgUrl":"."
})
%}
<div class="nsw-container">
<a class="nsw-direction-link" href="#">
<span class="nsw-direction-link__text ">
Back <span class="sr-only">of page</span>
</span>
<img src="{{data.svgUrl}}/images/arrow.svg" class="nsw-icon nsw-icon--rotate-180">
</a>
<a class="nsw-direction-link" href="#">
<span class="nsw-direction-link__text ">
Bottom <span class="sr-only">of page</span>
</span>
<img src="{{data.svgUrl}}/images/arrow.svg" class="nsw-icon nsw-icon--rotate-90">
</a>
<a class="nsw-direction-link" href="#">
<span class="nsw-direction-link__text">
Top <span class="sr-only">of page</span>
</span>
<img src="{{data.svgUrl}}/images/arrow.svg" class="nsw-icon nsw-icon--rotate-270">
</a>
<a class="nsw-direction-link" href="#">
<span class="nsw-direction-link__text">
Next <span class="sr-only">page</span>
</span>
<img src="{{data.svgUrl}}/images/arrow.svg" class="nsw-icon">
</a>
</div>
5.6 Feedback View in a new window
Was the page helpful?
Markup
{% set data = data|default({
"svgUrl":"."
})
%}
<div class="feedback-container mt-5">
<div class="thumbs">
<div class="thumbs-container nsw-container">
<div class="thumbs-block">
<p class="thumbs__description font-weight-bold mr-4 mb-0">Was the page helpful?</p>
<div>
<button title="Thumbs Up" class="rounded mr-2" role="button">
<img src="{{data.svgUrl}}/images/thumb_up.svg" class="nsw-icon">
</button>
<button title="Thumbs Down" class="rounded ml-2" role="button">
<img src="{{data.svgUrl}}/images/thumb_down.svg" class="nsw-icon">
</button>
</div>
</div>
</div>
</div>
</div>
5.8 Single List Item View in a new window
Link lists are a structured way of displaying links to content with a common theme.This represents one example of such list
Twig: components/linked-list/list.twig
Markup
{% set item = item|default({
"text": "How to safely manage",
"url": "#",
"svgUrl":"."
}) %}
<li class="nsw-link-list__item mt-0" >
{% if item.moreDetail %}
<span class="nsw-link-list__link">
<span class="information-text">{{item.text}} </span>
<span class="nsw-link-list__information">{{item.moreDetail}}</span>
</span>
{% else %}
<a class="nsw-link-list__link" href="{{item.url}}">{{item.text}}
<img src="{{item.svgUrl}}/images/arrow-blue.svg" class="nsw-icon nsw-card__icon">
</a>
{% endif %}
</li>
5.9 Location search block View in a new window
Find your nearest disposal location
Understand what you can and can't take before you visit the disposal facility
Markup
{% set data = data|default({
"heading": "Find your nearest disposal location",
"copy": "Understand what you can and can't take before you visit the disposal facility"
})
%}
<div class="location-search-container">
<div class="nsw-container p-0">
<div class=" location-search row">
<div class="location-search__content col-12 col-md-6">
<h2 class="location-search__title">
<a href="#" class="location-search__link">{{data.heading}}</a>
</h2>
{% if data.copy %}<p class="location-search__copy">{{data.copy}}</p>{% endif %}
</div>
<div class="location-search__form col-12 col-md-6">
{% include '@asbestos/components/form/input.twig' with {
"inputData" : {
label: "Postcode",
id: "postcode",
modifier_class: "w-50 mr-2"
}
} %}
{% include '@asbestos/components/buttons/primary-button.twig' with {
label: "Search",
modifier_class: "w-50 ml-2"
} %}
</div>
</div>
</div>
</div>
5.11 Small teaser View in a new window
Markup
{% set data = data|default({
"theme": "",
"heading": "For councils",
"copy": "Here you will find specific information including forms, procedures and asbestos campaign materials",
"date": {
"machine":"2019-03-30",
"human":" 3 March 2020"
},
"modifier_class":"col-12 col-md-6 px-0",
"img": {
"left":"./images/hompage-50-2.png"
},
"linkUrl":"",
"rowModifierClass":"",
"svgUrl":"."
})
%}
<div class="small-teaser {{data.modifier_class}}">
<div class="row m-0 h-100 {{data.rowModifierClass}}">
{% if data.img.left %}
<div class="small-teaser__image-area col-12 col-md-6 px-0">
<img src="{{data.img.left}}" alt="{{data.imgAlt}}" class="small-teaser__image">
</div>
{% endif %}
<div class="small-teaser__content col-md-6 col-12">
<h2 class="small-teaser__title">
<a href="{{data.linkUrl}}" class="small-teaser__link">{{data.heading}}</a>
</h2>
{% if data.tag %}
<p class="small-teaser__tag">{{data.tag}}</p>
{% endif %}
{% if data.date %}
<p class="small-teaser__date">
<time datetime="{{data.date.machine}}">{{data.date.human}}</time>
</p>
{% endif %}
{% if data.copy %}<div class="small-teaser__copy">{{data.copy}}</div>{% endif %}
<img src="{{data.svgUrl}}/images/arrow-blue.svg" class="nsw-card__copy nsw-icon nsw-card__icon">
</div>
</div>
</div>
5.12 Card teaser View in a new window
Markup
{% set data = data|default({
"theme": "",
"heading": "Plumbing and drainage",
"copy": "17 different materials contain asbestos",
"date": {
"machine":"2019-03-30",
"human":" 3 March 2020"
},
"linkUrl":"",
"svgUrl":"."
})
%}
<div class="nsw-card nsw-card--{{data.theme}}">
<div class="nsw-card__content">
<h2 class="nsw-card__title">
<a href="{{data.linkUrl}}" class="nsw-card__link {{data.titleModifierClass}}">{{data.heading}}</a>
</h2>
{% if data.tag %}
<p class="nsw-card__tag">{{data.tag}}</p>
{% endif %}
{% if data.date %}
<p class="nsw-card__date">
<time datetime="{{data.date.machine}}">{{data.date.human}}</time>
</p>
{% endif %}
{% if data.copy %}<div class="nsw-card__copy">{{data.copy}}</div>{% endif %}
<img src="{{data.svgUrl}}/images/arrow-blue.svg" alt="" class="nsw-card__copy nsw-icon nsw-card__icon">
</div>
{% if data.img %}
<div class="nsw-card__image-area">
<img src="{{data.img}}" alt="{{data.imgAlt}}" class="nsw-card__image">
</div>
{% endif %}
</div>
5.13 Step View in a new window
Markup
{% set item = item|default({
"caption": "Step 1: Planning",
"isCompleted": false,
"isActive":false
}) %}
<a class="text-decoration-none steppers {{item.isCompleted ? 'completed' : 'incomplete' }} " href="{{item.url}}">
<div>
<span class="step-caption d-none d-md-block">{{ item.caption }}</span>
<div class="step mt-2"></div>
</div>
</a>
5.14 Table View in a new window
One | Two | Three |
---|---|---|
Donec velit neque, auctor sit amet aliquam | Vestibulum ante ipsum primis | Praesent sapien massa |
Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae | convallis a pellentesque nec | egestas non nisi |
Quisque velit nisi, pretium ut lacinia | elementum id enim | Donec velit neque, auctor sit amet aliquam |
Vestibulum ante ipsum primis | Praesent sapien massa | Vestibulum ante ipsum primis |
Markup
{% set data = data|default({
"striped": true,
"caption": "Table caption for responsive scroll version",
"svgUrl":"."
})
%}
<div class="nsw-table-responsive" role="region" aria-labelledby="caption1" tabindex="0">
<table class="nsw-table {% if data.captionTop %} nsw-table--caption-top {% endif %} {% if data.striped %} nsw-table--striped {% endif %} {% if data.bordered %} nsw-table--bordered {% endif %}">
<caption id="caption1">{{data.caption}}</caption>
<thead>
<tr>
<th>One</th>
<th>Two</th>
<th >Three</th>
</tr>
</thead>
<tbody>
<tr>
<td>Donec velit neque, auctor sit amet aliquam</td>
<td>Vestibulum ante ipsum primis</td>
<td>Praesent sapien massa</td>
</tr>
<tr>
<td>Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae</td>
<td>convallis a pellentesque nec</td>
<td>egestas non nisi</td>
</tr>
<tr>
<td>Quisque velit nisi, pretium ut lacinia</td>
<td>elementum id enim</td>
<td>Donec velit neque, auctor sit amet aliquam</td>
</tr>
<tr>
<td>Vestibulum ante ipsum primis</td>
<td>Praesent sapien massa</td>
<td>Vestibulum ante ipsum primis</td>
</tr>
</tbody>
</table>
</div>
5.20 Video description teaser View in a new window
Markup
{% set data = data|default({
"theme": "",
"heading": "For councils",
"copy": "Here you will find specific information including forms, procedures and asbestos campaign materials",
"modifier_class":"",
"src": "https://www.youtube.com/embed/oenxVnRznwU",
})
%}
<div class="video-teaser-caption {{data.modifier_class}}">
<div class="row">
<div class="col-md-6 col-12">
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="{{data.src}}" allowfullscreen></iframe>
</div>
</div>
<div class="video-teaser-caption__content col-md-6 col-12">
<h2 class="video-teaser-caption__title">
<a href="{{data.linkUrl}}" class="video-teaser-caption__link">{{data.heading}}</a>
</h2>
{% if data.copy %}<div class="video-teaser-caption__copy">{{data.copy}}</div>{% endif %}
</div>
</div>
</div>