15 Commits
28 changed files with 782 additions and 424 deletions

No files matched your search

+3 -2
View File
@@ -5,14 +5,15 @@
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start -p 8003",
"lint": "next lint" "lint": "next lint"
}, },
"dependencies": { "dependencies": {
"@next/third-parties": "^14.1.0",
"axios": "^1.6.5", "axios": "^1.6.5",
"dotenv": "^16.4.1", "dotenv": "^16.4.1",
"leaflet": "^1.9.4", "leaflet": "^1.9.4",
"next": "14.1.0", "next": "^14.1.0",
"next-auth": "^4.24.5", "next-auth": "^4.24.5",
"react": "^18", "react": "^18",
"react-dom": "^18", "react-dom": "^18",
+12 -46
View File
@@ -7,7 +7,7 @@ import { Metadata } from "next";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "KG ROAD | О нас", title: "KG ROAD | О нас",
description: description:
'Страница "О Нас" Kyrgyzstan Transperency International', 'Страница "О Нас" KG ROAD',
}; };
const AboutUs = () => { const AboutUs = () => {
@@ -16,53 +16,19 @@ const AboutUs = () => {
<Typography element="h2">О нас</Typography> <Typography element="h2">О нас</Typography>
<Image src={header} alt="Header Image" /> <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"> <div className="about-us__descriptions">
<p> <p>Transparency International-Кыргызстан - филиал международной организации Transparency International в Кыргызской Республике.</p>
arrival, your senses will be rewarded with the pleasant <h4>Миссия ТИ-Кыргызстан</h4>
scent of lemongrass oil used to clean the natural wood found <p>Продвижение эффективной общественной политики и надлежащего управления в целях предотвращения коррупции и усиления демократии в стране. </p>
throughout the room, creating a relaxing atmosphere within <h4>Цели и приоритеты ТИ-Кыргызстан:</h4>
the space. A wonderful serenity has taken possession of my <ul>
entire soul, like these sweet mornings of spring which I <li> - антикоррупционное просвещение населения, повышение общественного осознания значимости и важности борьбы с коррупцией в Кыргызстане;</li>
enjoy with my whole heart. I am alone, and feel the charm of <li> - организация изучения практики и теории борьбы с коррупцией и участия в ней структур гражданского общества в Кыргызстане и других странах;</li>
existence in this spot, which was created for the bliss of <li> - содействие гражданам и организациям в реализации их конституционных прав и свобод;</li>
souls like mine. I am so happy, my dear friend, so absorbed <li> - преимущественная ориентация на международный опыт уменьшения коррупции, освоение его технологий, ресурсов, а также включение структур гражданского общества в международный диалог борьбы с коррупцией.</li>
in the exquisite. </ul>
</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>
</div> </div>
<p>Photo By Mzximvs VdB from Brussels, belgium - Road to Issyk-Kul (south shore), CC BY-SA 2.0</p>
</div> </div>
); );
}; };
+1 -1
View File
@@ -6,7 +6,7 @@ import { Metadata } from "next";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "KG ROAD | Написать обращение", title: "KG ROAD | Написать обращение",
description: description:
"Написать обращение Kyrgyzstan Transperency International", "Написать обращение KG ROAD",
}; };
const DynamicForm = dynamic( const DynamicForm = dynamic(
+6
View File
@@ -5,6 +5,8 @@ import "./App.scss";
import { Providers } from "./Providers"; import { Providers } from "./Providers";
import Navbar from "@/widgets/Navbar/Navbar"; import Navbar from "@/widgets/Navbar/Navbar";
import Footer from "@/widgets/Footer/Footer"; import Footer from "@/widgets/Footer/Footer";
import { GoogleAnalytics } from '@next/third-parties/google'
export default function RootLayout({ export default function RootLayout({
children, children,
@@ -13,6 +15,8 @@ export default function RootLayout({
}>) { }>) {
return ( return (
<html lang="en"> <html lang="en">
<head>
</head>
<body> <body>
<Providers> <Providers>
<Navbar /> <Navbar />
@@ -20,6 +24,8 @@ export default function RootLayout({
<Footer /> <Footer />
</Providers> </Providers>
</body> </body>
{<GoogleAnalytics gaId={process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS || ""} />}
</html> </html>
); );
} }
+1 -1
View File
@@ -8,7 +8,7 @@ import { Metadata } from "next";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "KG ROAD | Новости", title: "KG ROAD | Новости",
description: description:
"Страница новостей Kyrgyzstan Transperency International", "Страница новостей KG ROAD",
}; };
const News = ({ const News = ({
+1 -1
View File
@@ -8,7 +8,7 @@ import { Metadata } from "next";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "KG ROAD | Главная", title: "KG ROAD | Главная",
description: description:
"Главная страница Kyrgyzstan Transperency International", "Главная страница KG ROAD",
}; };
const Home = async ({ const Home = async ({
+1 -1
View File
@@ -12,7 +12,7 @@ import { Metadata } from "next";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "KG ROAD | Профиль", title: "KG ROAD | Профиль",
description: description:
"Страница профиля Kyrgyzstan Transperency International", "Страница профиля KG ROAD",
}; };
const Profile = async ({ const Profile = async ({
+1 -1
View File
@@ -17,7 +17,7 @@ import { Metadata } from "next";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "KG ROAD | Обращение", title: "KG ROAD | Обращение",
description: description:
"Страница обращения Kyrgyzstan Transperency International", "Страница обращения KG ROAD",
}; };
const ReportDetails = async ({ const ReportDetails = async ({
+1 -1
View File
@@ -7,7 +7,7 @@ import { Metadata } from "next";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "KG ROAD | Вход", title: "KG ROAD | Вход",
description: "Страница входа Kyrgyzstan Transperency International", description: "Страница входа KG ROAD",
}; };
const SignIn = () => { const SignIn = () => {
+1 -1
View File
@@ -8,7 +8,7 @@ import { Metadata } from "next";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "KG ROAD | Регистрация", title: "KG ROAD | Регистрация",
description: description:
"Страница регистрации Kyrgyzstan Transperency International", "Страница регистрации KG ROAD",
}; };
const SignUp = () => { const SignUp = () => {
+1 -1
View File
@@ -9,7 +9,7 @@ import { Metadata } from "next";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "KG ROAD | Статистика", title: "KG ROAD | Статистика",
description: description:
"Страница статистики Kyrgyzstan Transperency International", "Страница статистики KG ROAD",
}; };
const Statistics = ({ const Statistics = ({
+1 -1
View File
@@ -6,7 +6,7 @@ import { Metadata } from "next";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "KG ROAD | Волонтеры", title: "KG ROAD | Волонтеры",
description: description:
"Страница волонтеров Kyrgyzstan Transperency International", "Страница волонтеров KG ROAD",
}; };
const Volunteers = () => { const Volunteers = () => {
+2 -2
View File
@@ -13,7 +13,7 @@ const refreshToken = async (token: JWT): Promise<JWT> => {
}; };
const response = await axios.post<IToken>( const response = await axios.post<IToken>(
"https://api.kgroaduat.fishrungames.com/api/v1/token/refresh/", "https://api.kgroad.org/api/v1/token/refresh/",
data data
); );
@@ -44,7 +44,7 @@ export const authConfig: AuthOptions = {
const { email, password } = credentials as any; const { email, password } = credentials as any;
const res = await fetch( const res = await fetch(
"https://api.kgroaduat.fishrungames.com/api/v1/users/login/", "https://api.kgroad.org/api/v1/users/login/",
{ {
method: "POST", method: "POST",
headers: { headers: {
-4
View File
@@ -12,7 +12,3 @@ export interface IReview {
review: string; review: string;
created_at: string; created_at: string;
} }
export interface IReviewList extends IList {
results: IReview[];
}
+9 -3
View File
@@ -8,6 +8,7 @@ import facebook from "./icons/facebook.svg";
import instagram from "./icons/instagram.svg"; import instagram from "./icons/instagram.svg";
import app_store_btn from "./icons/app-store-btn.svg"; import app_store_btn from "./icons/app-store-btn.svg";
import play_market_btn from "./icons/play-market-btn.svg"; import play_market_btn from "./icons/play-market-btn.svg";
import NetKgTracker from "@/widgets/NetKgTracker/NetKgTracker";
const Footer = () => { const Footer = () => {
return ( return (
@@ -26,13 +27,15 @@ const Footer = () => {
</li> </li>
))} ))}
</ul> </ul>
<NetKgTracker />
</div> </div>
<div className="footer__contacts"> <div className="footer__contacts">
<h4>Контакты</h4> <h4>Контакты</h4>
<ul> <ul>
<li>namename@gmail.com</li> <li>admin@kgroad.org</li>
<li>+09646895467</li> <li>+9960312394038</li>
{/*
<li> <li>
{[youtube, facebook, instagram].map((net, i) => ( {[youtube, facebook, instagram].map((net, i) => (
<Link key={i} href="#"> <Link key={i} href="#">
@@ -40,9 +43,11 @@ const Footer = () => {
</Link> </Link>
))} ))}
</li> </li>
*/}
</ul> </ul>
<p className="text-white">Photo By ThomasG, CC BY-SA 3.0</p>
</div> </div>
{/*
<div className="footer__apps"> <div className="footer__apps">
<h4>Скачивай наше приложение</h4> <h4>Скачивай наше приложение</h4>
<div className="footer__apps-btns"> <div className="footer__apps-btns">
@@ -53,6 +58,7 @@ const Footer = () => {
))} ))}
</div> </div>
</div> </div>
*/}
</footer> </footer>
); );
}; };
+2 -2
View File
@@ -13,10 +13,10 @@ const Header = () => {
/> />
<div className="header__text"> <div className="header__text">
<h1> <h1>
Borem ipsum dolor sit amet, consectetur adipiscing elit. Дороги Кыргызстана
</h1> </h1>
<p> <p>
Borem ipsum dolor sit amet, consectetur adipiscing elit. Сделаем дороги безопасными! Актуальная информация о состоянии дорог.
</p> </p>
</div> </div>
@@ -58,6 +58,7 @@ const HomeMap: React.FC<IHomeMapProps> = ({
const customIcon = new Icon({ const customIcon = new Icon({
iconUrl: icon.src, iconUrl: icon.src,
iconSize: [32, 32], iconSize: [32, 32],
iconAnchor: [16, 32]
}); });
return customIcon; 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"> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"/> <svg
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/> width="38"
<circle cx="18.5" cy="18.5" r="7.5" fill="#8FDE6A"/> 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> </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"> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"/> <svg
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/> width="38"
<circle cx="18.5" cy="18.5" r="7.5" fill="#FFAC33"/> 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> </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"> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"/> <svg
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/> width="38"
<circle cx="18.5" cy="18.5" r="7.5" fill="#C288E2"/> 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> </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"> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"/> <svg
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/> width="38"
<circle cx="18.5" cy="18.5" r="7.5" fill="#87289D"/> 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> </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"> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"/> <svg
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/> width="38"
<circle cx="18.5" cy="18.5" r="7.5" fill="#E64452"/> 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> </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"> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"/> <svg
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/> width="38"
<circle cx="18.5" cy="18.5" r="7.5" fill="#FED363"/> 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> </svg>

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 1.5 KiB

+32
View File
@@ -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&amp;fromsite=7235' target='_blank'>
<img src={imghref} alt='WWW.NET.KG' width='88' height='31' />
</a>
</div>
)
};
export default NetKgTracker;
+5 -6
View File
@@ -2,7 +2,7 @@
import "./ReviewSection.scss"; import "./ReviewSection.scss";
import { apiInstance } from "@/shared/config/apiConfig"; 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 { useSession } from "next-auth/react";
import { useEffect, useState } from "react"; import { useEffect, useState } from "react";
import calendar from "./icons/calendar.svg"; import calendar from "./icons/calendar.svg";
@@ -17,7 +17,7 @@ const ReviewSection: React.FC<IReviewsSectionProps> = ({
endpoint, endpoint,
id, id,
}: IReviewsSectionProps) => { }: IReviewsSectionProps) => {
const [reviews, setReviews] = useState<IReviewList>(); const [reviews, setReviews] = useState<IReview[]>();
const session = useSession(); const session = useSession();
const handleSubmit: React.MouseEventHandler< const handleSubmit: React.MouseEventHandler<
HTMLFormElement HTMLFormElement
@@ -52,11 +52,10 @@ const ReviewSection: React.FC<IReviewsSectionProps> = ({
}; };
const getReviews = async () => { const getReviews = async () => {
const response = await apiInstance.get<IReviewList>( const response = await apiInstance.get<IReview[]>(
`/${endpoint}/${id}/reviews/` `/${endpoint}/${id}/reviews/`
); );
setReviews(response?.data);
setReviews(response.data);
}; };
useEffect(() => { useEffect(() => {
@@ -94,7 +93,7 @@ const ReviewSection: React.FC<IReviewsSectionProps> = ({
</h3> </h3>
<ul> <ul>
{reviews?.results.map((review) => ( {reviews?.map((review) => (
<li key={review.id} className="review"> <li key={review.id} className="review">
<div className="review__author"> <div className="review__author">
<img <img
+3
View File
@@ -88,7 +88,10 @@ const SignInForm = () => {
<button className="sign-in-form__btns_first" type="submit"> <button className="sign-in-form__btns_first" type="submit">
{loader ? <Loader /> : "Войти"} {loader ? <Loader /> : "Войти"}
</button> </button>
{/*
<GoogleButton /> <GoogleButton />
*/}
</div> </div>
</form> </form>
); );
+3
View File
@@ -119,7 +119,10 @@ const SignUpForm = () => {
<button className="sign-up-form__btns_first" type="submit"> <button className="sign-up-form__btns_first" type="submit">
{loader ? <Loader /> : "Войти"} {loader ? <Loader /> : "Войти"}
</button> </button>
{/*
<GoogleButton /> <GoogleButton />
*/}
</div> </div>
</form> </form>
); );
+383 -326
View File
File diff suppressed because it is too large. Load diff