protect some common pages
This commit is contained in:
@ -2,20 +2,22 @@ import React from 'react';
|
||||
import Layout from "../components/layout";
|
||||
import FeedbackForm from "../components/reports/FeedbackForm";
|
||||
import { useTranslations } from 'next-intl';
|
||||
import ProtectedRoute from "../components/protectedRoute";
|
||||
|
||||
const ContactsPage = () => {
|
||||
const t = useTranslations('common');
|
||||
return (
|
||||
<Layout>
|
||||
<div className="mx-auto my-8 p-6 max-w-4xl bg-white rounded-lg shadow-md">
|
||||
<h1 className="text-2xl font-bold text-gray-800 mb-4">{t('appNameLong') - t('contacts')}</h1>
|
||||
<ul className="list-disc pl-5">
|
||||
<li className="text-gray-700 mb-2">Янко Ванчев - <a href="tel:+359878224467" className="text-blue-500 hover:text-blue-600">+359 878 22 44 67</a></li>
|
||||
<li className="text-gray-700">Крейг Смит - <a href="tel:+359878994573" className="text-blue-500 hover:text-blue-600">+359 878 994 573</a></li>
|
||||
</ul>
|
||||
<div className="text-gray-700 pl-4 py-5">Електронна поща: <a href="mailto:specialnosvidetelstvanesofia@gmail.com" className="text-blue-500 hover:text-blue-600">specialnosvidetelstvanesofia@gmail.com</a></div>
|
||||
<ProtectedRoute>
|
||||
<div className="mx-auto my-8 p-6 max-w-4xl bg-white rounded-lg shadow-md">
|
||||
<h1 className="text-2xl font-bold text-gray-800 mb-4">{t('appNameLong') - t('contacts')}</h1>
|
||||
<ul className="list-disc pl-5">
|
||||
<li className="text-gray-700 mb-2">Янко Ванчев - <a href="tel:+359878224467" className="text-blue-500 hover:text-blue-600">+359 878 22 44 67</a></li>
|
||||
<li className="text-gray-700">Крейг Смит - <a href="tel:+359878994573" className="text-blue-500 hover:text-blue-600">+359 878 994 573</a></li>
|
||||
</ul>
|
||||
<div className="text-gray-700 pl-4 py-5">Електронна поща: <a href="mailto:specialnosvidetelstvanesofia@gmail.com" className="text-blue-500 hover:text-blue-600">specialnosvidetelstvanesofia@gmail.com</a></div>
|
||||
|
||||
{/* <div className="mt-6">
|
||||
{/* <div className="mt-6">
|
||||
<h3 className="text-lg font-semibold text-gray-800 mb-3">Социални мрежи</h3>
|
||||
<div className="flex space-x-4">
|
||||
<a href="#" className="text-blue-500 hover:text-blue-600">
|
||||
@ -25,13 +27,13 @@ const ContactsPage = () => {
|
||||
</a>
|
||||
</div>
|
||||
</div > */
|
||||
}
|
||||
{/* <a href="https://t.me/mwHitnessing_bot" className="inline-flex items-center ml-4" target="_blank">
|
||||
}
|
||||
{/* <a href="https://t.me/mwHitnessing_bot" className="inline-flex items-center ml-4" target="_blank">
|
||||
<img src="styles/icons/telegram-svgrepo-com.svg" alt="Телеграм" width="32" height="32" className="align-middle" />
|
||||
<span className="align-middle">Телеграм</span>
|
||||
</a> */}
|
||||
</div >
|
||||
|
||||
</div >
|
||||
</ProtectedRoute>
|
||||
</Layout >
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user