-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTitle.svelte
33 lines (31 loc) · 1.1 KB
/
Title.svelte
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<script lang="ts">
import "./Title.scss";
import ldafLogo from "$lib/assets/ldaf-flat-logo-transparent.png";
import type { SiteTitleType } from "./types";
export let siteTitle: SiteTitleType;
</script>
<div class="usa-logo ldaf-logo__wide" id="basic-logo">
<a href="/">
<!-- TODO: Replace alt value with content from CMS. -->
<img src={ldafLogo} alt="Louisiana Department of Agriculture and Forestry Home" />
</a>
<div class="ldaf-agency-info">
<div class="ldaf-name__wide">
<span class="text-bold">{siteTitle.wideTitleRow1}</span>
<span class="text-normal">{siteTitle.wideTitleRow2}</span>
</div>
<div class="separator" />
<div class="ldaf-commissioner__wide">
<span class="text-normal">{siteTitle.commissionerRow1}</span>
<span class="text-italic">{siteTitle.commissionerRow2}</span>
</div>
</div>
</div>
<div class="usa-logo ldaf-title__compact">
<a href="/">
<div class="ldaf-name__compact">
<span class="text-bold">{siteTitle.compactTitleRow1}</span>
<span class="text-bold">{siteTitle.compactTitleRow2}</span>
</div>
</a>
</div>