refactor: update contact icons and next config remote patterns
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
import { useTranslations } from 'next-intl';
|
import { useTranslations } from 'next-intl';
|
||||||
import Navbar from '@/components/Navbar';
|
import Navbar from '@/components/Navbar';
|
||||||
import Footer from '@/components/Footer';
|
import Footer from '@/components/Footer';
|
||||||
import { MapPin, Phone, Mail, Fax, Smartphone, Send } from 'lucide-react';
|
import { MapPin, Phone, Mail, Printer, Smartphone, Send } from 'lucide-react';
|
||||||
|
|
||||||
export default function ContactPage() {
|
export default function ContactPage() {
|
||||||
const t = useTranslations('Contact');
|
const t = useTranslations('Contact');
|
||||||
@@ -79,7 +79,7 @@ export default function ContactPage() {
|
|||||||
<h3 className="text-xl font-serif text-sand">{t('fax')}</h3>
|
<h3 className="text-xl font-serif text-sand">{t('fax')}</h3>
|
||||||
<p className="text-sm opacity-60">+90 252 316 27 37</p>
|
<p className="text-sm opacity-60">+90 252 316 27 37</p>
|
||||||
</div>
|
</div>
|
||||||
<Fax className="w-8 h-8 opacity-20" />
|
<Printer className="w-8 h-8 opacity-20" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -1,19 +1,21 @@
|
|||||||
|
import type { NextConfig } from 'next';
|
||||||
import createNextIntlPlugin from 'next-intl/plugin';
|
import createNextIntlPlugin from 'next-intl/plugin';
|
||||||
|
|
||||||
const withNextIntl = createNextIntlPlugin();
|
const withNextIntl = createNextIntlPlugin();
|
||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
const nextConfig: NextConfig = {
|
||||||
const nextConfig = {
|
|
||||||
output: 'standalone',
|
output: 'standalone',
|
||||||
images: {
|
images: {
|
||||||
remotePatterns: [
|
remotePatterns: [
|
||||||
{
|
{
|
||||||
protocol: 'https',
|
protocol: 'https',
|
||||||
hostname: 'images.unsplash.com',
|
hostname: 'images.unsplash.com',
|
||||||
|
pathname: '/**',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
protocol: 'https',
|
protocol: 'https',
|
||||||
hostname: 'res.cloudinary.com',
|
hostname: 'res.cloudinary.com',
|
||||||
|
pathname: '/**',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user