File size: 714 Bytes
44b3489
46adb1c
 
44b3489
 
 
 
46adb1c
 
 
 
44b3489
 
 
 
46adb1c
 
 
 
 
 
 
 
 
 
 
44b3489
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { Inter } from 'next/font/google'
import SearchBar from '@/components/searchBar'
import Card from '@/components/card'

const inter = Inter({ subsets: ['latin'] })

export default function Home() {
  function onSearch(query: string): void {
    alert(`Searching for ${query}`)
  }

  return (
    <main
      className={`flex min-h-screen flex-col items-center justify-between p-24 ${inter.className}`}
    >
      <SearchBar onSearch={onSearch} />
      <Card
        username='anzorq'
        title='zedzek'
        description='Circassian translator demo'
        emoji='πŸ’¬'
        colorFrom='green'
        colorTo='yellow'
        updateDate='19 days'
        numLikes={5}
      />
    </main>
  )
}