<template>
    <div class="container max-w-screen-lg flex flex-col p-6">
        <div class="flex justify-between items-center">
            <div class="flex">
                <div class="flex items-center text-xl gap-2" v-if="!collect">
                    <UIcon name="i-heroicons-rectangle-stack-20-solid" />
                    <div>主题</div>
                </div>
                <div class="flex items-center text-xl gap-2" v-else>
                    <UIcon name="i-heroicons-squares-2x2" />
                    <div>{{ collect }}</div>
                </div>
            </div>
            <div class="flex">
                <UInput
                    v-model="searchQuery"
                    icon="i-heroicons-magnifying-glass-20-solid"
                    placeholder="搜索你的主题..."
                    size="md"
                />
            </div>
        </div>
    </div>
    <UDivider />
</template>
<script setup>
defineProps({
    collect: {
        type: String,
        default: ''
    }
})
const searchQuery = ref('')
</script>
