Revert "protect some common pages"

This reverts commit 48f46ec9fe.
This commit is contained in:
Dobromir Popov
2024-05-08 18:12:59 +03:00
parent 48f46ec9fe
commit bcc5b9fa0f
4 changed files with 104 additions and 116 deletions

View File

@ -2,22 +2,20 @@ 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>
<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="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">
@ -27,13 +25,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 >
</ProtectedRoute>
</div >
</Layout >
);
};