File size: 54,085 Bytes
ad8d7af c096d81 ad8d7af 0a887fb ad8d7af 0a887fb c096d81 0a887fb ad8d7af 0a887fb c096d81 0a887fb ad8d7af 0a887fb ad8d7af 0a887fb c096d81 0a887fb c096d81 ad8d7af 0a887fb ad8d7af 0a887fb ad8d7af 0a887fb c096d81 0a887fb ad8d7af 0a887fb c096d81 0a887fb c096d81 0a887fb ad8d7af c096d81 0a887fb ad8d7af c096d81 0a887fb ad8d7af 0a887fb ad8d7af 0a887fb c096d81 ad8d7af c096d81 0a887fb ad8d7af 0a887fb c096d81 ad8d7af 0a887fb c096d81 ad8d7af 0a887fb ad8d7af 0a887fb ad8d7af 0a887fb ad8d7af 0a887fb ad8d7af 0a887fb c096d81 0a887fb ad8d7af 0a887fb c096d81 0a887fb c096d81 0a887fb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cuan.in - Temukan Usaha UMKM Terbaik untuk Anda</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
background-color: #f8f9fa;
}
.gradient-bg {
background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
}
.business-card, .article-card, .webinar-card, .tutorial-card {
transition: all 0.3s ease;
}
.business-card:hover, .article-card:hover, .webinar-card:hover, .tutorial-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.progress-bar {
height: 8px;
border-radius: 4px;
background-color: #e5e7eb;
}
.progress-fill {
height: 100%;
border-radius: 4px;
background: linear-gradient(90deg, #4f46e5 0%, #8b5cf6 100%);
transition: width 0.5s ease;
}
.tab-active {
border-bottom: 3px solid #4f46e5;
color: #4f46e5;
font-weight: 600;
}
.page {
display: none;
}
.page-active {
display: block;
}
.nav-active {
color: #4f46e5;
}
/* Dashboard specific styles */
.dashboard-card {
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
}
.dashboard-card:hover {
transform: translateY(-3px);
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.stat-badge {
display: inline-flex;
align-items: center;
padding: 4px 8px;
border-radius: 12px;
font-size: 12px;
font-weight: 500;
}
.chart-container {
height: 200px;
position: relative;
}
.goal-progress {
height: 8px;
border-radius: 4px;
background-color: #e5e7eb;
overflow: hidden;
}
.goal-progress-fill {
height: 100%;
border-radius: 4px;
background: linear-gradient(90deg, #4f46e5 0%, #8b5cf6 100%);
}
.milestone-card {
border-left: 4px solid #4f46e5;
transition: all 0.3s ease;
}
.milestone-card:hover {
transform: translateX(5px);
}
</style>
</head>
<body class="max-w-md mx-auto bg-gray-50">
<!-- Header -->
<header class="gradient-bg text-white p-4 rounded-b-2xl shadow-lg" id="main-header">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<div class="w-10 h-10 bg-white rounded-full flex items-center justify-center">
<i class="fas fa-coins text-purple-600 text-xl"></i>
</div>
<h1 class="text-xl font-bold">Cuan.in</h1>
</div>
<div class="flex space-x-3">
<button class="bg-white bg-opacity-20 p-2 rounded-full">
<i class="fas fa-bell"></i>
</button>
<button class="bg-white bg-opacity-20 p-2 rounded-full">
<i class="fas fa-user"></i>
</button>
</div>
</div>
<div class="mt-6">
<h2 class="text-xl font-semibold">Halo, Budi!</h2>
<p class="text-purple-100">Temukan usaha UMKM yang cocok untuk Anda</p>
<div class="mt-4 relative">
<input type="text" placeholder="Cari jenis usaha..." class="w-full py-3 px-4 pr-10 rounded-full text-gray-800 focus:outline-none focus:ring-2 focus:ring-purple-300">
<button class="absolute right-3 top-3 text-purple-600">
<i class="fas fa-search"></i>
</button>
</div>
</div>
</header>
<!-- Home Page -->
<div id="home-page" class="page page-active">
<!-- Progress Section -->
<section class="bg-white mx-4 mt-6 p-4 rounded-xl shadow-sm">
<div class="flex justify-between items-center mb-2">
<h3 class="font-medium text-gray-700">Profil UMKM Anda</h3>
<span class="text-sm text-purple-600">65% lengkap</span>
</div>
<div class="progress-bar mb-2">
<div class="progress-fill" style="width: 65%"></div>
</div>
<p class="text-sm text-gray-500">Lengkapi profil untuk rekomendasi usaha yang lebih akurat</p>
<button class="mt-3 w-full py-2 bg-purple-100 text-purple-600 rounded-lg font-medium hover:bg-purple-200 transition">
Lengkapi Profil
</button>
</section>
<!-- Tabs Navigation -->
<div class="flex justify-around mt-6 px-4 border-b">
<button class="tab-active pb-2 px-4" onclick="switchTab('recommendation')">Rekomendasi</button>
<button class="text-gray-500 pb-2 px-4" onclick="switchTab('article')">Artikel</button>
<button class="text-gray-500 pb-2 px-4" onclick="switchTab('webinar')">Webinar</button>
<button class="text-gray-500 pb-2 px-4" onclick="switchTab('tutorial')">Tutorial</button>
</div>
<!-- Business Recommendations -->
<section id="recommendation-tab" class="px-4 mt-4 tab-content">
<h3 class="font-semibold text-lg mb-3">Rekomendasi untuk Anda</h3>
<div class="space-y-4">
<!-- Business Card 1 -->
<div class="business-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex items-start">
<div class="w-16 h-16 bg-yellow-100 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-utensils text-yellow-500 text-2xl"></i>
</div>
<div class="flex-1">
<h4 class="font-semibold">Warung Makan Sederhana</h4>
<div class="flex items-center mt-1">
<i class="fas fa-map-marker-alt text-gray-400 text-xs mr-1"></i>
<span class="text-xs text-gray-500">Cocok di daerah Anda (Jakarta Selatan)</span>
</div>
</div>
</div>
<div class="mt-3 flex justify-between items-center">
<div>
<p class="text-xs text-gray-500">Estimasi Modal</p>
<p class="font-medium">Rp 5-10 juta</p>
</div>
<div>
<p class="text-xs text-gray-500">Potensi Keuntungan</p>
<p class="font-medium text-green-500">Rp 2-4 juta/bulan</p>
</div>
<button class="bg-purple-600 text-white px-3 py-1 rounded-lg text-sm hover:bg-purple-700 transition">
Detail
</button>
</div>
</div>
<!-- Business Card 2 -->
<div class="business-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex items-start">
<div class="w-16 h-16 bg-blue-100 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-tshirt text-blue-500 text-2xl"></i>
</div>
<div class="flex-1">
<h4 class="font-semibold">Bisnis Kaos Distro</h4>
<div class="flex items-center mt-1">
<i class="fas fa-map-marker-alt text-gray-400 text-xs mr-1"></i>
<span class="text-xs text-gray-500">Cocok di daerah Anda (Jakarta Selatan)</span>
</div>
</div>
</div>
<div class="mt-3 flex justify-between items-center">
<div>
<p class="text-xs text-gray-500">Estimasi Modal</p>
<p class="font-medium">Rp 8-15 juta</p>
</div>
<div>
<p class="text-xs text-gray-500">Potensi Keuntungan</p>
<p class="font-medium text-green-500">Rp 3-6 juta/bulan</p>
</div>
<button class="bg-purple-600 text-white px-3 py-1 rounded-lg text-sm hover:bg-purple-700 transition">
Detail
</button>
</div>
</div>
<!-- Business Card 3 -->
<div class="business-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex items-start">
<div class="w-16 h-16 bg-green-100 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-seedling text-green-500 text-2xl"></i>
</div>
<div class="flex-1">
<h4 class="font-semibold">Tanaman Hias Mini</h4>
<div class="flex items-center mt-1">
<i class="fas fa-map-marker-alt text-gray-400 text-xs mr-1"></i>
<span class="text-xs text-gray-500">Cocok di daerah Anda (Jakarta Selatan)</span>
</div>
</div>
</div>
<div class="mt-3 flex justify-between items-center">
<div>
<p class="text-xs text-gray-500">Estimasi Modal</p>
<p class="font-medium">Rp 3-7 juta</p>
</div>
<div>
<p class="text-xs text-gray-500">Potensi Keuntungan</p>
<p class="font-medium text-green-500">Rp 1.5-3 juta/bulan</p>
</div>
<button class="bg-purple-600 text-white px-3 py-1 rounded-lg text-sm hover:bg-purple-700 transition">
Detail
</button>
</div>
</div>
</div>
<button class="w-full mt-4 py-2 border border-purple-600 text-purple-600 rounded-lg font-medium hover:bg-purple-50 transition">
Lihat Semua Rekomendasi
</button>
</section>
<!-- Articles Section -->
<section id="article-tab" class="px-4 mt-4 tab-content hidden">
<div class="flex justify-between items-center mb-3">
<h3 class="font-semibold text-lg">Artikel Terbaru</h3>
<a href="#" class="text-sm text-purple-600">Lihat semua</a>
</div>
<div class="space-y-4">
<!-- Article Card 1 -->
<div class="article-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex">
<div class="w-20 h-20 bg-purple-100 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-chart-line text-purple-600 text-xl"></i>
</div>
<div>
<h4 class="font-semibold">5 Tren Bisnis Makanan 2023</h4>
<p class="text-sm text-gray-600 mt-1">Pelajari jenis makanan yang sedang booming di pasaran</p>
<div class="mt-2 flex items-center">
<span class="text-xs text-gray-500">8 menit baca</span>
<span class="mx-2 text-gray-300">•</span>
<span class="text-xs text-gray-500">2 hari lalu</span>
</div>
</div>
</div>
</div>
<!-- Article Card 2 -->
<div class="article-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex">
<div class="w-20 h-20 bg-blue-100 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-money-bill-wave text-blue-600 text-xl"></i>
</div>
<div>
<h4 class="font-semibold">Cara Mengatur Keuangan UMKM</h4>
<p class="text-sm text-gray-600 mt-1">Tips sederhana untuk mengelola keuangan usaha kecil Anda</p>
<div class="mt-2 flex items-center">
<span class="text-xs text-gray-500">12 menit baca</span>
<span class="mx-2 text-gray-300">•</span>
<span class="text-xs text-gray-500">5 hari lalu</span>
</div>
</div>
</div>
</div>
<!-- Article Card 3 -->
<div class="article-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex">
<div class="w-20 h-20 bg-green-100 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-store text-green-600 text-xl"></i>
</div>
<div>
<h4 class="font-semibold">Strategi Pemasaran Online</h4>
<p class="text-sm text-gray-600 mt-1">Manfaatkan media sosial untuk menjangkau lebih banyak pelanggan</p>
<div class="mt-2 flex items-center">
<span class="text-xs text-gray-500">15 menit baca</span>
<span class="mx-2 text-gray-300">•</span>
<span class="text-xs text-gray-500">1 minggu lalu</span>
</div>
</div>
</div>
</div>
</div>
<button class="w-full mt-4 py-2 border border-purple-600 text-purple-600 rounded-lg font-medium hover:bg-purple-50 transition">
Lihat Semua Artikel
</button>
</section>
<!-- Webinars Section -->
<section id="webinar-tab" class="px-4 mt-4 tab-content hidden">
<div class="flex justify-between items-center mb-3">
<h3 class="font-semibold text-lg">Webinar Mendatang</h3>
<a href="#" class="text-sm text-purple-600">Lihat semua</a>
</div>
<div class="space-y-4">
<!-- Webinar Card 1 -->
<div class="webinar-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex">
<div class="w-20 h-20 bg-purple-100 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-video text-purple-600 text-xl"></i>
</div>
<div>
<h4 class="font-semibold">Memulai Bisnis Kuliner</h4>
<p class="text-sm text-gray-600 mt-1">Pelajari langkah demi langkah memulai bisnis kuliner</p>
<div class="mt-2 flex items-center">
<span class="text-xs text-gray-500"><i class="far fa-calendar mr-1"></i> 15 Juli 2023</span>
<span class="mx-2 text-gray-300">•</span>
<span class="text-xs text-gray-500"><i class="far fa-clock mr-1"></i> 19:00 WIB</span>
</div>
<button class="mt-2 text-xs bg-purple-600 text-white px-3 py-1 rounded-full">
Daftar Sekarang
</button>
</div>
</div>
</div>
<!-- Webinar Card 2 -->
<div class="webinar-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex">
<div class="w-20 h-20 bg-blue-100 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-chart-pie text-blue-600 text-xl"></i>
</div>
<div>
<h4 class="font-semibold">Analisis Pasar UMKM</h4>
<p class="text-sm text-gray-600 mt-1">Pahami kebutuhan pasar untuk produk Anda</p>
<div class="mt-2 flex items-center">
<span class="text-xs text-gray-500"><i class="far fa-calendar mr-1"></i> 20 Juli 2023</span>
<span class="mx-2 text-gray-300">•</span>
<span class="text-xs text-gray-500"><i class="far fa-clock mr-1"></i> 13:00 WIB</span>
</div>
<button class="mt-2 text-xs bg-purple-600 text-white px-3 py-1 rounded-full">
Daftar Sekarang
</button>
</div>
</div>
</div>
<!-- Webinar Card 3 -->
<div class="webinar-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex">
<div class="w-20 h-20 bg-green-100 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-bullhorn text-green-600 text-xl"></i>
</div>
<div>
<h4 class="font-semibold">Digital Marketing untuk UMKM</h4>
<p class="text-sm text-gray-600 mt-1">Manfaatkan digital marketing untuk tingkatkan penjualan</p>
<div class="mt-2 flex items-center">
<span class="text-xs text-gray-500"><i class="far fa-calendar mr-1"></i> 25 Juli 2023</span>
<span class="mx-2 text-gray-300">•</span>
<span class="text-xs text-gray-500"><i class="far fa-clock mr-1"></i> 10:00 WIB</span>
</div>
<button class="mt-2 text-xs bg-purple-600 text-white px-3 py-1 rounded-full">
Daftar Sekarang
</button>
</div>
</div>
</div>
</div>
<button class="w-full mt-4 py-2 border border-purple-600 text-purple-600 rounded-lg font-medium hover:bg-purple-50 transition">
Lihat Semua Webinar
</button>
</section>
<!-- Tutorials Section -->
<section id="tutorial-tab" class="px-4 mt-4 tab-content hidden">
<div class="flex justify-between items-center mb-3">
<h3 class="font-semibold text-lg">Tutorial Praktis</h3>
<a href="#" class="text-sm text-purple-600">Lihat semua</a>
</div>
<div class="space-y-4">
<!-- Tutorial Card 1 -->
<div class="tutorial-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex">
<div class="w-20 h-20 bg-purple-100 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-calculator text-purple-600 text-xl"></i>
</div>
<div>
<h4 class="font-semibold">Hitung HPP Produk</h4>
<p class="text-sm text-gray-600 mt-1">Cara mudah menghitung harga pokok produksi</p>
<div class="mt-2 flex items-center">
<span class="text-xs text-gray-500"><i class="fas fa-play-circle mr-1"></i> Video</span>
<span class="mx-2 text-gray-300">•</span>
<span class="text-xs text-gray-500">8 menit</span>
</div>
</div>
</div>
</div>
<!-- Tutorial Card 2 -->
<div class="tutorial-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex">
<div class="w-20 h-20 bg-blue-100 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-camera text-blue-600 text-xl"></i>
</div>
<div>
<h4 class="font-semibold">Foto Produk yang Menarik</h4>
<p class="text-sm text-gray-600 mt-1">Tips memotret produk dengan smartphone</p>
<div class="mt-2 flex items-center">
<span class="text-xs text-gray-500"><i class="fas fa-play-circle mr-1"></i> Video</span>
<span class="mx-2 text-gray-300">•</span>
<span class="text-xs text-gray-500">12 menit</span>
</div>
</div>
</div>
</div>
<!-- Tutorial Card 3 -->
<div class="tutorial-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex">
<div class="w-20 h-20 bg-green-100 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-file-invoice-dollar text-green-600 text-xl"></i>
</div>
<div>
<h4 class="font-semibold">Buat Invoice Profesional</h4>
<p class="text-sm text-gray-600 mt-1">Panduan membuat invoice menggunakan Excel</p>
<div class="mt-2 flex items-center">
<span class="text-xs text-gray-500"><i class="fas fa-file-pdf mr-1"></i> PDF</span>
<span class="mx-2 text-gray-300">•</span>
<span class="text-xs text-gray-500">5 langkah</span>
</div>
</div>
</div>
</div>
</div>
<button class="w-full mt-4 py-2 border border-purple-600 text-purple-600 rounded-lg font-medium hover:bg-purple-50 transition">
Lihat Semua Tutorial
</button>
</section>
</div>
<!-- Search Page -->
<div id="search-page" class="page hidden">
<div class="bg-white p-4 rounded-b-xl shadow-sm">
<div class="relative">
<input type="text" placeholder="Cari usaha, artikel, atau webinar..." class="w-full py-3 px-4 pr-10 rounded-full border focus:outline-none focus:ring-2 focus:ring-purple-300">
<button class="absolute right-3 top-3 text-gray-500">
<i class="fas fa-search"></i>
</button>
</div>
<div class="mt-4">
<h3 class="font-semibold">Kategori Populer</h3>
<div class="flex flex-wrap gap-2 mt-2">
<span class="px-3 py-1 bg-purple-100 text-purple-600 rounded-full text-sm">Makanan</span>
<span class="px-3 py-1 bg-blue-100 text-blue-600 rounded-full text-sm">Fashion</span>
<span class="px-3 py-1 bg-green-100 text-green-600 rounded-full text-sm">Pertanian</span>
<span class="px-3 py-1 bg-yellow-100 text-yellow-600 rounded-full text-sm">Kerajinan</span>
<span class="px-3 py-1 bg-red-100 text-red-600 rounded-full text-sm">Kesehatan</span>
<span class="px-3 py-1 bg-indigo-100 text-indigo-600 rounded-full text-sm">Teknologi</span>
</div>
</div>
</div>
<div class="px-4 mt-4">
<h3 class="font-semibold">Pencarian Terakhir</h3>
<div class="mt-2 space-y-2">
<div class="flex justify-between items-center py-2 border-b">
<span class="text-gray-600">Bisnis kopi</span>
<i class="fas fa-times text-gray-400"></i>
</div>
<div class="flex justify-between items-center py-2 border-b">
<span class="text-gray-600">Modal usaha kecil</span>
<i class="fas fa-times text-gray-400"></i>
</div>
<div class="flex justify-between items-center py-2 border-b">
<span class="text-gray-600">Resep kue</span>
<i class="fas fa-times text-gray-400"></i>
</div>
</div>
</div>
</div>
<!-- Dashboard Page -->
<div id="dashboard-page" class="page hidden">
<div class="bg-white p-4 rounded-b-xl shadow-sm">
<div class="flex justify-between items-center">
<h1 class="text-xl font-bold">Dashboard UMKM</h1>
<div class="flex items-center space-x-2">
<button class="text-gray-500">
<i class="fas fa-filter"></i>
</button>
<button class="text-gray-500">
<i class="fas fa-calendar-alt"></i>
</button>
</div>
</div>
</div>
<div class="px-4 mt-4 space-y-4">
<!-- Quick Stats -->
<div class="grid grid-cols-2 gap-3">
<div class="dashboard-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-gray-500">Total Penjualan</p>
<h3 class="text-xl font-bold">Rp 12.450.000</h3>
</div>
<div class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center">
<i class="fas fa-shopping-cart text-purple-600"></i>
</div>
</div>
<div class="mt-2">
<span class="stat-badge bg-green-100 text-green-600">
<i class="fas fa-arrow-up mr-1"></i> 12% dari bulan lalu
</span>
</div>
</div>
<div class="dashboard-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-gray-500">Pelanggan</p>
<h3 class="text-xl font-bold">143</h3>
</div>
<div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center">
<i class="fas fa-users text-blue-600"></i>
</div>
</div>
<div class="mt-2">
<span class="stat-badge bg-green-100 text-green-600">
<i class="fas fa-arrow-up mr-1"></i> 8% dari bulan lalu
</span>
</div>
</div>
<div class="dashboard-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-gray-500">Produk Terjual</p>
<h3 class="text-xl font-bold">287</h3>
</div>
<div class="w-12 h-12 bg-yellow-100 rounded-full flex items-center justify-center">
<i class="fas fa-box-open text-yellow-600"></i>
</div>
</div>
<div class="mt-2">
<span class="stat-badge bg-red-100 text-red-600">
<i class="fas fa-arrow-down mr-1"></i> 5% dari bulan lalu
</span>
</div>
</div>
<div class="dashboard-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-gray-500">Rating</p>
<h3 class="text-xl font-bold">4.7</h3>
</div>
<div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center">
<i class="fas fa-star text-green-600"></i>
</div>
</div>
<div class="mt-2">
<span class="stat-badge bg-green-100 text-green-600">
<i class="fas fa-arrow-up mr-1"></i> 0.2 dari bulan lalu
</span>
</div>
</div>
</div>
<!-- Sales Chart -->
<div class="dashboard-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex justify-between items-center mb-4">
<h3 class="font-semibold">Perkembangan Penjualan</h3>
<select class="text-sm border rounded px-2 py-1">
<option>Bulan Ini</option>
<option>3 Bulan Terakhir</option>
<option>Tahun Ini</option>
</select>
</div>
<div class="chart-container">
<!-- Placeholder for chart -->
<div class="w-full h-full bg-gray-100 rounded-lg flex items-center justify-center">
<p class="text-gray-500">Grafik penjualan akan muncul di sini</p>
</div>
</div>
</div>
<!-- Goals Progress -->
<div class="dashboard-card bg-white p-4 rounded-xl shadow-sm">
<h3 class="font-semibold mb-4">Target Bulanan</h3>
<div class="space-y-3">
<div>
<div class="flex justify-between mb-1">
<span class="text-sm font-medium">Target Penjualan</span>
<span class="text-sm font-medium">65%</span>
</div>
<div class="goal-progress">
<div class="goal-progress-fill" style="width: 65%"></div>
</div>
<p class="text-xs text-gray-500 mt-1">Rp 12.450.000 dari Rp 19.000.000</p>
</div>
<div>
<div class="flex justify-between mb-1">
<span class="text-sm font-medium">Target Pelanggan Baru</span>
<span class="text-sm font-medium">80%</span>
</div>
<div class="goal-progress">
<div class="goal-progress-fill" style="width: 80%"></div>
</div>
<p class="text-xs text-gray-500 mt-1">32 dari 40 pelanggan baru</p>
</div>
<div>
<div class="flex justify-between mb-1">
<span class="text-sm font-medium">Target Produk Baru</span>
<span class="text-sm font-medium">40%</span>
</div>
<div class="goal-progress">
<div class="goal-progress-fill" style="width: 40%"></div>
</div>
<p class="text-xs text-gray-500 mt-1">2 dari 5 produk baru</p>
</div>
</div>
<button class="w-full mt-4 py-2 bg-purple-600 text-white rounded-lg font-medium hover:bg-purple-700 transition">
Atur Target Baru
</button>
</div>
<!-- Recent Activities -->
<div class="dashboard-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex justify-between items-center mb-4">
<h3 class="font-semibold">Aktivitas Terkini</h3>
<a href="#" class="text-sm text-purple-600">Lihat semua</a>
</div>
<div class="space-y-4">
<div class="flex items-start">
<div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center mr-3 mt-1">
<i class="fas fa-shopping-cart text-green-600"></i>
</div>
<div>
<h4 class="font-medium">Pesanan Baru #ORD-287</h4>
<p class="text-sm text-gray-600">Rp 450.000 • 2 produk</p>
<p class="text-xs text-gray-500 mt-1">Hari ini, 14:32</p>
</div>
</div>
<div class="flex items-start">
<div class="w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center mr-3 mt-1">
<i class="fas fa-user-plus text-blue-600"></i>
</div>
<div>
<h4 class="font-medium">Pelanggan Baru</h4>
<p class="text-sm text-gray-600">Siti Nurhaliza • Jakarta</p>
<p class="text-xs text-gray-500 mt-1">Kemarin, 18:15</p>
</div>
</div>
<div class="flex items-start">
<div class="w-10 h-10 bg-yellow-100 rounded-full flex items-center justify-center mr-3 mt-1">
<i class="fas fa-star text-yellow-600"></i>
</div>
<div>
<h4 class="font-medium">Ulasan Baru</h4>
<p class="text-sm text-gray-600">5 bintang • "Produk sangat berkualitas"</p>
<p class="text-xs text-gray-500 mt-1">Kemarin, 10:42</p>
</div>
</div>
</div>
</div>
<!-- Milestones -->
<div class="dashboard-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex justify-between items-center mb-4">
<h3 class="font-semibold">Pencapaian</h3>
<a href="#" class="text-sm text-purple-600">Lihat semua</a>
</div>
<div class="space-y-3">
<div class="milestone-card bg-gray-50 p-3 rounded-r">
<div class="flex items-center">
<div class="w-8 h-8 bg-purple-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-trophy text-purple-600"></i>
</div>
<div>
<h4 class="font-medium">Penjualan Rp 10 Juta</h4>
<p class="text-xs text-gray-500">Pencapaian pertama kali melewati Rp 10 juta dalam sebulan</p>
</div>
</div>
</div>
<div class="milestone-card bg-gray-50 p-3 rounded-r">
<div class="flex items-center">
<div class="w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-users text-blue-600"></i>
</div>
<div>
<h4 class="font-medium">100 Pelanggan</h4>
<p class="text-xs text-gray-500">Total pelanggan mencapai 100 orang</p>
</div>
</div>
</div>
<div class="milestone-card bg-gray-50 p-3 rounded-r">
<div class="flex items-center">
<div class="w-8 h-8 bg-green-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-star text-green-600"></i>
</div>
<div>
<h4 class="font-medium">Rating 4.5+</h4>
<p class="text-xs text-gray-500">Pertahankan rating di atas 4.5 selama 3 bulan</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Articles Page -->
<div id="article-page" class="page hidden">
<div class="bg-white p-4 rounded-b-xl shadow-sm">
<h1 class="text-xl font-bold">Artikel UMKM</h1>
<div class="mt-2 relative">
<input type="text" placeholder="Cari artikel..." class="w-full py-3 px-4 pr-10 rounded-full border focus:outline-none focus:ring-2 focus:ring-purple-300">
<button class="absolute right-3 top-3 text-gray-500">
<i class="fas fa-search"></i>
</button>
</div>
</div>
<div class="px-4 mt-4">
<div class="flex justify-between items-center mb-3">
<h3 class="font-semibold">Kategori Populer</h3>
<a href="#" class="text-sm text-purple-600">Lihat semua</a>
</div>
<div class="flex overflow-x-auto gap-3 pb-2">
<div class="flex-shrink-0 w-24 h-24 bg-purple-100 rounded-xl flex flex-col items-center justify-center">
<i class="fas fa-chart-line text-purple-600 text-xl mb-1"></i>
<span class="text-xs font-medium">Strategi</span>
</div>
<div class="flex-shrink-0 w-24 h-24 bg-blue-100 rounded-xl flex flex-col items-center justify-center">
<i class="fas fa-money-bill-wave text-blue-600 text-xl mb-1"></i>
<span class="text-xs font-medium">Keuangan</span>
</div>
<div class="flex-shrink-0 w-24 h-24 bg-green-100 rounded-xl flex flex-col items-center justify-center">
<i class="fas fa-store text-green-600 text-xl mb-1"></i>
<span class="text-xs font-medium">Pemasaran</span>
</div>
<div class="flex-shrink-0 w-24 h-24 bg-yellow-100 rounded-xl flex flex-col items-center justify-center">
<i class="fas fa-utensils text-yellow-600 text-xl mb-1"></i>
<span class="text-xs font-medium">Kuliner</span>
</div>
<div class="flex-shrink-0 w-24 h-24 bg-red-100 rounded-xl flex flex-col items-center justify-center">
<i class="fas fa-tshirt text-red-600 text-xl mb-1"></i>
<span class="text-xs font-medium">Fashion</span>
</div>
</div>
<div class="mt-6">
<div class="flex justify-between items-center mb-3">
<h3 class="font-semibold">Artikel Terbaru</h3>
<a href="#" class="text-sm text-purple-600">Lihat semua</a>
</div>
<div class="space-y-4">
<div class="article-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex">
<div class="w-20 h-20 bg-purple-100 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-chart-line text-purple-600 text-xl"></i>
</div>
<div>
<h4 class="font-semibold">5 Tren Bisnis Makanan 2023</h4>
<p class="text-sm text-gray-600 mt-1">Pelajari jenis makanan yang sedang booming di pasaran</p>
<div class="mt-2 flex items-center">
<span class="text-xs text-gray-500">8 menit baca</span>
<span class="mx-2 text-gray-300">•</span>
<span class="text-xs text-gray-500">2 hari lalu</span>
</div>
</div>
</div>
</div>
<div class="article-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex">
<div class="w-20 h-20 bg-blue-100 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-money-bill-wave text-blue-600 text-xl"></i>
</div>
<div>
<h4 class="font-semibold">Cara Mengatur Keuangan UMKM</h4>
<p class="text-sm text-gray-600 mt-1">Tips sederhana untuk mengelola keuangan usaha kecil Anda</p>
<div class="mt-2 flex items-center">
<span class="text-xs text-gray-500">12 menit baca</span>
<span class="mx-2 text-gray-300">•</span>
<span class="text-xs text-gray-500">5 hari lalu</span>
</div>
</div>
</div>
</div>
<div class="article-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex">
<div class="w-20 h-20 bg-green-100 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-store text-green-600 text-xl"></i>
</div>
<div>
<h4 class="font-semibold">Strategi Pemasaran Online</h4>
<p class="text-sm text-gray-600 mt-1">Manfaatkan media sosial untuk menjangkau lebih banyak pelanggan</p>
<div class="mt-2 flex items-center">
<span class="text-xs text-gray-500">15 menit baca</span>
<span class="mx-2 text-gray-300">•</span>
<span class="text-xs text-gray-500">1 minggu lalu</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Profile Page -->
<div id="profile-page" class="page hidden">
<div class="bg-white p-4 rounded-b-xl shadow-sm">
<div class="flex justify-between items-center">
<h1 class="text-xl font-bold">Profil Saya</h1>
<button class="text-purple-600">
<i class="fas fa-ellipsis-h"></i>
</button>
</div>
</div>
<div class="px-4 mt-4">
<div class="bg-white p-4 rounded-xl shadow-sm">
<div class="flex flex-col items-center">
<div class="w-20 h-20 bg-purple-100 rounded-full flex items-center justify-center mb-3">
<i class="fas fa-user text-purple-600 text-2xl"></i>
</div>
<h3 class="font-semibold">Budi Santoso</h3>
<p class="text-sm text-gray-500">Pemilik UMKM Makanan</p>
<div class="mt-4 w-full">
<div class="flex justify-between mb-1">
<span class="text-sm font-medium">Profil UMKM</span>
<span class="text-sm font-medium">65%</span>
</div>
<div class="progress-bar">
<div class="progress-fill" style="width: 65%"></div>
</div>
</div>
</div>
<div class="mt-6 space-y-4">
<div class="flex items-center justify-between py-2 border-b">
<div class="flex items-center">
<div class="w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-store text-purple-600"></i>
</div>
<span>UMKM Saya</span>
</div>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
<div class="flex items-center justify-between py-2 border-b">
<div class="flex items-center">
<div class="w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-cog text-blue-600"></i>
</div>
<span>Pengaturan</span>
</div>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
<div class="flex items-center justify-between py-2 border-b">
<div class="flex items-center">
<div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-question-circle text-green-600"></i>
</div>
<span>Bantuan</span>
</div>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
<div class="flex items-center justify-between py-2">
<div class="flex items-center">
<div class="w-10 h-10 bg-red-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-sign-out-alt text-red-600"></i>
</div>
<span>Keluar</span>
</div>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
</div>
</div>
<div class="mt-4 bg-white p-4 rounded-xl shadow-sm">
<h3 class="font-semibold mb-3">Pencapaian Saya</h3>
<div class="grid grid-cols-3 gap-2">
<div class="flex flex-col items-center p-2">
<div class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center mb-1">
<i class="fas fa-trophy text-purple-600"></i>
</div>
<span class="text-xs text-center">Pemula</span>
</div>
<div class="flex flex-col items-center p-2">
<div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mb-1">
<i class="fas fa-fire text-blue-600"></i>
</div>
<span class="text-xs text-center">5 Hari Berturut-turut</span>
</div>
<div class="flex flex-col items-center p-2">
<div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mb-1">
<i class="fas fa-book text-green-600"></i>
</div>
<span class="text-xs text-center">Pembaca Aktif</span>
</div>
</div>
</div>
</div>
</div>
<!-- Bottom Navigation -->
<nav class="fixed bottom-0 left-0 right-0 bg-white shadow-lg flex justify-around py-3 max-w-md mx-auto">
<a href="#" class="flex flex-col items-center text-purple-600 nav-active" onclick="switchPage('home-page')">
<i class="fas fa-home text-lg"></i>
<span class="text-xs mt-1">Beranda</span>
</a>
<a href="#" class="flex flex-col items-center text-gray-500" onclick="switchPage('search-page')">
<i class="fas fa-search text-lg"></i>
<span class="text-xs mt-1">Cari</span>
</a>
<a href="#" class="flex flex-col items-center text-gray-500" onclick="switchPage('dashboard-page')">
<i class="fas fa-chart-line text-lg"></i>
<span class="text-xs mt-1">Dashboard</span>
</a>
<a href="#" class="flex flex-col items-center text-gray-500" onclick="switchPage('article-page')">
<i class="fas fa-book-open text-lg"></i>
<span class="text-xs mt-1">Artikel</span>
</a>
<a href="#" class="flex flex-col items-center text-gray-500" onclick="switchPage('profile-page')">
<i class="fas fa-user text-lg"></i>
<span class="text-xs mt-1">Profil</span>
</a>
</nav>
<script>
// Switch between pages
function switchPage(pageId) {
// Hide all pages
document.querySelectorAll('.page').forEach(page => {
page.classList.remove('page-active');
page.classList.add('hidden');
});
// Show selected page
document.getElementById(pageId).classList.remove('hidden');
document.getElementById(pageId).classList.add('page-active');
// Update active nav item
document.querySelectorAll('nav a').forEach(navItem => {
navItem.classList.remove('text-purple-600', 'nav-active');
navItem.classList.add('text-gray-500');
});
// Set active nav item
event.currentTarget.classList.remove('text-gray-500');
event.currentTarget.classList.add('text-purple-600', 'nav-active');
// Update header based on page
const header = document.getElementById('main-header');
if (pageId === 'home-page') {
header.classList.remove('hidden');
} else {
header.classList.add('hidden');
}
}
// Switch between tabs on home page
function switchTab(tabId) {
// Update tab buttons
document.querySelectorAll('.flex.justify-around button').forEach(tab => {
tab.classList.remove('tab-active');
tab.classList.add('text-gray-500');
});
// Add active class to clicked tab
event.currentTarget.classList.add('tab-active');
event.currentTarget.classList.remove('text-gray-500');
// Hide all tab contents
document.querySelectorAll('.tab-content').forEach(content => {
content.classList.add('hidden');
});
// Show selected tab content
document.getElementById(tabId + '-tab').classList.remove('hidden');
}
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=farwew/test" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |