feat(update): update cli command
This commit is contained in:
@@ -94,7 +94,8 @@ function buildSelectionPage(javaPath, reactNativePath) {
|
||||
gap: 14px;
|
||||
padding: 18px 22px;
|
||||
border-radius: 12px;
|
||||
text-decoration: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
transition: transform 0.15s, box-shadow 0.15s;
|
||||
@@ -163,7 +164,7 @@ function buildSelectionPage(javaPath, reactNativePath) {
|
||||
<p class="subtitle">Selecione abaixo qual documentação você deseja consultar.</p>
|
||||
|
||||
<div class="buttons">
|
||||
<a class="btn btn-primary" href="file://${javaPath}">
|
||||
<button class="btn btn-primary" onclick="window.location.href='file://${javaPath}'">
|
||||
<span class="btn-icon">
|
||||
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M20 3H4a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zm-1 16H5V5h14v14zM7 12h2v5H7zm4-3h2v8h-2zm4-3h2v11h-2z"/>
|
||||
@@ -173,9 +174,9 @@ function buildSelectionPage(javaPath, reactNativePath) {
|
||||
Desktop (Java)
|
||||
<small>API do módulo desktop / back-end</small>
|
||||
</span>
|
||||
</a>
|
||||
</button>
|
||||
|
||||
<a class="btn btn-secondary" href="file://${reactNativePath}">
|
||||
<button class="btn btn-secondary" onclick="window.location.href='file://${reactNativePath}'">
|
||||
<span class="btn-icon">
|
||||
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M17 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm0 15H7V5h10v12zm-4 3h-2v-1h2v1z"/>
|
||||
@@ -185,7 +186,7 @@ function buildSelectionPage(javaPath, reactNativePath) {
|
||||
Mobile (React Native)
|
||||
<small>API do módulo mobile</small>
|
||||
</span>
|
||||
</a>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<footer>Vitruvio CLI — documentação local</footer>
|
||||
|
||||
Reference in New Issue
Block a user