Compare commits
2 Commits
ee421b874c
...
01d69949d0
Author | SHA1 | Date |
---|---|---|
JBierenbroodspot | 01d69949d0 | 1 year ago |
JBierenbroodspot | 5efe29e0be | 1 year ago |
@ -0,0 +1,23 @@
|
||||
<script lang="ts">
|
||||
export let fullName: string = '[Full Name]';
|
||||
export let occupationTitle: string = '[Occupation Title]';
|
||||
</script>
|
||||
|
||||
<section>
|
||||
<h1>{fullName}</h1>
|
||||
<h2>{occupationTitle}</h2>
|
||||
</section>
|
||||
|
||||
<style lang="scss">
|
||||
$grid-area: a;
|
||||
|
||||
section {
|
||||
grid-area: $grid-area;
|
||||
|
||||
& > h1,
|
||||
> h2 {
|
||||
margin-block-start: 0.5em;
|
||||
margin-block-end: 0.5em;
|
||||
}
|
||||
}
|
||||
</style>
|
@ -1,12 +0,0 @@
|
||||
<div id="nameArea">
|
||||
<h1 id="title">[FirstName LastName]</h1>
|
||||
<h2 id="subTitle">[Does Things]</h2>
|
||||
</div>
|
||||
|
||||
<style lang="scss">
|
||||
$grid-area: a;
|
||||
|
||||
#nameArea {
|
||||
grid-area: $grid-area;
|
||||
}
|
||||
</style>
|
Loading…
Reference in new issue