Spaces:
Sleeping
Sleeping
Commit ·
462dbd9
1
Parent(s): 73e6979
All
Browse files- app.py +3 -0
- pages/about.py +3 -4
- pages/categories.py +3 -4
- pages/favorites.py +3 -4
- pages/help.py +3 -4
- pages/history.py +3 -4
- pages/home.py +3 -4
- pages/settings.py +3 -4
- pages/trending.py +3 -4
app.py
CHANGED
|
@@ -2,6 +2,9 @@ import streamlit as st
|
|
| 2 |
from streamlit_option_menu import option_menu
|
| 3 |
import json
|
| 4 |
|
|
|
|
|
|
|
|
|
|
| 5 |
# Load ikon dari JSON
|
| 6 |
with open("icons.json", "r") as file:
|
| 7 |
icons_dict = json.load(file)
|
|
|
|
| 2 |
from streamlit_option_menu import option_menu
|
| 3 |
import json
|
| 4 |
|
| 5 |
+
# 🛠 Set konfigurasi halaman di awal
|
| 6 |
+
st.set_page_config(page_title="Nekopoi", layout="wide")
|
| 7 |
+
|
| 8 |
# Load ikon dari JSON
|
| 9 |
with open("icons.json", "r") as file:
|
| 10 |
icons_dict = json.load(file)
|
pages/about.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
st.write("
|
| 6 |
-
st.write("Informasi tentang aplikasi ini.")
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
def run():
|
| 4 |
+
st.write("# ℹ️ About")
|
| 5 |
+
st.write("Ini adalah halaman About.")
|
|
|
pages/categories.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
st.write("
|
| 6 |
-
st.write("Pilih kategori yang tersedia di sini.")
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
def run():
|
| 4 |
+
st.write("# 📂 Categories")
|
| 5 |
+
st.write("Ini adalah halaman Categories.")
|
|
|
pages/favorites.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
st.write("
|
| 6 |
-
st.write("Daftar favoritmu ada di sini.")
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
def run():
|
| 4 |
+
st.write("# ❤️ Favorites")
|
| 5 |
+
st.write("Ini adalah halaman Favorites.")
|
|
|
pages/help.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
st.write("
|
| 6 |
-
st.write("Ada pertanyaan? Cek bagian bantuan di sini.")
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
def run():
|
| 4 |
+
st.write("# ❓ Help")
|
| 5 |
+
st.write("Ini adalah halaman Help.")
|
|
|
pages/history.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
st.write("
|
| 6 |
-
st.write("Riwayat aktivitasmu ada di sini.")
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
def run():
|
| 4 |
+
st.write("# ⏳ History")
|
| 5 |
+
st.write("Ini adalah halaman History.")
|
|
|
pages/home.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
st.write("
|
| 6 |
-
st.write("Selamat datang di halaman Home!")
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
def run():
|
| 4 |
+
st.write("# 🏠 Home")
|
| 5 |
+
st.write("Selamat datang di halaman Home!")
|
|
|
pages/settings.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
st.write("
|
| 6 |
-
st.write("Ubah pengaturan aplikasi di sini.")
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
def run():
|
| 4 |
+
st.write("# ⚙️ Settings")
|
| 5 |
+
st.write("Ini adalah halaman Settings.")
|
|
|
pages/trending.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
st.write("
|
| 6 |
-
st.write("Halaman ini menampilkan konten yang sedang trending.")
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
def run():
|
| 4 |
+
st.write("# 🔥 Trending")
|
| 5 |
+
st.write("Ini adalah halaman Trending.")
|
|
|