Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a01b35343f | ||
|
|
773a33e21a | ||
|
|
3c4661a9c8 | ||
|
|
82eb226810 | ||
|
|
f9754aca1a | ||
|
|
d933102065 | ||
|
|
5ae5ff9fd3 | ||
|
|
2e03fd9175 | ||
|
|
c3a94c920f | ||
|
|
721e8506dd | ||
|
|
566c4d4473 | ||
|
|
67b935b47f | ||
|
|
deb08e290e | ||
|
|
e3a5ed72e0 | ||
|
|
3b365d7742 |
No files matched your search
@@ -5,14 +5,15 @@
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"start": "next start -p 8003",
|
||||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@next/third-parties": "^14.1.0",
|
||||
"axios": "^1.6.5",
|
||||
"dotenv": "^16.4.1",
|
||||
"leaflet": "^1.9.4",
|
||||
"next": "14.1.0",
|
||||
"next": "^14.1.0",
|
||||
"next-auth": "^4.24.5",
|
||||
"react": "^18",
|
||||
"react-dom": "^18",
|
||||
|
||||
@@ -7,7 +7,7 @@ import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "KG ROAD | О нас",
|
||||
description:
|
||||
'Страница "О Нас" Kyrgyzstan Transperency International',
|
||||
'Страница "О Нас" KG ROAD',
|
||||
};
|
||||
|
||||
const AboutUs = () => {
|
||||
@@ -16,53 +16,19 @@ const AboutUs = () => {
|
||||
<Typography element="h2">О нас</Typography>
|
||||
|
||||
<Image src={header} alt="Header Image" />
|
||||
|
||||
<h3>Don’t wait. The purpose of our lives is to be happy!</h3>
|
||||
|
||||
<div className="about-us__descriptions">
|
||||
<p>
|
||||
arrival, your senses will be rewarded with the pleasant
|
||||
scent of lemongrass oil used to clean the natural wood found
|
||||
throughout the room, creating a relaxing atmosphere within
|
||||
the space. A wonderful serenity has taken possession of my
|
||||
entire soul, like these sweet mornings of spring which I
|
||||
enjoy with my whole heart. I am alone, and feel the charm of
|
||||
existence in this spot, which was created for the bliss of
|
||||
souls like mine. I am so happy, my dear friend, so absorbed
|
||||
in the exquisite.
|
||||
</p>
|
||||
<p>
|
||||
When you are ready to indulge your sense of excitement,
|
||||
check out the range of water- sports opportunities at the
|
||||
resort’s on-site water-sports center. Want to leave your
|
||||
stress on the water? The resort has kayaks, paddleboards, or
|
||||
the low-key pedal boats. Snorkeling equipment is available
|
||||
as well, so you can experience the ever-changing undersea
|
||||
environment. Not only do visitors to a bed and breakfast get
|
||||
a unique perspective on the place they are visiting, they
|
||||
have options for special packages not available in other
|
||||
hotel settings.{" "}
|
||||
</p>
|
||||
<p>
|
||||
Bed and breakfasts can partner easily with local businesses
|
||||
for a smoothly organized and highly personalized vacation
|
||||
experience. The Fife and Drum Inn offers options such as the
|
||||
Historic Triangle Package that includes three nights at the
|
||||
Inn, breakfasts, and admissions to historic Williamsburg,
|
||||
Jamestown, and Yorktown. Bed and breakfasts also lend
|
||||
themselves to romance.
|
||||
</p>
|
||||
<p>
|
||||
Part of the charm of a bed and breakfast is the uniqueness;
|
||||
art, décor, and food are integrated to create a complete
|
||||
experience. For example, the Fife and Drum retains the
|
||||
colonial feel of the area in all its guest rooms. Special
|
||||
features include antique furnishings, elegant four poster
|
||||
beds in some guest rooms, as well folk art and artifacts
|
||||
from the restoration period of the historic area available
|
||||
for guests to enjoy.
|
||||
</p>
|
||||
<p>Transparency International-Кыргызстан - филиал международной организации Transparency International в Кыргызской Республике.</p>
|
||||
<h4>Миссия ТИ-Кыргызстан</h4>
|
||||
<p>Продвижение эффективной общественной политики и надлежащего управления в целях предотвращения коррупции и усиления демократии в стране. </p>
|
||||
<h4>Цели и приоритеты ТИ-Кыргызстан:</h4>
|
||||
<ul>
|
||||
<li> - антикоррупционное просвещение населения, повышение общественного осознания значимости и важности борьбы с коррупцией в Кыргызстане;</li>
|
||||
<li> - организация изучения практики и теории борьбы с коррупцией и участия в ней структур гражданского общества в Кыргызстане и других странах;</li>
|
||||
<li> - содействие гражданам и организациям в реализации их конституционных прав и свобод;</li>
|
||||
<li> - преимущественная ориентация на международный опыт уменьшения коррупции, освоение его технологий, ресурсов, а также включение структур гражданского общества в международный диалог борьбы с коррупцией.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<p>Photo By Mzximvs VdB from Brussels, belgium - Road to Issyk-Kul (south shore), CC BY-SA 2.0</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -6,7 +6,7 @@ import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "KG ROAD | Написать обращение",
|
||||
description:
|
||||
"Написать обращение Kyrgyzstan Transperency International",
|
||||
"Написать обращение KG ROAD",
|
||||
};
|
||||
|
||||
const DynamicForm = dynamic(
|
||||
|
||||
@@ -5,6 +5,8 @@ import "./App.scss";
|
||||
import { Providers } from "./Providers";
|
||||
import Navbar from "@/widgets/Navbar/Navbar";
|
||||
import Footer from "@/widgets/Footer/Footer";
|
||||
import { GoogleAnalytics } from '@next/third-parties/google'
|
||||
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
@@ -13,6 +15,8 @@ export default function RootLayout({
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<Providers>
|
||||
<Navbar />
|
||||
@@ -20,6 +24,8 @@ export default function RootLayout({
|
||||
<Footer />
|
||||
</Providers>
|
||||
</body>
|
||||
|
||||
{<GoogleAnalytics gaId={process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS || ""} />}
|
||||
</html>
|
||||
);
|
||||
}
|
||||
@@ -8,7 +8,7 @@ import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "KG ROAD | Новости",
|
||||
description:
|
||||
"Страница новостей Kyrgyzstan Transperency International",
|
||||
"Страница новостей KG ROAD",
|
||||
};
|
||||
|
||||
const News = ({
|
||||
|
||||
@@ -8,7 +8,7 @@ import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "KG ROAD | Главная",
|
||||
description:
|
||||
"Главная страница Kyrgyzstan Transperency International",
|
||||
"Главная страница KG ROAD",
|
||||
};
|
||||
|
||||
const Home = async ({
|
||||
|
||||
@@ -12,7 +12,7 @@ import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "KG ROAD | Профиль",
|
||||
description:
|
||||
"Страница профиля Kyrgyzstan Transperency International",
|
||||
"Страница профиля KG ROAD",
|
||||
};
|
||||
|
||||
const Profile = async ({
|
||||
|
||||
@@ -17,7 +17,7 @@ import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "KG ROAD | Обращение",
|
||||
description:
|
||||
"Страница обращения Kyrgyzstan Transperency International",
|
||||
"Страница обращения KG ROAD",
|
||||
};
|
||||
|
||||
const ReportDetails = async ({
|
||||
|
||||
@@ -7,7 +7,7 @@ import { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "KG ROAD | Вход",
|
||||
description: "Страница входа Kyrgyzstan Transperency International",
|
||||
description: "Страница входа KG ROAD",
|
||||
};
|
||||
|
||||
const SignIn = () => {
|
||||
|
||||
@@ -8,7 +8,7 @@ import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "KG ROAD | Регистрация",
|
||||
description:
|
||||
"Страница регистрации Kyrgyzstan Transperency International",
|
||||
"Страница регистрации KG ROAD",
|
||||
};
|
||||
|
||||
const SignUp = () => {
|
||||
|
||||
@@ -9,7 +9,7 @@ import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "KG ROAD | Статистика",
|
||||
description:
|
||||
"Страница статистики Kyrgyzstan Transperency International",
|
||||
"Страница статистики KG ROAD",
|
||||
};
|
||||
|
||||
const Statistics = ({
|
||||
|
||||
@@ -6,7 +6,7 @@ import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "KG ROAD | Волонтеры",
|
||||
description:
|
||||
"Страница волонтеров Kyrgyzstan Transperency International",
|
||||
"Страница волонтеров KG ROAD",
|
||||
};
|
||||
|
||||
const Volunteers = () => {
|
||||
|
||||
@@ -13,7 +13,7 @@ const refreshToken = async (token: JWT): Promise<JWT> => {
|
||||
};
|
||||
|
||||
const response = await axios.post<IToken>(
|
||||
"https://api.kgroaduat.fishrungames.com/api/v1/token/refresh/",
|
||||
"https://api.kgroad.org/api/v1/token/refresh/",
|
||||
data
|
||||
);
|
||||
|
||||
@@ -44,7 +44,7 @@ export const authConfig: AuthOptions = {
|
||||
const { email, password } = credentials as any;
|
||||
|
||||
const res = await fetch(
|
||||
"https://api.kgroaduat.fishrungames.com/api/v1/users/login/",
|
||||
"https://api.kgroad.org/api/v1/users/login/",
|
||||
{
|
||||
method: "POST",
|
||||
headers: {
|
||||
|
||||
@@ -12,7 +12,3 @@ export interface IReview {
|
||||
review: string;
|
||||
created_at: string;
|
||||
}
|
||||
|
||||
export interface IReviewList extends IList {
|
||||
results: IReview[];
|
||||
}
|
||||
@@ -8,6 +8,7 @@ import facebook from "./icons/facebook.svg";
|
||||
import instagram from "./icons/instagram.svg";
|
||||
import app_store_btn from "./icons/app-store-btn.svg";
|
||||
import play_market_btn from "./icons/play-market-btn.svg";
|
||||
import NetKgTracker from "@/widgets/NetKgTracker/NetKgTracker";
|
||||
|
||||
const Footer = () => {
|
||||
return (
|
||||
@@ -26,13 +27,15 @@ const Footer = () => {
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
<NetKgTracker />
|
||||
</div>
|
||||
|
||||
<div className="footer__contacts">
|
||||
<h4>Контакты</h4>
|
||||
<ul>
|
||||
<li>namename@gmail.com</li>
|
||||
<li>+09646895467</li>
|
||||
<li>admin@kgroad.org</li>
|
||||
<li>+9960312394038</li>
|
||||
{/*
|
||||
<li>
|
||||
{[youtube, facebook, instagram].map((net, i) => (
|
||||
<Link key={i} href="#">
|
||||
@@ -40,9 +43,11 @@ const Footer = () => {
|
||||
</Link>
|
||||
))}
|
||||
</li>
|
||||
*/}
|
||||
</ul>
|
||||
<p className="text-white">Photo By ThomasG, CC BY-SA 3.0</p>
|
||||
</div>
|
||||
|
||||
{/*
|
||||
<div className="footer__apps">
|
||||
<h4>Скачивай наше приложение</h4>
|
||||
<div className="footer__apps-btns">
|
||||
@@ -53,6 +58,7 @@ const Footer = () => {
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
*/}
|
||||
</footer>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -13,10 +13,10 @@ const Header = () => {
|
||||
/>
|
||||
<div className="header__text">
|
||||
<h1>
|
||||
Borem ipsum dolor sit amet, consectetur adipiscing elit.
|
||||
Дороги Кыргызстана
|
||||
</h1>
|
||||
<p>
|
||||
Borem ipsum dolor sit amet, consectetur adipiscing elit.
|
||||
Сделаем дороги безопасными! Актуальная информация о состоянии дорог.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -58,6 +58,7 @@ const HomeMap: React.FC<IHomeMapProps> = ({
|
||||
const customIcon = new Icon({
|
||||
iconUrl: icon.src,
|
||||
iconSize: [32, 32],
|
||||
iconAnchor: [16, 32]
|
||||
});
|
||||
|
||||
return customIcon;
|
||||
|
||||
@@ -1,5 +1,53 @@
|
||||
<svg width="38" height="50" viewBox="0 0 38 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M19 0C8.52334 0 0 8.74812 0 19.501C0 32.8456 17.0031 48.5901 17.7271 49.4175C18.407 50.1948 19.5942 50.1935 20.2729 49.4175C20.9969 48.5901 38 32.8456 38 19.501C37.9998 8.74812 29.4766 0 19 0Z" fill="#3998E8" fill-opacity="0.7"/>
|
||||
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/>
|
||||
<circle cx="18.5" cy="18.5" r="7.5" fill="#8FDE6A"/>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="38"
|
||||
height="50"
|
||||
viewBox="0 0 38 50"
|
||||
fill="none"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
sodipodi:docname="geo-green.svg"
|
||||
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1" />
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="5.4942197"
|
||||
inkscape:cx="33.671751"
|
||||
inkscape:cy="42.317201"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="991"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<path
|
||||
d="M 19,0 C 8.52334,0 0,8.74812 0,19.501 c 0,13.3446 17.0031,29.0891 17.7271,29.9165 0.6799,0.7773 1.8671,0.776 2.5458,0 C 20.9969,48.5901 38,32.8456 38,19.501 37.9998,8.74812 29.4766,0 19,0 Z"
|
||||
fill="#3998e8"
|
||||
fill-opacity="0.7"
|
||||
id="path1" />
|
||||
<ellipse
|
||||
cx="18.786699"
|
||||
cy="19"
|
||||
rx="9.8877497"
|
||||
ry="10"
|
||||
fill="#ffffff"
|
||||
id="ellipse1" />
|
||||
<circle
|
||||
cx="19"
|
||||
cy="19"
|
||||
r="7.5"
|
||||
fill="#8fde6a"
|
||||
id="circle1" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 1.5 KiB |
@@ -1,5 +1,53 @@
|
||||
<svg width="38" height="50" viewBox="0 0 38 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M19 0C8.52334 0 0 8.74812 0 19.501C0 32.8456 17.0031 48.5901 17.7271 49.4175C18.407 50.1948 19.5942 50.1935 20.2729 49.4175C20.9969 48.5901 38 32.8456 38 19.501C37.9998 8.74812 29.4766 0 19 0Z" fill="#3998E8" fill-opacity="0.7"/>
|
||||
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/>
|
||||
<circle cx="18.5" cy="18.5" r="7.5" fill="#FFAC33"/>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="38"
|
||||
height="50"
|
||||
viewBox="0 0 38 50"
|
||||
fill="none"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
sodipodi:docname="geo-orange.svg"
|
||||
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1" />
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="7.77"
|
||||
inkscape:cx="17.631918"
|
||||
inkscape:cy="29.79408"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="991"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<path
|
||||
d="M 19,0 C 8.52334,0 0,8.74812 0,19.501 c 0,13.3446 17.0031,29.0891 17.7271,29.9165 0.6799,0.7773 1.8671,0.776 2.5458,0 C 20.9969,48.5901 38,32.8456 38,19.501 37.9998,8.74812 29.4766,0 19,0 Z"
|
||||
fill="#3998e8"
|
||||
fill-opacity="0.7"
|
||||
id="path1" />
|
||||
<ellipse
|
||||
cx="18.786699"
|
||||
cy="19"
|
||||
rx="9.8877497"
|
||||
ry="10"
|
||||
fill="#ffffff"
|
||||
id="ellipse1" />
|
||||
<circle
|
||||
cx="19"
|
||||
cy="19"
|
||||
r="7.5"
|
||||
fill="#ffac33"
|
||||
id="circle1" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 1.5 KiB |
@@ -1,5 +1,53 @@
|
||||
<svg width="38" height="50" viewBox="0 0 38 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M19 0C8.52334 0 0 8.74812 0 19.501C0 32.8456 17.0031 48.5901 17.7271 49.4175C18.407 50.1948 19.5942 50.1935 20.2729 49.4175C20.9969 48.5901 38 32.8456 38 19.501C37.9998 8.74812 29.4766 0 19 0Z" fill="#3998E8" fill-opacity="0.7"/>
|
||||
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/>
|
||||
<circle cx="18.5" cy="18.5" r="7.5" fill="#C288E2"/>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="38"
|
||||
height="50"
|
||||
viewBox="0 0 38 50"
|
||||
fill="none"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
sodipodi:docname="geo-pink.svg"
|
||||
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1" />
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="15.54"
|
||||
inkscape:cx="18.661519"
|
||||
inkscape:cy="22.297297"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="991"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<path
|
||||
d="M 19,0 C 8.52334,0 0,8.74812 0,19.501 c 0,13.3446 17.0031,29.0891 17.7271,29.9165 0.6799,0.7773 1.8671,0.776 2.5458,0 C 20.9969,48.5901 38,32.8456 38,19.501 37.9998,8.74812 29.4766,0 19,0 Z"
|
||||
fill="#3998e8"
|
||||
fill-opacity="0.7"
|
||||
id="path1" />
|
||||
<ellipse
|
||||
cx="18.786699"
|
||||
cy="19"
|
||||
rx="9.8877497"
|
||||
ry="10"
|
||||
fill="#ffffff"
|
||||
id="ellipse1" />
|
||||
<circle
|
||||
cx="19"
|
||||
cy="19"
|
||||
r="7.5"
|
||||
fill="#c288e2"
|
||||
id="circle1" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 1.5 KiB |
@@ -1,5 +1,53 @@
|
||||
<svg width="38" height="50" viewBox="0 0 38 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M19 0C8.52334 0 0 8.74812 0 19.501C0 32.8456 17.0031 48.5901 17.7271 49.4175C18.407 50.1948 19.5942 50.1935 20.2729 49.4175C20.9969 48.5901 38 32.8456 38 19.501C37.9998 8.74812 29.4766 0 19 0Z" fill="#3998E8" fill-opacity="0.7"/>
|
||||
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/>
|
||||
<circle cx="18.5" cy="18.5" r="7.5" fill="#87289D"/>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="38"
|
||||
height="50"
|
||||
viewBox="0 0 38 50"
|
||||
fill="none"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
sodipodi:docname="geo-purple.svg"
|
||||
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1" />
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="15.54"
|
||||
inkscape:cx="18.983269"
|
||||
inkscape:cy="25"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="991"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<path
|
||||
d="M 19,0 C 8.52334,0 0,8.74812 0,19.501 c 0,13.3446 17.0031,29.0891 17.7271,29.9165 0.6799,0.7773 1.8671,0.776 2.5458,0 C 20.9969,48.5901 38,32.8456 38,19.501 37.9998,8.74812 29.4766,0 19,0 Z"
|
||||
fill="#3998e8"
|
||||
fill-opacity="0.7"
|
||||
id="path1" />
|
||||
<ellipse
|
||||
cx="18.786699"
|
||||
cy="19"
|
||||
rx="9.8877497"
|
||||
ry="10"
|
||||
fill="#ffffff"
|
||||
id="ellipse1" />
|
||||
<circle
|
||||
cx="19"
|
||||
cy="19"
|
||||
r="7.5"
|
||||
fill="#87289d"
|
||||
id="circle1" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 1.5 KiB |
@@ -1,5 +1,53 @@
|
||||
<svg width="38" height="50" viewBox="0 0 38 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M19 0C8.52334 0 0 8.74812 0 19.501C0 32.8456 17.0031 48.5901 17.7271 49.4175C18.407 50.1948 19.5942 50.1935 20.2729 49.4175C20.9969 48.5901 38 32.8456 38 19.501C37.9998 8.74812 29.4766 0 19 0Z" fill="#3998E8" fill-opacity="0.7"/>
|
||||
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/>
|
||||
<circle cx="18.5" cy="18.5" r="7.5" fill="#E64452"/>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="38"
|
||||
height="50"
|
||||
viewBox="0 0 38 50"
|
||||
fill="none"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
sodipodi:docname="geo-red.svg"
|
||||
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1" />
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="10.988439"
|
||||
inkscape:cx="27.301421"
|
||||
inkscape:cy="35.264336"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="991"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<path
|
||||
d="M 19,0 C 8.52334,0 0,8.74812 0,19.501 c 0,13.3446 17.0031,29.0891 17.7271,29.9165 0.6799,0.7773 1.8671,0.776 2.5458,0 C 20.9969,48.5901 38,32.8456 38,19.501 37.9998,8.74812 29.4766,0 19,0 Z"
|
||||
fill="#3998e8"
|
||||
fill-opacity="0.7"
|
||||
id="path1" />
|
||||
<ellipse
|
||||
cx="18.786699"
|
||||
cy="19"
|
||||
rx="9.8877497"
|
||||
ry="10"
|
||||
fill="#ffffff"
|
||||
id="ellipse1" />
|
||||
<circle
|
||||
cx="19"
|
||||
cy="19"
|
||||
r="7.5"
|
||||
fill="#e64452"
|
||||
id="circle1" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 1.5 KiB |
@@ -1,5 +1,53 @@
|
||||
<svg width="38" height="50" viewBox="0 0 38 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M19 0C8.52334 0 0 8.74812 0 19.501C0 32.8456 17.0031 48.5901 17.7271 49.4175C18.407 50.1948 19.5942 50.1935 20.2729 49.4175C20.9969 48.5901 38 32.8456 38 19.501C37.9998 8.74812 29.4766 0 19 0Z" fill="#3998E8" fill-opacity="0.7"/>
|
||||
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/>
|
||||
<circle cx="18.5" cy="18.5" r="7.5" fill="#FED363"/>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="38"
|
||||
height="50"
|
||||
viewBox="0 0 38 50"
|
||||
fill="none"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
sodipodi:docname="geo-yellow.svg"
|
||||
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1" />
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="15.54"
|
||||
inkscape:cx="18.983269"
|
||||
inkscape:cy="25"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="991"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<path
|
||||
d="M 19,0 C 8.52334,0 0,8.74812 0,19.501 c 0,13.3446 17.0031,29.0891 17.7271,29.9165 0.6799,0.7773 1.8671,0.776 2.5458,0 C 20.9969,48.5901 38,32.8456 38,19.501 37.9998,8.74812 29.4766,0 19,0 Z"
|
||||
fill="#3998e8"
|
||||
fill-opacity="0.7"
|
||||
id="path1" />
|
||||
<ellipse
|
||||
cx="18.786699"
|
||||
cy="19"
|
||||
rx="9.8877497"
|
||||
ry="10"
|
||||
fill="#ffffff"
|
||||
id="ellipse1" />
|
||||
<circle
|
||||
cx="19"
|
||||
cy="19"
|
||||
r="7.5"
|
||||
fill="#fed363"
|
||||
id="circle1" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1,32 @@
|
||||
"use client"
|
||||
import React, { useEffect, useState } from 'react';
|
||||
|
||||
const NetKgTracker = () => {
|
||||
|
||||
const [imghref, setImghref] = useState('');
|
||||
|
||||
useEffect(() => {
|
||||
var java="1.3";
|
||||
var java1=""+"refer="+escape(document.referrer)+"&page="+escape(window.location.href);
|
||||
document.cookie="astratop=1; path=/";
|
||||
java1+="&c="+(document.cookie?"yes":"now");
|
||||
java1+="&java="+(navigator.javaEnabled()?"yes":"now");
|
||||
java1+="&razresh="+screen.width+'x'+screen.height+"&cvet="+
|
||||
(((navigator.appName.substring(0,3)=="Mic"))?
|
||||
screen.colorDepth:screen.pixelDepth);
|
||||
java1+="&jscript="+java+"&rand="+Math.random();
|
||||
setImghref("https://www.net.kg/img.php?id=7235&"+java1);
|
||||
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<a href='https://www.net.kg/stat.php?id=7235&fromsite=7235' target='_blank'>
|
||||
<img src={imghref} alt='WWW.NET.KG' width='88' height='31' />
|
||||
</a>
|
||||
</div>
|
||||
)
|
||||
|
||||
};
|
||||
|
||||
export default NetKgTracker;
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import "./ReviewSection.scss";
|
||||
import { apiInstance } from "@/shared/config/apiConfig";
|
||||
import { IReviewList } from "@/shared/types/review-type";
|
||||
import { IReview } from "@/shared/types/review-type";
|
||||
import { useSession } from "next-auth/react";
|
||||
import { useEffect, useState } from "react";
|
||||
import calendar from "./icons/calendar.svg";
|
||||
@@ -17,7 +17,7 @@ const ReviewSection: React.FC<IReviewsSectionProps> = ({
|
||||
endpoint,
|
||||
id,
|
||||
}: IReviewsSectionProps) => {
|
||||
const [reviews, setReviews] = useState<IReviewList>();
|
||||
const [reviews, setReviews] = useState<IReview[]>();
|
||||
const session = useSession();
|
||||
const handleSubmit: React.MouseEventHandler<
|
||||
HTMLFormElement
|
||||
@@ -52,11 +52,10 @@ const ReviewSection: React.FC<IReviewsSectionProps> = ({
|
||||
};
|
||||
|
||||
const getReviews = async () => {
|
||||
const response = await apiInstance.get<IReviewList>(
|
||||
const response = await apiInstance.get<IReview[]>(
|
||||
`/${endpoint}/${id}/reviews/`
|
||||
);
|
||||
|
||||
setReviews(response.data);
|
||||
setReviews(response?.data);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
@@ -94,7 +93,7 @@ const ReviewSection: React.FC<IReviewsSectionProps> = ({
|
||||
</h3>
|
||||
|
||||
<ul>
|
||||
{reviews?.results.map((review) => (
|
||||
{reviews?.map((review) => (
|
||||
<li key={review.id} className="review">
|
||||
<div className="review__author">
|
||||
<img
|
||||
|
||||
@@ -88,7 +88,10 @@ const SignInForm = () => {
|
||||
<button className="sign-in-form__btns_first" type="submit">
|
||||
{loader ? <Loader /> : "Войти"}
|
||||
</button>
|
||||
|
||||
{/*
|
||||
<GoogleButton />
|
||||
*/}
|
||||
</div>
|
||||
</form>
|
||||
);
|
||||
|
||||
@@ -119,7 +119,10 @@ const SignUpForm = () => {
|
||||
<button className="sign-up-form__btns_first" type="submit">
|
||||
{loader ? <Loader /> : "Войти"}
|
||||
</button>
|
||||
|
||||
{/*
|
||||
<GoogleButton />
|
||||
*/}
|
||||
</div>
|
||||
</form>
|
||||
);
|
||||
|
||||