-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.vue
55 lines (50 loc) · 1.48 KB
/
App.vue
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<script setup lang="ts">
import UidsBanner from '@/components/banner/Banner.vue'
import UidsHeadline from '@/components/headline/Headline.vue'
import UidsIowaBar from '@/components/brand-bar/BrandBar.vue'
import banner_image from '@/assets/images/viewbook/sections/122.jpg'
</script>
<template>
<uids-iowa-bar>
<template #parent_title><div class="parent-site-name">Brand</div></template>
<template #default v-html="'<strong>Icon Browser</strong>'"></template>
</uids-iowa-bar>
<uids-banner
title="We did it!"
url="https://uiowa.edu"
:headline_settings="{
class: ['headline--underline'],
}"
:image="banner_image"
>We love doing this stuff.
</uids-banner>
<uids-banner
title="No, we don't want no text"
url="https://uiowa.edu"
:image="banner_image"
button_text="Read more"
></uids-banner>
<uids-banner
title="No image"
>
<template #headline>
<uids-headline>No image</uids-headline>
</template>
We can have <a href="https://uiowa.edu">links</a>!
</uids-banner>
<!-- Prints out all headline levels -->
<template v-for="n in 6" :key="n">
<uids-headline
:level="'h' + n"
href="https://uiowa.edu"
class="headline--uppercase"
>I'm a headline</uids-headline>
</template>
</template>
<style lang="scss">
@import './assets/base.scss';
@import './assets/scss/reset.scss';
@import './assets/scss/headings.scss';
@import './assets/scss/paragraph.scss';
@import './assets/scss/lists.scss';
</style>