ui popup lead
This commit is contained in:
@@ -4,7 +4,6 @@ import AddressSelector from '@/components/AddressSelector'
|
||||
import SearchCard from '@/app/(urls)/search/components/SearchCard'
|
||||
import FAQ from '@/components/FAQ'
|
||||
import { routes } from '@/app/constants'
|
||||
import Button from '@/components/ui/Button'
|
||||
import News from '@/components/News'
|
||||
import { getFAQs } from '@/lib/main/fetchFAQ'
|
||||
import { getNews } from '@/lib/main/fetchNews'
|
||||
@@ -71,7 +70,6 @@ export default async function Home() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* первые пять серч карточек -- бекенд??? */}
|
||||
<div className="mx-auto w-full max-w-[1250px]">
|
||||
<div className="grid w-full grid-cols-1 gap-4">
|
||||
{Array.isArray(latestRoutes) && latestRoutes.length > 0 ? (
|
||||
@@ -81,10 +79,12 @@ export default async function Home() {
|
||||
)}
|
||||
</div>
|
||||
<div className="flex justify-center py-4">
|
||||
<Button
|
||||
text="Разместить объявление"
|
||||
<Link
|
||||
href="/account/create-as-sender"
|
||||
className="bg-orange rounded-lg px-6 py-3 text-xl font-semibold text-white"
|
||||
/>
|
||||
>
|
||||
Разместить объявление
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -154,10 +154,12 @@ export default async function Home() {
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex justify-center pt-8 sm:pt-10">
|
||||
<Button
|
||||
text="Отправить посылку"
|
||||
<Link
|
||||
href="/account/create-as-sender"
|
||||
className="bg-orange hover:bg-orange/80 rounded-lg px-8 py-2.5 text-base text-white sm:px-12 sm:py-3 sm:text-lg"
|
||||
/>
|
||||
>
|
||||
Отправить посылку
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user