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 type { NextPage } from "next";
|
||||||
import Head from "next/head";
|
import Head from "next/head";
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
import Link from "next/link";
|
|
||||||
import { useTranslation } from "~/providers/I18nProvider";
|
import { useTranslation } from "~/providers/I18nProvider";
|
||||||
const ChiSiamo: NextPage = () => {
|
const ChiSiamo: NextPage = () => {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
//todo aggiungere immagini dell' ufficio
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Head>
|
<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">
|
<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">
|
<div className="mx-auto mt-5 flex-1 sm:w-9/12 md:mt-0 md:w-auto">
|
||||||
<Image
|
<Image
|
||||||
src="/rent_2.webp"
|
src="/ufficio.webp"
|
||||||
alt=""
|
alt=""
|
||||||
className="w-full rounded-md object-cover"
|
className="w-full rounded-md object-cover"
|
||||||
width={1400}
|
width={1400}
|
||||||
|
|
@ -30,22 +27,12 @@ const ChiSiamo: NextPage = () => {
|
||||||
</div>
|
</div>
|
||||||
<div className="max-w-lg flex-1 py-5 sm:mx-auto sm:text-center md:max-w-max md:text-left">
|
<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">
|
<h3 className="text-3xl font-semibold text-gray-800 md:text-4xl">
|
||||||
{t.proprietari.cta2.title1}{" "}
|
Siamo presenti sul territorio da
|
||||||
<span className="text-indigo-600">
|
<span className="text-indigo-600"> più di 25 anni !</span>
|
||||||
{t.proprietari.cta2.title2}
|
|
||||||
</span>
|
|
||||||
{t.proprietari.cta2.title3}
|
|
||||||
</h3>
|
</h3>
|
||||||
<p className="mt-3 leading-relaxed text-gray-500">
|
<p className="mt-3 leading-relaxed text-gray-500">
|
||||||
{t.proprietari.cta2.desc}
|
{t.proprietari.cta2.desc}
|
||||||
</p>
|
</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>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
@ -66,34 +53,11 @@ const ChiSiamo: NextPage = () => {
|
||||||
</div>
|
</div>
|
||||||
</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">
|
<section className="text-center">
|
||||||
<div className="max-w-lg flex-1 py-5 sm:mx-auto sm:text-center md:max-w-max md:text-left">
|
<p className="text-lg">
|
||||||
<h3 className="text-3xl font-semibold text-gray-800 md:text-4xl">
|
Ufficio Infoalloggi: Via Beata Giovanna, 1 a Bassano del Grappa
|
||||||
{t.proprietari.cta1.title1}{" "}
|
(VI) 36061
|
||||||
<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>
|
</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>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue