Implement code changes to enhance functionality and improve performance
This commit is contained in:
parent
986e73c76b
commit
f8481f894a
2 changed files with 8 additions and 44 deletions
BIN
apps/infoalloggi/public/ufficio.webp
Normal file
BIN
apps/infoalloggi/public/ufficio.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
|
|
@ -1,12 +1,9 @@
|
|||
import { ArrowRight } from "lucide-react";
|
||||
import type { NextPage } from "next";
|
||||
import Head from "next/head";
|
||||
import Image from "next/image";
|
||||
import Link from "next/link";
|
||||
import { useTranslation } from "~/providers/I18nProvider";
|
||||
const ChiSiamo: NextPage = () => {
|
||||
const { t } = useTranslation();
|
||||
//todo aggiungere immagini dell' ufficio
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
|
|
@ -21,7 +18,7 @@ const ChiSiamo: NextPage = () => {
|
|||
<section className="relative mx-auto flex max-w-6xl flex-col items-center justify-between gap-8 px-4 py-4 sm:flex-row sm:gap-20 md:px-8">
|
||||
<div className="mx-auto mt-5 flex-1 sm:w-9/12 md:mt-0 md:w-auto">
|
||||
<Image
|
||||
src="/rent_2.webp"
|
||||
src="/ufficio.webp"
|
||||
alt=""
|
||||
className="w-full rounded-md object-cover"
|
||||
width={1400}
|
||||
|
|
@ -30,22 +27,12 @@ const ChiSiamo: NextPage = () => {
|
|||
</div>
|
||||
<div className="max-w-lg flex-1 py-5 sm:mx-auto sm:text-center md:max-w-max md:text-left">
|
||||
<h3 className="text-3xl font-semibold text-gray-800 md:text-4xl">
|
||||
{t.proprietari.cta2.title1}{" "}
|
||||
<span className="text-indigo-600">
|
||||
{t.proprietari.cta2.title2}
|
||||
</span>
|
||||
{t.proprietari.cta2.title3}
|
||||
Siamo presenti sul territorio da
|
||||
<span className="text-indigo-600"> più di 25 anni !</span>
|
||||
</h3>
|
||||
<p className="mt-3 leading-relaxed text-gray-500">
|
||||
{t.proprietari.cta2.desc}
|
||||
</p>
|
||||
<Link
|
||||
className="mt-5 inline-flex items-center rounded-full bg-indigo-50 px-4 py-2 font-medium text-indigo-600"
|
||||
href="/contatti"
|
||||
>
|
||||
{t.proprietari.contattaci}
|
||||
<ArrowRight className="ml-1 h-5 w-5 duration-150" />
|
||||
</Link>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
|
@ -66,34 +53,11 @@ const ChiSiamo: NextPage = () => {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<section className="relative mx-auto flex max-w-6xl flex-col-reverse items-center justify-between gap-8 px-4 py-4 sm:flex-row sm:gap-20 md:px-8">
|
||||
<div className="max-w-lg flex-1 py-5 sm:mx-auto sm:text-center md:max-w-max md:text-left">
|
||||
<h3 className="text-3xl font-semibold text-gray-800 md:text-4xl">
|
||||
{t.proprietari.cta1.title1}{" "}
|
||||
<span className="text-indigo-600">
|
||||
{t.proprietari.cta1.title2}
|
||||
</span>
|
||||
</h3>
|
||||
<p className="mt-3 leading-relaxed text-gray-500">
|
||||
{t.proprietari.cta1.desc}
|
||||
</p>
|
||||
<Link
|
||||
className="mt-5 inline-flex items-center rounded-full bg-indigo-50 px-4 py-2 font-medium text-indigo-600"
|
||||
href="/contatti"
|
||||
>
|
||||
{t.proprietari.contattaci}
|
||||
<ArrowRight className="ml-1 h-5 w-5 duration-150" />
|
||||
</Link>
|
||||
</div>
|
||||
<div className="mx-auto mt-5 flex-1 sm:w-9/12 md:mt-0 md:w-auto">
|
||||
<Image
|
||||
src="/rent_0.webp"
|
||||
alt=""
|
||||
className="w-full rounded-md object-cover"
|
||||
width={1400}
|
||||
height={1050}
|
||||
/>
|
||||
</div>
|
||||
<section className="text-center">
|
||||
<p className="text-lg">
|
||||
Ufficio Infoalloggi: Via Beata Giovanna, 1 a Bassano del Grappa
|
||||
(VI) 36061
|
||||
</p>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue