Skip to content

Commit 0bd89f7

Browse files
add nucleus box
1 parent f8137b0 commit 0bd89f7

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/app/example/example.component.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<div class="content">
2-
<angular-vlibras />
3-
<h2>Usage Example</h2>
1+
<nucleus-box title="Usage Example">
42
<angular-vlibras />
53

64
<h3>Widget Position</h3>
@@ -33,4 +31,4 @@ <h3>Available Avatar Options</h3>
3331
<h3>Opacity</h3>
3432
<p>To adjust the widget's opacity, use the <code>opacity</code> attribute:</p>
3533
<pre><code>&lt;angular-vlibras opacity="0.8" /&gt;</code></pre>
36-
</div>
34+
</nucleus-box>

src/app/example/example.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import { Component } from '@angular/core';
2+
import { NucleusBox } from 'nucleus-angular';
23
import { AngularVlibras } from '../../../projects/angular-vlibras/src/public-api';
34

45
@Component({
56
selector: 'example-vlibras',
67
standalone: true,
7-
imports: [AngularVlibras],
8+
imports: [AngularVlibras, NucleusBox],
89
templateUrl: './example.component.html',
910
styleUrl: './example.component.scss',
1011
})

0 commit comments

Comments
 (0)