This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script setup lang="ts"> | |
| const nuxtApp = useNuxtApp() | |
| const localeRoute = useLocaleRoute() | |
| const { t } = useI18n() | |
| const config = useRuntimeConfig() | |
| const { activeHeadings, updateHeadings } = useScrollspy() | |
| const links = computed(() => { | |
| const activeSection = | |
| scrollPosition.value <= 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script setup lang="ts"> | |
| import Prism from 'prismjs'; | |
| import Clipboard from 'clipboard'; | |
| import 'prismjs/themes/prism-tomorrow.css'; | |
| import 'prismjs/components/prism-graphql.js'; | |
| const { t } = useI18n(); | |
| const toast = useToast(); | |
| const props = defineProps<{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| const normalTime = 1500; | |
| const spareTime = 3000; | |
| const body = document.body; | |
| body.style.overflow = "hidden"; | |
| const preloader = document.querySelector('.uc-preloader'); | |
| if (!preloader) { |