first commit

This commit is contained in:
2026-08-04 12:26:32 +05:00
commit d3b8963342
93 changed files with 6465 additions and 0 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

0
README.md Normal file
View File

1
bankline Submodule

Submodule bankline added at a1f140f265

2
frontend/.gitignore vendored Executable file
View File

@@ -0,0 +1,2 @@
/node_modules
**/.DS_Store

453
frontend/assets/css/app.css Executable file
View File

@@ -0,0 +1,453 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Basic styles */
.title-logo {
color: #ffd700;
text-shadow: 1px 1px #b87500;
}
#page-content a[href="https://ib.tbbank.gov.tm/ib/"],
#page-content a[href^="https://tbbank.gov.tm/pdf/"] {
background-color: #67b03d;
color: white;
padding: 0.6em;
border-radius: 5px;
}
#page-content tbody a {
text-decoration: underline;
color: #67b03d;
}
.news-img-size {
object-fit: contain;
object-position: center;
width: 100%;
height: 100%;
}
#menu-items {
transition: top, opacity 1s ease-in-out, top, opacity 1s ease-in-out;
}
nav {
border: 1px solid #67b03d;
}
table,
th,
td,
tbody {
border: 0.5px solid white;
border-collapse: collapse;
}
.min-w-td {
min-width: 200px;
text-align: start;
}
.bg-green {
background-color: #67b03d;
}
.green-color {
color: #67b03d;
}
.menu :where(li ul):first-of-type:before {
width: 0 !important;
}
blockquote {
margin-top: 20px;
margin-bottom: 20px;
background: #f5f5f5!important;
border: 1px solid #ededed!important;
color: #67b03d!important;
font-size: 18px!important;
font-weight: 400!important;
line-height: 31.2px!important;
padding: 11px 0!important;
text-align: center!important;
text-transform: uppercase!important;
}
#page-content p {
margin-bottom: 20px;
}
#page-content table {
background-color: transparent;
border-collapse: collapse;
border-spacing: 0;
margin-bottom: 20px;
max-width: 100%;
width: 100%;
}
#page-content table tbody tr td {
border: 1px solid silver;
height: 37px;
line-height: 1.42857143;
padding: 8px;
vertical-align: top;
width: 56px;
}
@media screen and (min-width: 1024px) {
.bg-green-nav {
background-color: #67b03d;
}
}
@media screen and (min-width:1024px) {
.dropbtn {
color: white;
padding: 12px 8px;
font-size: 14px;
border: none;
text-transform: uppercase;
}
}
@media screen and (max-width:1024px) {
#page-content {
width: 80%;
margin: auto;
}
.dropbtn {
color: #67b03d;
padding: 10px;
font-size: 16px;
border: none;
margin-bottom: 5px;
}
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 230px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.dropdown-content a {
color: #67b03d;
padding: 12px 16px;
text-decoration: none;
display: block;
font-size: 14px;
text-transform: uppercase;
border-bottom: 1px solid rgb(165, 165, 165);
}
/*.dropdown-content li a:last-child {
border-bottom: none;
}*/
.dropdown-content a:hover {
background-color: #ddd;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown:hover .dropdown-content {
display: block !important;
visibility: inherit;
opacity: 1;
}
/* END Basic styles */
/* CAROUSEL */
.image {
width: 100%;
height: 70%;
}
.images {
overflow: hidden;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
}
.images-inner {
width: 500%;
transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000);
}
.image-slide {
width: 20%;
float: left;
}
.image-slide,
.fake-radio,
.radio-btn {
transition: all 0.5s ease-out;
}
.fake-radio {
float: right;
}
/* Move slides overflowed container */
#slide1:checked~.images .images-inner {
margin-left: 0;
}
#slide2:checked~.images .images-inner {
margin-left: -100%;
}
#slide3:checked~.images .images-inner {
margin-left: -200%;
}
/* Color of bullets */
#slide1:checked~div .fake-radio .radio-btn:nth-child(1),
#slide2:checked~div .fake-radio .radio-btn:nth-child(2),
#slide3:checked~div .fake-radio .radio-btn:nth-child(3) {
background: red;
}
.radio-btn {
width: 9px;
height: 9px;
border-radius: 5px;
background: gray;
display: inline-block !important;
margin: 0 1px;
cursor: pointer;
}
/* Color of bullets - END */
/* Text of slides */
#slide1:checked~.labels .label:nth-child(1),
#slide2:checked~.labels .label:nth-child(2),
#slide3:checked~.labels .label:nth-child(3) {
opacity: 1;
}
.label {
opacity: 0;
position: absolute;
}
/* Text of slides - END */
#play1:checked~div .fake-radio .radio-btn:nth-child(1) {
animation: bullet 12300ms infinite -1000ms;
}
#play1:checked~div .fake-radio .radio-btn:nth-child(2) {
animation: bullet 12300ms infinite 3100ms;
}
#play1:checked~div .fake-radio .radio-btn:nth-child(3) {
animation: bullet 12300ms infinite 7200ms;
}
/* Calculate AUTOPLAY for BULLETS - END */
/* Calculate AUTOPLAY for SLIDES */
@keyframes slide {
0%,
25.203252032520325% {
margin-left: 0;
}
33.333333333333336%,
58.53658536585366% {
margin-left: -100%;
}
66.66666666666667%,
91.869918699187% {
margin-left: -200%;
}
}
.st-slider>#play1:checked~.images .images-inner {
animation: slide 12300ms infinite;
}
/* Calculate AUTOPLAY for SLIDES - END */
/* Calculate AUTOPLAY for CAPTION */
@keyframes caption {
0%,
33.32333333333334% {
opacity: 1;
}
33.333333333333336%,
100% {
opacity: 0;
}
}
#play1:checked~.labels .label:nth-child(1) {
animation: caption 12300ms infinite -1000ms;
}
#play1:checked~.labels .label:nth-child(2) {
animation: caption 12300ms infinite 3100ms;
}
#play1:checked~.labels .label:nth-child(3) {
animation: caption 12300ms infinite 7200ms;
}
/* END CAROUSEL */
/* Slider */
.mySlides {
display: none
}
img {
vertical-align: middle;
}
/* Slideshow container */
.slideshow-container {
max-width: 100%;
position: relative;
margin: auto;
}
/* Next & previous buttons */
.prev,
.next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -22px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
}
/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
background-color: rgba(0, 0, 0, 0.8);
}
/* Caption text */
.text {
color: #f2f2f2;
font-size: 20px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}
/* Number text (1/3 etc) */
.numbertext {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
/* The dots/bullets/indicators */
.dot {
cursor: pointer;
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}
.active,
.dot:hover {
background-color: #717171;
}
/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}
@-webkit-keyframes fade {
from {
opacity: .4
}
to {
opacity: 1
}
}
@keyframes fade {
from {
opacity: .4
}
to {
opacity: 1
}
}
/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
.prev,
.next,
.text {
font-size: 11px
}
.dot {
height: 10px;
width: 10px;
}
@media only screen and (max-width: 500px) {
.prev,
.next,
.text {
font-size: 14px
}
}
}
/* END Slider */

1096
frontend/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

9
frontend/package.json Executable file
View File

@@ -0,0 +1,9 @@
{
"devDependencies": {
"daisyui": "^4.6.0",
"tailwindcss": "^3.4.1"
},
"dependencies": {
"swiper": "^11.1.0"
}
}

9
frontend/readme.md Executable file
View File

@@ -0,0 +1,9 @@
# Bank
```bash
# Install
npm i
# Production build
npx tailwindcss -i assets/css/app.css -o src/css/app.css --minify
```

195
frontend/src/action.html Executable file
View File

@@ -0,0 +1,195 @@
<!doctype html>
<!--[if IE 9]>
<html class="ie9 no-js supports-no-cookies" lang="en"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#67b03d">
<meta name="msapplication-TileColor" content="#67b03d">
<meta name="description" content="TBBANK">
<link rel="shortcut icon" href="/favicon.png" type="image/png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<title class="translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</title>
<link rel="icon" type="image/x-icon" href="/images/tbb_logo.svg">
<link rel="stylesheet" href="/css/app.css?v=1">
<script defer src="https://track.webulgam.com/script.js" data-website-id="79e22534-b5d7-4b5a-849c-c0f338c1018d"></script>
</head>
<body>
<section class="hidden lg:block mt-2 px-6 py-4">
<header class="max-w-6xl mx-auto flex justify-between items-center">
<div class="flex items-center gap-2">
<img
src="/images/tbb_logo.svg"
class="w-16 sm:w-24 md:w-28 lg:w-36 cursor-pointer"
alt="tbbank"
onclick="window.location.href = '/'"
>
<h1 class="title-logo uppercase text-base font-bold hidden lg:block w-[24em] translate-text">
TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY
</h1>
</div>
<div class="flex justify-between gap-3">
<div class="hidden lg:block mt-6">
<div class="flex flex-1 mb-2">
<img src="/images/phone-square-alt-solid.753cf0e.png" class="w-4 h-4" alt="phone img">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="phone-number" class="ml-1 text-sm text-gray-600"></span>
</div>
<div class="flex flex-1 mb-2">
<img src="/images/download.png" class="w-4 h-4" alt="phone2 img">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="fax-number" class="ml-1 text-sm text-gray-600"></span>
</div>
<div class="flex flex-1 mb-2">
<img src="/images/download.svg" class="w-4 h-4" alt="contact-center svg">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="help-number" class="ml-1 text-sm text-gray-600"></span>
</div>
</div>
<div class="min-w-[200px]">
<div class="hidden lg:flex lg:gap-2 lg:justify-center lg:mb-2">
<a href="/"><img src="/images/tm.e75ff8a.svg" class="w-7 border border-gray-500" alt="tm language"></a>
<a href="/?lang=ru"><img src="/images/ru.6b48333.svg" class="w-7 border border-gray-500" alt="ru language"></a>
</div>
<div class="hidden lg:block">
</div>
</div>
<div class="">
<img id="year-logo" src="/images/nysan.png" class="w-16 sm:w-24 md:w-28 lg:w-36" alt="siteEmblem">
</div>
</div>
</header>
</section>
<nav class="bg-green-nav p-5 lg:p-0 lg:flex lg:items-center lg:justify-center">
<div class="flex justify-between items-center">
<span class="text-lg">
<img src="/images/tbb_logo.svg" class="lg:hidden block w-16" alt="sitelogo">
</span>
<span class="text-base cursor-pointer lg:hidden block">
<div class="drawer">
<input id="my-drawer" type="checkbox" class="drawer-toggle" />
<div class="drawer-content">
<!-- Page content here -->
<label for="my-drawer" class="btn btn-circle swap swap-rotate hamburger-container drawer-button" id="hamburger-container">
<input type="checkbox" />
<svg class="swap-off" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><path d="M64,384H448V341.33H64Zm0-106.67H448V234.67H64ZM64,128v42.67H448V128Z" fill="#67b03d" /></svg>
<svg class="swap-on" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><polygon points="400 145.49 366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49"/></svg>
</label>
</div>
<div class="drawer-side">
<label for="my-drawer" aria-label="close sidebar" class="drawer-overlay"></label>
<ul class="menu p-4 w-80 min-h-full bg-base-200 text-base-content">
<li id="sidebar-menu-items">
<ul class="menu bg-base-200 w-56 rounded-box ml-0">
</ul>
</li>
</ul>
</div>
</div>
</span>
</div>
<ul
id="menu-items"
class="lg:flex lg:justify-between lg:items-center lg:text-white lg:text-center z-[-1] lg:z-auto lg:static absolute bg-white lg:bg-transparent w-full left-0 lg:w-auto lg:py-0 lg:pl-0 lg:opacity-100 opacity-0 top-[-400px]"
>
<div class="flex flex-col lg:flex lg:flex-row" id="menu-items-container">
</div>
</ul>
</nav>
<section class="max-w-6xl mx-auto md:mt-10" id="page-content">
<div class="page-content-loader flex flex-col gap-4 h-[300px] w-full">
<div class="skeleton h-full w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
</section>
<!-- Types -->
<section class="max-w-6xl mx-auto md:mt-10">
<div class="sm:grid sm:grid-cols-4 sm:gap-3" id="mini-category-content-container">
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
</div>
</section>
<!-- Contact -->
<section class="max-w-6xl mt-10 mx-auto py-5 px-8 border rounded-lg bg-gray-100">
<div class="flex justify-between">
<div class="hidden sm:block text-center green-color leading-10 w-[278px] translate-text">
<h1>TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</h1>
</div>
<div class="text-center text-xs sm:text-base text-gray-700 leading-6 sm:leading-10">
<h1 class="translate-text">Çandybil şaýoly, 121</h1>
<h1 class="translate-text">Aşgabat, Türkmenistan, 744000</h1>
</div>
<div class="text-center text-xs sm:text-base text-gray-700 leading-6 sm:leading-10">
<h1 class="translate-text">Aşgabat (Merkezi diwany):</h1>
<div class="flex">
<h1 id="footer-phone-number" class="mr-2">(99312) 44-42-34</h1>
<h1 id="footer-fax-number">(99312) 44-42-34</h1>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-green text-center py-3 px-5 mt-8 justify-center">
<div>
<h1 class="text-white translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</h1>
</div>
<div class="mt-2">
<a href="/privacy-policy.pdf" class="text-white bg-red-700 py-1 px-2 rounded-lg">Privacy policy</a>
</div>
<div class="mt-2">
<p class="text-white">© All Rights Reserved</p>
</div>
</footer>
<script src="/js/slider.js"></script>
<script src="/js/app.js"></script>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

BIN
frontend/src/apple-touch-icon.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
frontend/src/apps/android.apk Executable file

Binary file not shown.

BIN
frontend/src/apps/ios.aab Executable file

Binary file not shown.

197
frontend/src/banner.html Executable file
View File

@@ -0,0 +1,197 @@
<!doctype html>
<!--[if IE 9]>
<html class="ie9 no-js supports-no-cookies" lang="en"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#67b03d">
<meta name="msapplication-TileColor" content="#67b03d">
<meta name="description" content="TBBANK">
<link rel="shortcut icon" href="/favicon.png" type="image/png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<title class="translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</title>
<link rel="icon" type="image/x-icon" href="/images/tbb_logo.svg">
<link rel="stylesheet" href="/css/app.css?v=1">
<script defer src="https://track.webulgam.com/script.js" data-website-id="79e22534-b5d7-4b5a-849c-c0f338c1018d"></script>
</head>
<body>
<section class="hidden lg:block mt-2 px-6 py-4">
<header class="max-w-6xl mx-auto flex justify-between items-center">
<div class="flex items-center gap-2">
<img
src="/images/tbb_logo.svg"
class="w-16 sm:w-24 md:w-28 lg:w-36 cursor-pointer"
alt="tbbank"
onclick="window.location.href = '/'"
>
<h1 class="title-logo uppercase text-base font-bold hidden lg:block w-[24em] translate-text">
TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY
</h1>
</div>
<div class="flex justify-between gap-3">
<div class="hidden lg:block mt-6">
<div class="flex flex-1 mb-2">
<img src="/images/phone-square-alt-solid.753cf0e.png" class="w-4 h-4" alt="phone img">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="phone-number" class="ml-1 text-sm text-gray-600"></span>
</div>
<div class="flex flex-1 mb-2">
<img src="/images/download.png" class="w-4 h-4" alt="phone2 img">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="fax-number" class="ml-1 text-sm text-gray-600"></span>
</div>
<div class="flex flex-1 mb-2">
<img src="/images/download.svg" class="w-4 h-4" alt="contact-center svg">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="help-number" class="ml-1 text-sm text-gray-600"></span>
</div>
</div>
<div class="min-w-[200px]">
<div class="hidden lg:flex lg:gap-2 lg:justify-center lg:mb-2">
<a href="/"><img src="/images/tm.e75ff8a.svg" class="w-7 border border-gray-500" alt="tm language"></a>
<a href="/?lang=ru"><img src="/images/ru.6b48333.svg" class="w-7 border border-gray-500" alt="ru language"></a>
</div>
<div class="hidden lg:block">
</div>
</div>
<div class="">
<img id="year-logo" src="/images/nysan.png" class="w-16 sm:w-24 md:w-28 lg:w-36" alt="siteEmblem">
</div>
</div>
</header>
</section>
<nav class="bg-green-nav p-5 lg:p-0 lg:flex lg:items-center lg:justify-center">
<div class="flex justify-between items-center">
<span class="text-lg">
<img src="/images/tbb_logo.svg" class="lg:hidden block w-16" alt="sitelogo">
</span>
<span class="text-base cursor-pointer lg:hidden block">
<div class="drawer">
<input id="my-drawer" type="checkbox" class="drawer-toggle" />
<div class="drawer-content">
<!-- Page content here -->
<label for="my-drawer" class="btn btn-circle swap swap-rotate hamburger-container drawer-button" id="hamburger-container">
<input type="checkbox" />
<svg class="swap-off" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><path d="M64,384H448V341.33H64Zm0-106.67H448V234.67H64ZM64,128v42.67H448V128Z" fill="#67b03d" /></svg>
<svg class="swap-on" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><polygon points="400 145.49 366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49"/></svg>
</label>
</div>
<div class="drawer-side">
<label for="my-drawer" aria-label="close sidebar" class="drawer-overlay"></label>
<ul class="menu p-4 w-80 min-h-full bg-base-200 text-base-content">
<li id="sidebar-menu-items">
<ul class="menu bg-base-200 w-56 rounded-box ml-0">
</ul>
</li>
</ul>
</div>
</div>
</span>
</div>
<ul
id="menu-items"
class="lg:flex lg:justify-between lg:items-center lg:text-white lg:text-center z-[-1] lg:z-auto lg:static absolute bg-white lg:bg-transparent w-full left-0 lg:w-auto lg:py-0 lg:pl-0 lg:opacity-100 opacity-0 top-[-400px]"
>
<div class="flex flex-col lg:flex lg:flex-row" id="menu-items-container">
</div>
</ul>
</nav>
<section class="max-w-6xl mx-auto md:mt-10" id="page-content">
<div class="page-content-loader flex flex-col gap-4 h-[300px] w-full">
<div class="skeleton h-full w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
</section>
<!-- Types -->
<section class="max-w-6xl mx-auto md:mt-10">
<div class="sm:grid sm:grid-cols-4 sm:gap-3" id="mini-category-content-container">
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
</div>
</section>
<!-- Contact -->
<section class="max-w-6xl mt-10 mx-auto py-5 px-8 border rounded-lg bg-gray-100">
<div class="flex justify-between">
<div class="hidden sm:block text-center green-color leading-10 w-[278px] translate-text">
<h1>TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</h1>
</div>
<div class="text-center text-xs sm:text-base text-gray-700 leading-6 sm:leading-10">
<h1 class="translate-text">Çandybil şaýoly, 121</h1>
<h1 class="translate-text">Aşgabat, Türkmenistan, 744000</h1>
</div>
<div class="text-center text-xs sm:text-base text-gray-700 leading-6 sm:leading-10">
<h1 class="translate-text">Aşgabat (Merkezi diwany):</h1>
<div class="flex">
<h1 id="footer-phone-number" class="mr-2">(99312) 44-42-34</h1>
<h1 id="footer-fax-number">(99312) 44-42-34</h1>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-green text-center py-3 px-5 mt-8 justify-center">
<div>
<h1 class="text-white translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</h1>
</div>
<div class="mt-2">
<a href="/privacy-policy.pdf" class="text-white bg-red-700 py-1 px-2 rounded-lg">Privacy policy</a>
</div>
<div class="mt-2">
<p class="text-white">© All Rights Reserved</p>
</div>
</footer>
</body>
<script src="/js/slider.js"></script>
<script src="/js/app.js"></script>
</html>

9
frontend/src/browserconfig.xml Executable file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>

1
frontend/src/css/app.css Executable file

File diff suppressed because one or more lines are too long

13
frontend/src/css/swiper-bundle.min.css vendored Executable file

File diff suppressed because one or more lines are too long

BIN
frontend/src/favicon-16x16.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
frontend/src/favicon-32x32.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
frontend/src/favicon.ico Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
frontend/src/images/1.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 538 B

BIN
frontend/src/images/2.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 920 B

BIN
frontend/src/images/3.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
frontend/src/images/4.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 584 B

BIN
frontend/src/images/andriod.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5.70711 9.71069C5.31658 10.1012 5.31658 10.7344 5.70711 11.1249L10.5993 16.0123C11.3805 16.7927 12.6463 16.7924 13.4271 16.0117L18.3174 11.1213C18.708 10.7308 18.708 10.0976 18.3174 9.70708C17.9269 9.31655 17.2937 9.31655 16.9032 9.70708L12.7176 13.8927C12.3271 14.2833 11.6939 14.2832 11.3034 13.8927L7.12132 9.71069C6.7308 9.32016 6.09763 9.32016 5.70711 9.71069Z" fill="#ffffff"/>
</svg>

After

Width:  |  Height:  |  Size: 546 B

BIN
frontend/src/images/aside-ban.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
frontend/src/images/aside1.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
frontend/src/images/aside2.jpeg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
frontend/src/images/aside3.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
frontend/src/images/asideimg1.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

BIN
frontend/src/images/ban1.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 KiB

BIN
frontend/src/images/ban2.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 492 KiB

BIN
frontend/src/images/ban3.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 KiB

BIN
frontend/src/images/bg-ban.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path d="M98 190.06l139.78 163.12a24 24 0 0036.44 0L414 190.06c13.34-15.57 2.28-39.62-18.22-39.62h-279.6c-20.5 0-31.56 24.05-18.18 39.62z"/></svg>

After

Width:  |  Height:  |  Size: 224 B

BIN
frontend/src/images/download.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg"
id="RSSicon"
viewBox="0 0 8 8" width="256" height="256">
<title>RSS feed icon</title>
<style type="text/css">
.button {stroke: none; fill: orange;}
.symbol {stroke: none; fill: white;}
</style>
<rect class="button" width="8" height="8" rx="1.5" />
<circle class="symbol" cx="2" cy="6" r="1" />
<path class="symbol" d="m 1,4 a 3,3 0 0 1 3,3 h 1 a 4,4 0 0 0 -4,-4 z" />
<path class="symbol" d="m 1,2 a 5,5 0 0 1 5,5 h 1 a 6,6 0 0 0 -6,-6 z" />
</svg>

After

Width:  |  Height:  |  Size: 569 B

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.46447 20.5355C4.92893 22 7.28595 22 12 22C16.714 22 19.0711 22 20.5355 20.5355C22 19.0711 22 16.714 22 12C22 7.28595 22 4.92893 20.5355 3.46447C19.0711 2 16.714 2 12 2C7.28595 2 4.92893 2 3.46447 3.46447C2 4.92893 2 7.28595 2 12C2 16.714 2 19.0711 3.46447 20.5355ZM18.75 16C18.75 16.4142 18.4142 16.75 18 16.75H6C5.58579 16.75 5.25 16.4142 5.25 16C5.25 15.5858 5.58579 15.25 6 15.25H18C18.4142 15.25 18.75 15.5858 18.75 16ZM18 12.75C18.4142 12.75 18.75 12.4142 18.75 12C18.75 11.5858 18.4142 11.25 18 11.25H6C5.58579 11.25 5.25 11.5858 5.25 12C5.25 12.4142 5.58579 12.75 6 12.75H18ZM18.75 8C18.75 8.41421 18.4142 8.75 18 8.75H6C5.58579 8.75 5.25 8.41421 5.25 8C5.25 7.58579 5.58579 7.25 6 7.25H18C18.4142 7.25 18.75 7.58579 18.75 8Z" fill="#1C274C"/>
</svg>

After

Width:  |  Height:  |  Size: 955 B

BIN
frontend/src/images/ios.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M80 160h352M80 256h352M80 352h352"/></svg>

After

Width:  |  Height:  |  Size: 227 B

BIN
frontend/src/images/new1.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 KiB

BIN
frontend/src/images/new2.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 946 KiB

BIN
frontend/src/images/new3.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 KiB

BIN
frontend/src/images/nysan.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
frontend/src/images/qr.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Creator: CorelDRAW 2017 -->
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="100.076mm" height="66.8262mm" version="1.1" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
viewBox="0 0 13900.68 9282.22"
xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<style type="text/css">
<![CDATA[
.str0 {stroke:#373435;stroke-width:10.58;stroke-miterlimit:22.9256}
.fil1 {fill:#0039A6}
.fil0 {fill:#D52B1E}
.fil2 {fill:white}
]]>
</style>
</defs>
<g id="Слой_x0020_1">
<metadata id="CorelCorpID_0Corel-Layer"/>
<g id="_1655949761520">
<g id="_1656183137344">
<rect class="fil0 str0" x="5.29" y="6186.39" width="13890.1" height="3090.55"/>
<rect class="fil1 str0" x="5.29" y="3096.1" width="13890.1" height="3090.55"/>
<rect class="fil2 str0" x="5.29" y="5.29" width="13890.1" height="3090.55"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 614 KiB

3018
frontend/src/images/tbb_logo_.svg Executable file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 979 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 71 KiB

350
frontend/src/index.html Executable file
View File

@@ -0,0 +1,350 @@
<!doctype html>
<!--[if IE 9]>
<html class="ie9 no-js supports-no-cookies" lang="en"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#67b03d">
<meta name="msapplication-TileColor" content="#67b03d">
<meta name="description" content="TBBANK">
<link rel="shortcut icon" href="/favicon.png" type="image/png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<title class="translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</title>
<link rel="icon" type="image/x-icon" href="/images/tbb_logo.svg">
<link rel="stylesheet" href="/css/app.css?v=2">
<script defer src="https://track.webulgam.com/script.js" data-website-id="79e22534-b5d7-4b5a-849c-c0f338c1018d"></script>
</head>
<body>
<section class="hidden lg:block mt-2 px-6 py-4">
<header class="max-w-6xl mx-auto flex justify-between items-center">
<div class="flex items-center gap-2">
<img
src="/images/tbb_logo.svg"
class="w-16 sm:w-24 md:w-28 lg:w-36 cursor-pointer"
alt="tbbank"
onclick="window.location.href = '/'"
>
<h1 class="title-logo uppercase text-base font-bold hidden lg:block w-[24em] translate-text">
TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY
</h1>
</div>
<div class="flex justify-between gap-3">
<div class="hidden lg:block mt-6">
<div class="flex flex-1 mb-2">
<img src="/images/phone-square-alt-solid.753cf0e.png" class="w-4 h-4" alt="phone img">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="phone-number" class="ml-1 text-sm text-gray-600"></span>
</div>
<div class="flex flex-1 mb-2">
<img src="/images/download.png" class="w-4 h-4" alt="phone2 img">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="fax-number" class="ml-1 text-sm text-gray-600"></span>
</div>
<div class="flex flex-1 mb-2">
<img src="/images/download.svg" class="w-4 h-4" alt="contact-center svg">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="help-number" class="ml-1 text-sm text-gray-600"></span>
</div>
</div>
<div class="min-w-[200px]">
<div class="hidden lg:flex lg:gap-2 lg:justify-center lg:mb-2">
<a href="/"><img src="/images/tm.e75ff8a.svg" class="w-7 border border-gray-500" alt="tm language"></a>
<a href="/?lang=ru"><img src="/images/ru.6b48333.svg" class="w-7 border border-gray-500" alt="ru language"></a>
</div>
<div class="hidden lg:block">
</div>
</div>
<div class="">
<img id="year-logo" src="/images/nysan.png" class="w-16 sm:w-24 md:w-28 lg:w-36" alt="siteEmblem">
</div>
</div>
</header>
</section>
<nav class="bg-green-nav p-5 lg:p-0 lg:flex lg:items-center lg:justify-center">
<div class="flex justify-between items-center">
<span class="text-lg">
<img src="/images/tbb_logo.svg" class="lg:hidden block w-16" alt="sitelogo">
</span>
<span class="text-base cursor-pointer lg:hidden block">
<div class="drawer">
<input id="my-drawer" type="checkbox" class="drawer-toggle" />
<div class="drawer-content">
<!-- Page content here -->
<label for="my-drawer" class="btn btn-circle swap swap-rotate hamburger-container drawer-button" id="hamburger-container">
<input type="checkbox" />
<svg class="swap-off" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><path d="M64,384H448V341.33H64Zm0-106.67H448V234.67H64ZM64,128v42.67H448V128Z" fill="#67b03d" /></svg>
<svg class="swap-on" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><polygon points="400 145.49 366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49"/></svg>
</label>
</div>
<div class="drawer-side">
<label for="my-drawer" aria-label="close sidebar" class="drawer-overlay"></label>
<ul class="menu p-4 w-80 min-h-full bg-base-200 text-base-content">
<li id="sidebar-menu-items">
<ul class="menu bg-base-200 w-56 rounded-box ml-0">
</ul>
</li>
</ul>
</div>
</div>
</span>
</div>
<ul
id="menu-items"
class="lg:flex lg:justify-between lg:items-center lg:text-white lg:text-center z-[-1] lg:z-auto lg:static absolute bg-white lg:bg-transparent w-full left-0 lg:w-auto lg:py-0 lg:pl-0 lg:opacity-100 opacity-0 top-[-400px]"
>
<div class="flex flex-col lg:flex lg:flex-row" id="menu-items-container">
</div>
</ul>
</nav>
<!-- Main slider -->
<div id="homepage-slider" class="st-slider block">
<input type="radio" class="cs_anchor radio hidden" name="slider" id="slide1" />
<input type="radio" class="cs_anchor radio hidden" name="slider" id="slide2" />
<input type="radio" class="cs_anchor radio hidden" name="slider" id="slide3" />
<input type="radio" class="cs_anchor radio hidden" name="slider" id="play1" checked="" />
<div class="images">
<div class="homepage-slider-loader p-16 w-1/full">
<div class="skeleton h-64 w-full"></div>
</div>
<swiper-container id="slider-images-container" class="mySwiper" space-between="30" autoplay-delay="4000">
</swiper-container>
<!-- <div class="images-inner" id="slider-images-container"> -->
<!-- <div class="homepage-slider-loader p-16 w-1/5">
<div class="skeleton h-64 w-full"></div>
</div> -->
<!-- </div> -->
</div>
</div>
<!-- Types -->
<section class="max-w-6xl mx-auto md:mt-10">
<div class="sm:grid sm:grid-cols-4 sm:gap-3" id="mini-category-content-container">
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
</div>
</section>
<!-- Our projects -->
<section class="max-w-6xl mx-auto md:grid grid-cols-2 gap-3 mt-8">
<div
class="transition-colors duration-500 rounded-md border border-black mt-3 border-opacity-0 hover:border-opacity-10">
<div>
<h1 class="bg-gray-100 py-4 px-5 text-center text-base green-color">
BIZIŇ MÜŞDERILERIMIZ WE TASLAMALARYMYZ
</h1>
<div class="slideshow-container" id="mini-slider">
<div class="minislider-loader px-2">
<div class="skeleton h-32 w-full"></div>
</div>
</div>
</div>
<div class="mt-3 flex-1 flex flex-col justify-between">
<div class="flex flex-1 hover:text-green-600 border border-black border-opacity-10 py-3 px-5">
<img src="/images/aside1.png" class="w-16 mr-4" alt="aside1">
<a href="#">
<h1 class="translate-text">«ALTYN ASYR» töleg ulgamynyň bankomatlaryny ulanmak boýunça gözükdiriji</h1>
</a>
</div>
<div class="flex flex-1 hover:text-green-600 border border-black border-opacity-10 py-3 px-5">
<img src="/images/aside2.jpeg" class="w-16 mr-4" alt="aside2">
<a href="#">
<h1 class="translate-text">Töleg terminalyny ulanmak boýunça gözükdiriji</h1>
</a>
</div>
<div class="flex flex-1 hover:text-green-600 border border-black border-opacity-10 py-3 px-5">
<img src="/images/aside3.png" class="w-16 mr-4" alt="aside3">
<a href="#">
<h1 class="translate-text">Töleg terminallaryny gurnamak üçin hödürlenmeli resminamalaryň sanawy</h1>
</a>
</div>
</div>
</div>
<div
class="transition-colors duration-500 rounded-lg mt-3"
>
<div class="currency-table-loader flex flex-col gap-4 w-full">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div id="currency-table">
</div>
<div class="px-3 py-1 mt-6 flex-1 flex flex-col justify-between">
<header class="text-center text-sm" id="currency-message-container">
</header>
<div class="py-3 px-4 mt-6 border border-black border-opacity-10">
<div class="flex items-center text-sm">
<img src="/images/qr.png" class="w-32" alt="qrcode">
<div class="ml-3">
<div class="flex flex-1 mb-2">
<img src="/images/phone-square-alt-solid.753cf0e.png" class="w-4 h-4" alt="phone img">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="fax-number-second" class="ml-1 text-sm text-gray-600"></span>
</div>
<div class="flex flex-1 mb-2">
<img src="/images/download.png" class="w-4 h-4" alt="phone2 img">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="phone-number-second" class="ml-1 text-sm text-gray-600"></span>
</div>
<div class="flex flex-1 mb-2">
<img src="/images/download.svg" class="w-4 h-4" alt="contact-center svg">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="help-number-second" class="ml-1 text-sm text-gray-600"></span>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- News -->
<article class="mt-10 max-w-6xl mx-auto">
<div class="bg-gray-100 p-3 border">
<h1 class="uppercase text-center green-color text-xl translate-text">TÄZELIKLER WE MAKALALAR</h1>
</div>
<div class="mt-2 p-2 sm:grid sm:grid-cols-2 lg:grid-cols-3 sm:gap-8" id="news-content-container">
<div class="news-loaders flex flex-col gap-4 w-full">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="news-loaders flex flex-col gap-4 w-full">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="news-loaders flex flex-col gap-4 w-full">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="news-loaders flex flex-col gap-4 w-full">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="news-loaders flex flex-col gap-4 w-full">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="news-loaders flex flex-col gap-4 w-full">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
</div>
</article>
<!-- Contact -->
<section class="max-w-6xl mt-10 mx-auto py-5 px-8 border rounded-lg bg-gray-100">
<div class="flex justify-between">
<div class="hidden sm:block text-center green-color leading-10 w-[278px] translate-text">
<h1>TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</h1>
</div>
<div class="text-center text-xs sm:text-base text-gray-700 leading-6 sm:leading-10">
<h1 class="translate-text">Çandybil şaýoly, 121</h1>
<h1 class="translate-text">Aşgabat, Türkmenistan, 744000</h1>
</div>
<div class="text-center text-xs sm:text-base text-gray-700 leading-6 sm:leading-10">
<h1 class="translate-text">Aşgabat (Merkezi diwany):</h1>
<div class="flex">
<h1 id="footer-phone-number" class="mr-2">(99312) 44-42-34</h1>
<h1 id="footer-fax-number">(99312) 44-42-34</h1>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-green text-center py-3 px-5 mt-8 justify-center">
<div>
<h1 class="text-white translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</h1>
</div>
<div class="mt-2">
<a href="/privacy-policy.pdf" class="text-white bg-red-700 py-1 px-2 rounded-lg">Privacy policy</a>
</div>
<div class="mt-2">
<p class="text-white">© All Rights Reserved</p>
</div>
</footer>
</body>
<script src="/js/slider.js?v=2"></script>
<script src="/js/app.js?v=2"></script>
<script src="/js/swiper-element-bundle.min.js"></script>
</html>

15
frontend/src/js/additionals.js Executable file
View File

@@ -0,0 +1,15 @@
if (new URL(location.href).searchParams.get('uuid') === '6a86563e-f7ff-419f-897b-e05dd60f89e3') {
const pageContent = document.getElementById('page-content');
pageContent.insertAdjacentHTML('afterend', `
<div class="flex justify-center items-center">
<a href="https://tbbank.gov.tm/apps/andorid.apk">
<img src="/images/andriod.png" class="w-16 h-16"/>
</a>
<a href="https://tbbank.gov.tm/apps/ios.aab">
<img src="/images/ios.png" class="w-28 h-28"/>
</a>
</div>
`)
}

450
frontend/src/js/app.js Executable file
View File

@@ -0,0 +1,450 @@
function tr(string) {
if (window.locale === 'tm') {
return string
}
return {
'TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY': 'АКЦИОНЕРНЫЙ КОММЕРЧЕСКИЙ БАНК ТУРКМЕНИСТАНА «ТУРКМЕНБАШИ»',
'Sorag-jogap merkezi:': 'Вопросы:',
'Gözleg': 'Поиск',
'«ALTYN ASYR» töleg ulgamynyň bankomatlaryny ulanmak boýunça gözükdiriji': 'Руководство по использованию банкоматов платежной системы «ALTYN ASYR»',
'Töleg terminalyny ulanmak boýunça gözükdiriji': 'Руководство по использованию платежного терминала',
'Töleg terminallaryny gurnamak üçin hödürlenmeli resminamalaryň sanawy': 'Перечень документов, которые необходимо предоставить для установки платежных терминалов',
'TÄZELIKLER WE MAKALALAR': 'НОВОСТИ И БЛОГИ',
'Çandybil şaýoly, 121': 'Чандыбил Шайолы',
'Aşgabat, Türkmenistan, 744000': 'Ашхабад, Туркменистан',
'Aşgabat (Merkezi diwany):': 'Ашхабад (Merkezi diwany):'
}[string];
}
function $_ID(id) {
return document.getElementById(id)
}
function removeByClassName(className) {
Array.from(document.getElementsByClassName(className)).forEach(item => item.remove())
}
function baseUrl() {
return 'http://localhost:5050';
}
function postData(url = '', data = {}) {
return fetch(baseUrl() + url, {
method: 'POST',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify(data)
})
.then(response => response.json());
}
function getCurrentLang()
{
return window.location.search.includes('lang=ru') ? 'ru' : '';
}
function isHomepage() {
return location.pathname === '/';
}
function isCategoryPage() {
return location.pathname === '/page.html';
}
function isBannerPage() {
return location.pathname === '/banner.html';
}
function isMiniCategoryPage() {
return location.pathname === '/action.html';
}
function isNewsPage() {
return location.pathname === '/news.html';
}
function initializeBasicFunctions() {
}
function setTranslations() {
const pageURL = new URL(location);
window.locale = ! pageURL.searchParams.has('lang') || pageURL.searchParams.get('lang') !== 'ru' ? 'tm' : 'ru';
if (window.locale !== 'ru') {
return;
}
Array.from(document.getElementsByClassName('translate-text')).forEach(item => {
item.innerText = tr(item.innerText)
})
Array.from(document.getElementsByClassName('translate-placeholder')).forEach(item => {
item.placeholder = tr(item.placeholder)
})
}
function fetchPhoneNumbers()
{
fetch(baseUrl() + '/api/v1/setting/get')
.then(response => response.json())
.then(response => {
if (! response.status) {
return;
}
removeByClassName('phone-loaders');
$_ID('fax-number').innerText = response.data.faxNumber
$_ID('phone-number').innerText = response.data.phoneNumber
$_ID('help-number').innerText = tr('Sorag-jogap merkezi:') + ' ' + response.data.helpNumber
$_ID('year-logo').src = baseUrl() + response.data.logoR;
// second alignment of phone numbers
if (isHomepage()) {
$_ID('fax-number-second').innerText = response.data.faxNumber
$_ID('phone-number-second').innerText = response.data.phoneNumber
$_ID('help-number-second').innerText = tr('Sorag-jogap merkezi:') + ' ' + response.data.helpNumber
}
// Footer phone numbers
$_ID('footer-phone-number').innerText = response.data.phoneNumber
$_ID('footer-fax-number').innerText = response.data.faxNumber
})
}
async function fetchMenuItems() {
const container = $_ID('menu-items-container')
const sideBarMenuItems = $_ID('sidebar-menu-items')
const response = await postData('/api/v1/category/get-no-content')
response.data.forEach(menuItem => {
let subcategoriesTemplate = '';
if (menuItem.subCat && menuItem.subCat.length > 0 ) {
menuItem.subCat.forEach(subcategory => {
if (subcategory.UUID && subcategory.name) {
subcategoriesTemplate += `
<li>
<a class="bg-trasparent lg:bg-white" href="${
(subcategory.link || subcategory.pdf)
? subcategory.link ? subcategory.link : subcategory.pdf
: '/page.html?uuid=' + subcategory.UUID + '&lang=' + getCurrentLang()
}">
${subcategory.name[window.locale]}
</a>
</li>
`;
}
})
}
container.insertAdjacentHTML('beforeend', `
<div class="dropdown" style="z-index:1000">
<button class="dropbtn flex items-center">
${menuItem.name[window.locale]}
${
subcategoriesTemplate !== ''
? '<img class="w-4 h-4" src="/images/arrow-down.svg" alt="">'
: ''
}
</button>
<div class="dropdown-content">
${subcategoriesTemplate}
</div>
</div>
`)
sideBarMenuItems.insertAdjacentHTML('beforeend', `
${
subcategoriesTemplate === ''
? `<li><a>${menuItem.name[window.locale]}</a></li>`
: `
<li>
<details class="w-[250px]">
<summary>${menuItem.name[window.locale]}</summary>
<ul>
${subcategoriesTemplate}
</ul>
</details>
</li>
`
}
`)
})
}
async function fetchSliders() {
const imageSliderContainer = $_ID('slider-images-container')
const response = await postData('/api/v1/main_slider/get-all')
removeByClassName('homepage-slider-loader')
response.data.forEach(slider => {
imageSliderContainer.insertAdjacentHTML('beforeend', `
<swiper-slide>
<a href="${
slider.UUID
? `/banner.html?uuid=${slider.UUID}` + '&lang=' + getCurrentLang()
: ''
}">
<img
src="${baseUrl() + slider.slider}"
class="mx-auto w-fit cursor-pointer" alt="slider"
>
</a>
</swiper-slide>
`)
})
}
async function fetchMiniSliders() {
const imageSliderContainer = $_ID('mini-slider')
const dotsContainer = $_ID('mini-slider-dots-container')
const response = await postData('/api/v1/mini_slider/get-all')
removeByClassName('minislider-loader')
let count = 0;
response.data.forEach(slider => {
count++;
imageSliderContainer.insertAdjacentHTML('beforeend', `
<div class="mySlides fade w-full relative">
<div class="numbertext"></div>
<img class="w-full" src="${baseUrl() + slider.path}" loading="lazy">
<div
class="text mb-5 py-5 px-3 text-white text-2xl"
style="background-color: rgba(0, 0, 0, .75)"
>${slider.title['tm']}</div>
</div>
`)
})
initializeMiniSlider()
}
async function fetchMiniCategories() {
const miniCategoryContainer = $_ID('mini-category-content-container')
const response = await postData('/api/v1/mini_category/get-all')
removeByClassName('mini-categories-loader')
response.data.forEach(category => {
miniCategoryContainer.insertAdjacentHTML('beforeend', `
<a href="/action.html?uuid=${category.UUID + '&lang=' + getCurrentLang()}">
<div class="bg-gray-100 flex flex-1 flex-col items-center gap-3 py-7 px-3 mt-2 rounded-md">
<img src="${baseUrl() + category.path}" class="w-16 h-16" alt="..." loading="lazy">
<h1 class="text-gray-700 uppercase text-center">${category.title[window.locale]}</h1>
</div>
</a>
`)
})
}
async function fetchCurrencies() {
const currencyTable = $_ID('currency-table')
const response = await postData('/api/v1/currency/get')
removeByClassName('currency-table-loader')
currencyTable.innerHTML = response.data.content[window.locale];
currencyTable.querySelector('table').classList.add('table-auto', 'bg-gray-500', 'text-sm', 'text-white', 'w-full')
Array.from(currencyTable.getElementsByTagName('th')).forEach(item => {
item.classList.add('p-2')
})
Array.from(currencyTable.getElementsByTagName('td')).forEach(item => {
item.classList.add('p-2')
if (item.hasAttribute('colwidth') && item.getAttribute('colwidth') !== '' || item.getAttribute('colwidth') !== null) {
item.setAttribute('style', `width: ${item.getAttribute('colwidth')}px`);
}
})
$_ID('currency-message-container').innerHTML = response.data.title[window.locale];
}
async function fetchNews() {
const newsContainer = $_ID('news-content-container')
const response = await postData('/api/v1/news/get-all')
removeByClassName('news-loaders')
let count = 0;
response.data.forEach(news => {
count++;
if (count > 6) {
return
}
newsContainer.insertAdjacentHTML('beforeend', `
<a href="news.html?uuid=${news.UUID + '&lang=' + getCurrentLang()}">
<div class="flex flex-col px-3 mt-3">
<div class="h-60">
<img src="${baseUrl() + news.path}" class="news-img-size" alt="..." loading="lazy">
</div>
<h1 class="text-base text-gray-800 mt-2 py-2 px-1 text-center">${news.title[window.locale]}</h1>
</div>
</a>
`)
})
}
async function fetchSubCategory() {
const pageURL = new URL(location);
if (! pageURL.searchParams.has('uuid')) {
return;
}
const pageContent = $_ID('page-content');
const response = await postData('/api/v1/category/sub-get', {
UUID: pageURL.searchParams.get('uuid')
})
removeByClassName('page-content-loader')
pageContent.innerHTML = `
<h1 id="page-title" class="uppercase mt-5 mb-5 text-center text-lg green-color text-bold">
${response.data.name[window.locale]}
</h1>
<div>
${response.data.content[window.locale]}
</div>
`;
}
async function fetchBannerContent() {
const pageURL = new URL(location);
if (! pageURL.searchParams.has('uuid')) {
return;
}
const pageContent = $_ID('page-content');
const response = await postData('/api/v1/main_slider/get', {
UUID: pageURL.searchParams.get('uuid')
})
removeByClassName('page-content-loader')
pageContent.innerHTML = `
<h1 id="page-title" class="uppercase mt-5 mb-5 text-center text-lg green-color text-bold">
${response.data.title[window.locale]}
</h1>
<div>
<img src="${baseUrl() + response.data.path}" class="w-full">
</div>
<div>
${response.data.content[window.locale]}
</div>
`;
}
async function fetchMiniCategory() {
const pageURL = new URL(location);
if (! pageURL.searchParams.has('uuid')) {
return;
}
const pageContent = $_ID('page-content');
const response = await postData('/api/v1/mini_category/get', {
UUID: pageURL.searchParams.get('uuid')
})
removeByClassName('page-content-loader')
pageContent.innerHTML = `
<h1 id="page-title" class="uppercase mt-5 mb-5 text-center text-lg green-color text-bold">
${response.data.title[window.locale]}
</h1>
<div>
${response.data.content[window.locale]}
</div>
`;
}
async function fetchNewsContent() {
const pageURL = new URL(location);
if (! pageURL.searchParams.has('uuid')) {
return;
}
const pageContent = $_ID('page-content');
const response = await postData('/api/v1/news/get', {
UUID: pageURL.searchParams.get('uuid')
})
removeByClassName('page-content-loader')
pageContent.innerHTML = `
<h1 id="page-title" class="uppercase mt-5 mb-5 text-center text-lg green-color text-bold">
${response.data.title[window.locale]}
</h1>
<div class="mb-5">
<img class="w-full max-h-[600px] object-contain" src="${baseUrl() + response.data.path}">
</div>
<div>
<p class="mb-2">
${ new Date(response.data.date).toLocaleDateString('en-GB').replace(/\//g, '.') + 'ý' }
</p>
${response.data.content[window.locale]}
</div>
`;
}
document.addEventListener('DOMContentLoaded', event => {
initializeBasicFunctions()
setTranslations()
fetchPhoneNumbers()
fetchMenuItems()
if (isHomepage()) {
fetchSliders()
fetchCurrencies()
fetchMiniSliders()
fetchNews()
}
if (isCategoryPage()) {
fetchSubCategory()
}
if (isBannerPage()) {
fetchBannerContent()
}
if (isMiniCategoryPage()) {
fetchMiniCategory()
}
if (isNewsPage()) {
fetchNewsContent()
}
fetchMiniCategories()
})

39
frontend/src/js/slider.js Executable file
View File

@@ -0,0 +1,39 @@
function initializeMiniSlider() {
var slideIndex = 1;
showSlides(slideIndex);
function plusSlides(n) {
showSlides(slideIndex += n);
}
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("dot");
if (n > slides.length) { slideIndex = 1 }
if (n < 1) { slideIndex = slides.length }
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex - 1].style.display = "block";
dots[slideIndex - 1].className += " active";
}
var slideIndex = 0;
showSlides();
function showSlides() {
var i;
var slides = document.getElementsByClassName("mySlides");
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
slideIndex++;
if (slideIndex > slides.length) { slideIndex = 1 }
slides[slideIndex - 1].style.display = "block";
setTimeout(showSlides, 4000); //Change image every 2 seconds
}
}

14
frontend/src/js/swiper-bundle.min.js vendored Executable file

File diff suppressed because one or more lines are too long

14
frontend/src/js/swiper-element-bundle.min.js vendored Executable file

File diff suppressed because one or more lines are too long

BIN
frontend/src/mstile-144x144.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
frontend/src/mstile-150x150.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
frontend/src/mstile-310x150.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
frontend/src/mstile-310x310.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

BIN
frontend/src/mstile-70x70.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

197
frontend/src/news.html Executable file
View File

@@ -0,0 +1,197 @@
<!doctype html>
<!--[if IE 9]>
<html class="ie9 no-js supports-no-cookies" lang="en"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#67b03d">
<meta name="msapplication-TileColor" content="#67b03d">
<meta name="description" content="TBBANK">
<link rel="shortcut icon" href="/favicon.png" type="image/png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<title class="translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</title>
<link rel="icon" type="image/x-icon" href="/images/tbb_logo.svg">
<link rel="stylesheet" href="/css/app.css?v=1">
<script defer src="https://track.webulgam.com/script.js" data-website-id="79e22534-b5d7-4b5a-849c-c0f338c1018d"></script>
</head>
<body>
<section class="hidden lg:block mt-2 px-6 py-4">
<header class="max-w-6xl mx-auto flex justify-between items-center">
<div class="flex items-center gap-2">
<img
src="/images/tbb_logo.svg"
class="w-16 sm:w-24 md:w-28 lg:w-36 cursor-pointer"
alt="tbbank"
onclick="window.location.href = '/'"
>
<h1 class="title-logo uppercase text-base font-bold hidden lg:block w-[24em] translate-text">
TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY
</h1>
</div>
<div class="flex justify-between gap-3">
<div class="hidden lg:block mt-6">
<div class="flex flex-1 mb-2">
<img src="/images/phone-square-alt-solid.753cf0e.png" class="w-4 h-4" alt="phone img">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="phone-number" class="ml-1 text-sm text-gray-600"></span>
</div>
<div class="flex flex-1 mb-2">
<img src="/images/download.png" class="w-4 h-4" alt="phone2 img">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="fax-number" class="ml-1 text-sm text-gray-600"></span>
</div>
<div class="flex flex-1 mb-2">
<img src="/images/download.svg" class="w-4 h-4" alt="contact-center svg">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="help-number" class="ml-1 text-sm text-gray-600"></span>
</div>
</div>
<div class="min-w-[200px]">
<div class="hidden lg:flex lg:gap-2 lg:justify-center lg:mb-2">
<a href="/"><img src="/images/tm.e75ff8a.svg" class="w-7 border border-gray-500" alt="tm language"></a>
<a href="/?lang=ru"><img src="/images/ru.6b48333.svg" class="w-7 border border-gray-500" alt="ru language"></a>
</div>
<div class="hidden lg:block">
</div>
</div>
<div class="">
<img id="year-logo" src="/images/nysan.png" class="w-16 sm:w-24 md:w-28 lg:w-36" alt="siteEmblem">
</div>
</div>
</header>
</section>
<nav class="bg-green-nav p-5 lg:p-0 lg:flex lg:items-center lg:justify-center">
<div class="flex justify-between items-center">
<span class="text-lg">
<img src="/images/tbb_logo.svg" class="lg:hidden block w-16" alt="sitelogo">
</span>
<span class="text-base cursor-pointer lg:hidden block">
<div class="drawer">
<input id="my-drawer" type="checkbox" class="drawer-toggle" />
<div class="drawer-content">
<!-- Page content here -->
<label for="my-drawer" class="btn btn-circle swap swap-rotate hamburger-container drawer-button" id="hamburger-container">
<input type="checkbox" />
<svg class="swap-off" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><path d="M64,384H448V341.33H64Zm0-106.67H448V234.67H64ZM64,128v42.67H448V128Z" fill="#67b03d" /></svg>
<svg class="swap-on" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><polygon points="400 145.49 366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49"/></svg>
</label>
</div>
<div class="drawer-side">
<label for="my-drawer" aria-label="close sidebar" class="drawer-overlay"></label>
<ul class="menu p-4 w-80 min-h-full bg-base-200 text-base-content">
<li id="sidebar-menu-items">
<ul class="menu bg-base-200 w-56 rounded-box ml-0">
</ul>
</li>
</ul>
</div>
</div>
</span>
</div>
<ul
id="menu-items"
class="lg:flex lg:justify-between lg:items-center lg:text-white lg:text-center z-[-1] lg:z-auto lg:static absolute bg-white lg:bg-transparent w-full left-0 lg:w-auto lg:py-0 lg:pl-0 lg:opacity-100 opacity-0 top-[-400px]"
>
<div class="flex flex-col lg:flex lg:flex-row" id="menu-items-container">
</div>
</ul>
</nav>
<section class="max-w-6xl mx-auto md:mt-10" id="page-content">
<div class="page-content-loader flex flex-col gap-4 h-[300px] w-full">
<div class="skeleton h-full w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
</section>
<!-- Types -->
<section class="max-w-6xl mx-auto md:mt-10">
<div class="sm:grid sm:grid-cols-4 sm:gap-3" id="mini-category-content-container">
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
</div>
</section>
<!-- Contact -->
<section class="max-w-6xl mt-10 mx-auto py-5 px-8 border rounded-lg bg-gray-100">
<div class="flex justify-between">
<div class="hidden sm:block text-center green-color leading-10 w-[278px] translate-text">
<h1>TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</h1>
</div>
<div class="text-center text-xs sm:text-base text-gray-700 leading-6 sm:leading-10">
<h1 class="translate-text">Çandybil şaýoly, 121</h1>
<h1 class="translate-text">Aşgabat, Türkmenistan, 744000</h1>
</div>
<div class="text-center text-xs sm:text-base text-gray-700 leading-6 sm:leading-10">
<h1 class="translate-text">Aşgabat (Merkezi diwany):</h1>
<div class="flex">
<h1 id="footer-phone-number" class="mr-2">(99312) 44-42-34</h1>
<h1 id="footer-fax-number">(99312) 44-42-34</h1>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-green text-center py-3 px-5 mt-8 justify-center">
<div>
<h1 class="text-white translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</h1>
</div>
<div class="mt-2">
<a href="/privacy-policy.pdf" class="text-white bg-red-700 py-1 px-2 rounded-lg">Privacy policy</a>
</div>
<div class="mt-2">
<p class="text-white">© All Rights Reserved</p>
</div>
</footer>
<script src="/js/slider.js"></script>
<script src="/js/app.js"></script>
</body>
</html>

197
frontend/src/page.html Executable file
View File

@@ -0,0 +1,197 @@
<!doctype html>
<!--[if IE 9]>
<html class="ie9 no-js supports-no-cookies" lang="en"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#67b03d">
<meta name="msapplication-TileColor" content="#67b03d">
<meta name="description" content="TBBANK">
<link rel="shortcut icon" href="/favicon.png" type="image/png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<title class="translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</title>
<link rel="icon" type="image/x-icon" href="/images/tbb_logo.svg">
<link rel="stylesheet" href="/css/app.css?v=1">
<script defer src="https://track.webulgam.com/script.js" data-website-id="79e22534-b5d7-4b5a-849c-c0f338c1018d"></script>
</head>
<body>
<section class="hidden lg:block mt-2 px-6 py-4">
<header class="max-w-6xl mx-auto flex justify-between items-center">
<div class="flex items-center gap-2">
<img
src="/images/tbb_logo.svg"
class="w-16 sm:w-24 md:w-28 lg:w-36 cursor-pointer"
alt="tbbank"
onclick="window.location.href = '/'"
>
<h1 class="title-logo uppercase text-base font-bold hidden lg:block w-[24em] translate-text">
TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY
</h1>
</div>
<div class="flex justify-between gap-3">
<div class="hidden lg:block mt-6">
<div class="flex flex-1 mb-2">
<img src="/images/phone-square-alt-solid.753cf0e.png" class="w-4 h-4" alt="phone img">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="phone-number" class="ml-1 text-sm text-gray-600"></span>
</div>
<div class="flex flex-1 mb-2">
<img src="/images/download.png" class="w-4 h-4" alt="phone2 img">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="fax-number" class="ml-1 text-sm text-gray-600"></span>
</div>
<div class="flex flex-1 mb-2">
<img src="/images/download.svg" class="w-4 h-4" alt="contact-center svg">
<span class="phone-loaders loading loading-spinner loading-xs"></span>
<span id="help-number" class="ml-1 text-sm text-gray-600"></span>
</div>
</div>
<div class="min-w-[200px]">
<div class="hidden lg:flex lg:gap-2 lg:justify-center lg:mb-2">
<a href="/"><img src="/images/tm.e75ff8a.svg" class="w-7 border border-gray-500" alt="tm language"></a>
<a href="/?lang=ru"><img src="/images/ru.6b48333.svg" class="w-7 border border-gray-500" alt="ru language"></a>
</div>
<div class="hidden lg:block">
</div>
</div>
<div class="">
<img id="year-logo" src="/images/nysan.png" class="w-16 sm:w-24 md:w-28 lg:w-36" alt="siteEmblem">
</div>
</div>
</header>
</section>
<nav class="bg-green-nav p-5 lg:p-0 lg:flex lg:items-center lg:justify-center">
<div class="flex justify-between items-center">
<span class="text-lg">
<img src="/images/tbb_logo.svg" class="lg:hidden block w-16" alt="sitelogo">
</span>
<span class="text-base cursor-pointer lg:hidden block">
<div class="drawer">
<input id="my-drawer" type="checkbox" class="drawer-toggle" />
<div class="drawer-content">
<!-- Page content here -->
<label for="my-drawer" class="btn btn-circle swap swap-rotate hamburger-container drawer-button" id="hamburger-container">
<input type="checkbox" />
<svg class="swap-off" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><path d="M64,384H448V341.33H64Zm0-106.67H448V234.67H64ZM64,128v42.67H448V128Z" fill="#67b03d" /></svg>
<svg class="swap-on" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><polygon points="400 145.49 366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49"/></svg>
</label>
</div>
<div class="drawer-side">
<label for="my-drawer" aria-label="close sidebar" class="drawer-overlay"></label>
<ul class="menu p-4 w-80 min-h-full bg-base-200 text-base-content">
<li id="sidebar-menu-items">
<ul class="menu bg-base-200 w-56 rounded-box ml-0">
</ul>
</li>
</ul>
</div>
</div>
</span>
</div>
<ul
id="menu-items"
class="lg:flex lg:justify-between lg:items-center lg:text-white lg:text-center z-[-1] lg:z-auto lg:static absolute bg-white lg:bg-transparent w-full left-0 lg:w-auto lg:py-0 lg:pl-0 lg:opacity-100 opacity-0 top-[-400px]"
>
<div class="flex flex-col lg:flex lg:flex-row" id="menu-items-container">
</div>
</ul>
</nav>
<section class="max-w-6xl mx-auto md:mt-10" id="page-content">
<div class="page-content-loader flex flex-col gap-4 h-[300px] w-full">
<div class="skeleton h-full w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
</section>
<!-- Types -->
<section class="max-w-6xl mx-auto md:mt-10">
<div class="sm:grid sm:grid-cols-4 sm:gap-3" id="mini-category-content-container">
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
<div class="mini-categories-loader flex flex-col gap-4 w-52">
<div class="skeleton h-32 w-full"></div>
<div class="skeleton h-4 w-28"></div>
<div class="skeleton h-4 w-full"></div>
<div class="skeleton h-4 w-full"></div>
</div>
</div>
</section>
<!-- Contact -->
<section class="max-w-6xl mt-10 mx-auto py-5 px-8 border rounded-lg bg-gray-100">
<div class="flex justify-between">
<div class="hidden sm:block text-center green-color leading-10 w-[278px] translate-text">
<h1>TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</h1>
</div>
<div class="text-center text-xs sm:text-base text-gray-700 leading-6 sm:leading-10">
<h1 class="translate-text">Çandybil şaýoly, 121</h1>
<h1 class="translate-text">Aşgabat, Türkmenistan, 744000</h1>
</div>
<div class="text-center text-xs sm:text-base text-gray-700 leading-6 sm:leading-10">
<h1 class="translate-text">Aşgabat (Merkezi diwany):</h1>
<div class="flex">
<h1 id="footer-phone-number" class="mr-2">(99312) 44-42-34</h1>
<h1 id="footer-fax-number">(99312) 44-42-34</h1>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-green text-center py-3 px-5 mt-8 justify-center">
<div>
<h1 class="text-white translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</h1>
</div>
<div class="mt-2">
<a href="/privacy-policy.pdf" class="text-white bg-red-700 py-1 px-2 rounded-lg">Privacy policy</a>
</div>
<div class="mt-2">
<p class="text-white">© All Rights Reserved</p>
</div>
</footer>
<script src="/js/slider.js"></script>
<script src="/js/app.js"></script>
<script src="/js/additionals.js?v=1"></script>
</body>
</html>

BIN
frontend/src/pdf/ATM_TM.pdf Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
frontend/src/pdf/tarif.pdf Executable file

Binary file not shown.

BIN
frontend/src/privacy-policy.pdf Executable file

Binary file not shown.

19
frontend/src/site.webmanifest Executable file
View File

@@ -0,0 +1,19 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}

17
frontend/tailwind.config.js Executable file
View File

@@ -0,0 +1,17 @@
module.exports = {
content: ["./src/**/*.{html,js}"],
theme: {
extend: {},
},
plugins: [require("daisyui")],
daisyui: {
themes: ["light"], // false: only light + dark | true: all themes | array: specific themes like this ["light", "dark", "cupcake"]
base: true, // applies background color and foreground color for root element by default
styled: true, // include daisyUI colors and design decisions for all components
utils: true, // adds responsive and modifier utility classes
prefix: "", // prefix for daisyUI classnames (components, modifiers and responsive class names. Not colors)
logs: true, // Shows info about daisyUI version and used config in the console when building your CSS
themeRoot: ":root", // The element that receives theme color CSS variables
}
}