Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions src/layouts/search/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Analytics from '@/analytics'
import { BrowserBookmark } from './browser-bookmark/browser-bookmark'
import { TrendingSearches } from './trending/trending-searches'
import { VoiceSearchButton } from './voice/VoiceSearchButton'
import { FcGoogle } from 'react-icons/fc'

export function SearchLayout() {
const [searchQuery, setSearchQuery] = useState('')
Expand Down Expand Up @@ -75,7 +76,7 @@ export function SearchLayout() {
<form onSubmit={handleSubmit}>
<div
className={
'relative flex items-center gap-x-2 py-2 px-3 overflow-hidden transition-all duration-300 shadow-lg hover:shadow-xl bg-widget group rounded-2xl search-box'
'relative flex items-center py-2 px-3 overflow-hidden transition-all duration-300 shadow-lg hover:shadow-xl bg-widget group rounded-2xl search-box'
}
>
<button
Expand All @@ -89,7 +90,7 @@ export function SearchLayout() {
}
}}
>
<CiSearch size={22} strokeWidth={1} opacity={0.5} />
<FcGoogle size={22} opacity={0.8} />
</button>
<input
ref={inputRef}
Expand All @@ -99,9 +100,9 @@ export function SearchLayout() {
onChange={handleSearchInputChange}
onFocus={() => onFocusInput()}
className={
'w-full py-1.5 text-base font-light text-right focus:outline-none text-content placeholder:text-content'
'w-full py-1.5 text-base font-light text-right focus:outline-none text-content placeholder:text-base-content/80 placeholder:font-medium focus:placeholder:opacity-50 bg-transparent '
}
placeholder="جستجو ..."
placeholder="جستجو در گوگل"
autoComplete="off"
/>
<button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const GoogleCalendarView: React.FC = () => {
const { data: events } = useGetGoogleCalendarEvents(
isCalendarConnected,
selectedDate.clone().startOf('day').toDate(),
selectedDate.clone().endOf('day').toDate()
selectedDate.clone().startOf('day').toDate()
)

const handleEventClick = (event: any) => {
Expand Down