11---
22import JsDocs from ' @components/shortcodes/JsDocs.astro'
3- import { getConfig } from ' @libs/config '
3+ import { getVersionedDocsPath } from ' @libs/path '
44
55export const title = ' Loading buttons'
66export const extra_css = [' loading-buttons.css' ]
@@ -30,7 +30,7 @@ export const aliases = [
3030
3131 <button type =" button" class =" btn btn-icon btn-default" id =" loading-btn-2" title =" Download file 2" >
3232 <svg width =" 1rem" height =" 1rem" fill =" currentColor" aria-hidden =" true" >
33- <use xlink:href =" ../../ assets/img/ouds-web-sprite.svg#download" />
33+ <use xlink:href ={ getVersionedDocsPath ( ' / assets/img/ouds-web-sprite.svg#download' ) } />
3434 </svg >
3535 <span class =" visually-hidden" >Download file 2</span >
3636 <svg viewBox =' 0 0 40 40' xmlns =' http://www.w3.org/2000/svg' class =" loader" aria-hidden =" true" >
@@ -41,7 +41,7 @@ export const aliases = [
4141
4242 <button type =" button" class =" btn btn-default" id =" loading-btn-3" >
4343 <svg width =" 1rem" height =" 1rem" fill =" currentColor" aria-hidden =" true" >
44- <use xlink:href =" ../../ assets/img/ouds-web-sprite.svg#download" />
44+ <use xlink:href ={ getVersionedDocsPath ( ' / assets/img/ouds-web-sprite.svg#download' ) } />
4545 </svg >
4646 Download file 3
4747 <svg viewBox =' 0 0 40 40' xmlns =' http://www.w3.org/2000/svg' class =" loader" aria-hidden =" true" >
@@ -74,7 +74,7 @@ export const aliases = [
7474
7575 <button type =" button" class =" btn btn-icon btn-default" id =" loading-btn-6" style =" --bs-btn-loading-time: 6s;" title =" Download file 6" >
7676 <svg width =" 1rem" height =" 1rem" fill =" currentColor" aria-hidden =" true" >
77- <use xlink:href =" ../../ assets/img/ouds-web-sprite.svg#download" />
77+ <use xlink:href ={ getVersionedDocsPath ( ' / assets/img/ouds-web-sprite.svg#download' ) } />
7878 </svg >
7979 <span class =" visually-hidden" >Download file 6</span >
8080 <svg viewBox =' 0 0 40 40' xmlns =' http://www.w3.org/2000/svg' class =" loader" aria-hidden =" true" >
@@ -85,7 +85,7 @@ export const aliases = [
8585
8686 <button type =" button" class =" btn btn-default" id =" loading-btn-7" style =" --bs-btn-loading-time: 8s;" >
8787 <svg width =" 1rem" height =" 1rem" fill =" currentColor" aria-hidden =" true" >
88- <use xlink:href =" ../../ assets/img/ouds-web-sprite.svg#download" />
88+ <use xlink:href ={ getVersionedDocsPath ( ' / assets/img/ouds-web-sprite.svg#download' ) } />
8989 </svg >
9090 Download file 7
9191 <svg viewBox =' 0 0 40 40' xmlns =' http://www.w3.org/2000/svg' class =" loader" aria-hidden =" true" >
0 commit comments