11<script setup>
2- import Nucleus , { NucleusCode } from ' nucleus-vue' ;
2+ import Nucleus , { NucleusCode , NucleusBox } from ' nucleus-vue' ;
33import { configApp } from ' ./App.config' ;
44 </script >
55
66<template >
77 <Nucleus :config =" configApp" >
88 <VLibras />
9- <div class =" content example" >
10- <h2 >Usage Example</h2 >
11-
9+ <NucleusBox class =" example" title =" Usage Example" >
1210 <h3 >Widget Position</h3 >
1311 <p >You can set the widget's position using the <code >position</code > prop. For example:</p >
14- <NucleusCode language =" tsx" >{{ `<VLibras position =" left" />` }}</NucleusCode >
12+ <NucleusCode language =" tsx" >{{ `<VLibras position =" left" />` }}
13+ </NucleusCode >
1514
1615 <h3 >Available Position Types</h3 >
1716 <p >The position options that can be used are:</p >
@@ -28,7 +27,8 @@ import { configApp } from './App.config';
2827
2928 <h3 >Avatar</h3 >
3029 <p >You can select the widget's avatar using the <code >avatar</code > prop. Example:</p >
31- <NucleusCode language =" tsx" >{{ `<VLibras avatar =" hosana" />` }}</NucleusCode >
30+ <NucleusCode language =" tsx" >{{ `<VLibras avatar =" hosana" />` }}
31+ </NucleusCode >
3232
3333 <h3 >Available Avatar Options</h3 >
3434 <ul >
@@ -40,8 +40,9 @@ import { configApp } from './App.config';
4040
4141 <h3 >Opacity</h3 >
4242 <p >To adjust the widget's opacity, use the <code >opacity</code > prop:</p >
43- <NucleusCode language =" tsx" >{{ `<VLibras opacity =" 0.8" />` }}</NucleusCode >
44- </div >
43+ <NucleusCode language =" tsx" >{{ `<VLibras opacity =" 0.8" />` }}
44+ </NucleusCode >
45+ </NucleusBox >
4546
4647 </Nucleus >
4748</template >
@@ -71,7 +72,7 @@ import { configApp } from './App.config';
7172 color : var (--primary );
7273 font-weight : bold ;
7374 }
74-
75+
7576 code {
7677 margin-bottom : 1rem ;
7778 }
0 commit comments