mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
946 B
38 lines
946 B
2 months ago
|
<script setup lang="ts">
|
||
2 months ago
|
const isLoaded = ref(false)
|
||
2 months ago
|
|
||
2 months ago
|
const scriptTag = ref()
|
||
2 months ago
|
|
||
2 months ago
|
const handleIframeLoad = () => {
|
||
|
setTimeout(() => {
|
||
|
isLoaded.value = true
|
||
|
}, 2000)
|
||
|
}
|
||
2 months ago
|
|
||
2 months ago
|
onMounted(() => {
|
||
|
scriptTag.value.src = 'https://platform.twitter.com/widgets.js'
|
||
|
})
|
||
2 months ago
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<div
|
||
|
ref="scrollContainer"
|
||
|
:style="{
|
||
|
height: 'calc(100dvh - var(--toolbar-height) - 3.25rem)',
|
||
|
}"
|
||
|
class="overflow-y-auto nc-scrollbar-md w-full"
|
||
|
>
|
||
2 months ago
|
<div v-if="!isLoaded" class="flex items-center justify-center h-full w-full">
|
||
|
<GeneralLoader size="xlarge" />
|
||
|
</div>
|
||
|
<div class="mx-auto flex flex-col my-6 items-center">
|
||
2 months ago
|
<div style="min-width: 650px">
|
||
2 months ago
|
<a class="twitter-timeline" href="https://twitter.com/nocodb?ref_src=twsrc%5Etfw"></a>
|
||
|
<Script ref="scriptTag" async charset="utf-8" @load="handleIframeLoad"></Script>
|
||
2 months ago
|
</div>
|
||
2 months ago
|
</div>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<style scoped lang="scss"></style>
|