<script setup lang="ts">
const value = ref<string | null>(null)

// https://nuxt.com/docs/api/components/nuxt-link#nuxtlink
</script>


<template>
  <div class="h-screen flex items-center justify-center">
    <div class="flex space-x-2">
      <input v-model="value" placeholder=".NET C#" class="text-center bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg p-2.5 w-192"/>
      <nuxt-link :to="`/searchResult?search=${value}`" class="text-gray-900 bg-gray-50 border border-gray-300 px-4 py-2 rounded-lg">Search</nuxt-link>
    </div>
  </div>
</template>
