Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- client/public/fonts/SmileySans-Oblique.otf +3 -0
- client/public/icons/001-treasure map.svg +1 -0
- client/public/icons/cactus.svg +14 -0
- client/public/icons/egg.svg +11 -0
- client/public/icons/feather.svg +11 -0
- client/public/icons/feedback.svg +12 -1
- client/public/icons/home.svg +12 -1
- client/public/icons/manage.svg +13 -0
- client/public/icons/slides.svg +9 -7
- client/public/icons/toolkit.svg +9 -6
- client/public/icons/tutorial tasks.svg +14 -1
- client/public/icons/votes.svg +12 -1
- client/public/icons/weekly practice.svg +11 -1
- client/public/index.html +7 -0
- client/src/components/Layout.tsx +5 -2
- client/src/index.css +3 -3
- client/src/pages/Dashboard.tsx +1 -1
.gitattributes
CHANGED
|
@@ -44,3 +44,4 @@ client/public/fonts/Invasible[[:space:]]Normal.ttf filter=lfs diff=lfs merge=lfs
|
|
| 44 |
client/public/fonts/Champion.otf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
client/public/fonts/Exo2.ttf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
client/public/favicon-512x512.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 44 |
client/public/fonts/Champion.otf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
client/public/fonts/Exo2.ttf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
client/public/favicon-512x512.png filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
client/public/fonts/SmileySans-Oblique.otf filter=lfs diff=lfs merge=lfs -text
|
client/public/fonts/SmileySans-Oblique.otf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:139b5dcbe70d6d52de85a62d148784c6af4bd161e38fdb62ba0c1e7e5065fca6
|
| 3 |
+
size 2003884
|
client/public/icons/001-treasure map.svg
ADDED
|
|
client/public/icons/cactus.svg
ADDED
|
|
client/public/icons/egg.svg
ADDED
|
|
client/public/icons/feather.svg
ADDED
|
|
client/public/icons/feedback.svg
CHANGED
|
|
|
|
client/public/icons/home.svg
CHANGED
|
|
|
|
client/public/icons/manage.svg
ADDED
|
|
client/public/icons/slides.svg
CHANGED
|
|
|
|
client/public/icons/toolkit.svg
CHANGED
|
|
|
|
client/public/icons/tutorial tasks.svg
CHANGED
|
|
|
|
client/public/icons/votes.svg
CHANGED
|
|
|
|
client/public/icons/weekly practice.svg
CHANGED
|
|
|
|
client/public/index.html
CHANGED
|
@@ -49,6 +49,13 @@
|
|
| 49 |
font-style: normal;
|
| 50 |
font-display: swap;
|
| 51 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
</style>
|
| 53 |
<title>TransHub</title>
|
| 54 |
</head>
|
|
|
|
| 49 |
font-style: normal;
|
| 50 |
font-display: swap;
|
| 51 |
}
|
| 52 |
+
@font-face {
|
| 53 |
+
font-family: 'SmileySans';
|
| 54 |
+
src: url('%PUBLIC_URL%/fonts/SmileySans-Oblique.otf') format('opentype');
|
| 55 |
+
font-weight: 400;
|
| 56 |
+
font-style: oblique;
|
| 57 |
+
font-display: swap;
|
| 58 |
+
}
|
| 59 |
</style>
|
| 60 |
<title>TransHub</title>
|
| 61 |
</head>
|
client/src/components/Layout.tsx
CHANGED
|
@@ -160,7 +160,10 @@ const Layout: React.FC<{ children: React.ReactNode }> = ({ children }) => {
|
|
| 160 |
{/* Top Bar */}
|
| 161 |
<header className="sticky top-0 z-40 bg-ui-panel/80 backdrop-blur border-b border-ui-border">
|
| 162 |
<div className="px-4 sm:px-6 lg:px-8 h-14 flex items-center justify-between">
|
| 163 |
-
<Link to="/dashboard" className="text-
|
|
|
|
|
|
|
|
|
|
| 164 |
<div />
|
| 165 |
</div>
|
| 166 |
</header>
|
|
@@ -180,7 +183,7 @@ const Layout: React.FC<{ children: React.ReactNode }> = ({ children }) => {
|
|
| 180 |
isActive ? 'text-ui-text' : 'text-ui-text/80 hover:text-ui-text'
|
| 181 |
}`}
|
| 182 |
>
|
| 183 |
-
<item.
|
| 184 |
<span>{item.name}</span>
|
| 185 |
</Link>
|
| 186 |
);
|
|
|
|
| 160 |
{/* Top Bar */}
|
| 161 |
<header className="sticky top-0 z-40 bg-ui-panel/80 backdrop-blur border-b border-ui-border">
|
| 162 |
<div className="px-4 sm:px-6 lg:px-8 h-14 flex items-center justify-between">
|
| 163 |
+
<Link to="/dashboard" className="text-2xl font-bold text-ui-neonBlue flex items-center" style={{ fontFamily: 'SmileySans, Inter, system-ui, sans-serif' }}>
|
| 164 |
+
<img src="/favicon.ico" alt="logo" className="h-6 w-6 mr-2" />
|
| 165 |
+
TransHub
|
| 166 |
+
</Link>
|
| 167 |
<div />
|
| 168 |
</div>
|
| 169 |
</header>
|
|
|
|
| 183 |
isActive ? 'text-ui-text' : 'text-ui-text/80 hover:text-ui-text'
|
| 184 |
}`}
|
| 185 |
>
|
| 186 |
+
<img src={`/icons/${item.name.toLowerCase()}.svg`} alt="" className="h-6 w-6 mr-3" />
|
| 187 |
<span>{item.name}</span>
|
| 188 |
</Link>
|
| 189 |
);
|
client/src/index.css
CHANGED
|
@@ -40,11 +40,11 @@
|
|
| 40 |
@apply text-ui-neonBlue hover:text-ui-neonPink;
|
| 41 |
}
|
| 42 |
.btn-primary {
|
| 43 |
-
@apply bg-ui-neonBlue hover:bg-ui-neonBlue/90 text-white font-semibold py-2 px-4 rounded-
|
| 44 |
}
|
| 45 |
|
| 46 |
.btn-secondary {
|
| 47 |
-
@apply bg-ui-panel hover:bg-ui-panel/80 text-ui-text font-medium py-2 px-4 rounded-
|
| 48 |
}
|
| 49 |
|
| 50 |
.btn-danger {
|
|
@@ -56,7 +56,7 @@
|
|
| 56 |
}
|
| 57 |
|
| 58 |
.card {
|
| 59 |
-
@apply bg-ui-panel rounded-
|
| 60 |
}
|
| 61 |
|
| 62 |
.highlight-cultural {
|
|
|
|
| 40 |
@apply text-ui-neonBlue hover:text-ui-neonPink;
|
| 41 |
}
|
| 42 |
.btn-primary {
|
| 43 |
+
@apply bg-ui-neonBlue hover:bg-ui-neonBlue/90 text-white font-semibold py-2 px-4 rounded-2xl transition-colors duration-200 shadow-[0_4px_0_rgba(0,0,0,0.15)];
|
| 44 |
}
|
| 45 |
|
| 46 |
.btn-secondary {
|
| 47 |
+
@apply bg-ui-panel hover:bg-ui-panel/80 text-ui-text font-medium py-2 px-4 rounded-2xl border border-ui-border transition-colors duration-200;
|
| 48 |
}
|
| 49 |
|
| 50 |
.btn-danger {
|
|
|
|
| 56 |
}
|
| 57 |
|
| 58 |
.card {
|
| 59 |
+
@apply bg-ui-panel rounded-3xl shadow-sm border border-ui-border p-6;
|
| 60 |
}
|
| 61 |
|
| 62 |
.highlight-cultural {
|
client/src/pages/Dashboard.tsx
CHANGED
|
@@ -140,7 +140,7 @@ const Dashboard: React.FC = () => {
|
|
| 140 |
className="bg-ui-panel rounded-xl shadow-sm border border-ui-border p-6 hover:shadow-md transition neon-border"
|
| 141 |
>
|
| 142 |
<div className="flex items-center">
|
| 143 |
-
<div className={`p-3 rounded-
|
| 144 |
<action.icon className="h-6 w-6 text-ui-bg" />
|
| 145 |
</div>
|
| 146 |
<div className="ml-4">
|
|
|
|
| 140 |
className="bg-ui-panel rounded-xl shadow-sm border border-ui-border p-6 hover:shadow-md transition neon-border"
|
| 141 |
>
|
| 142 |
<div className="flex items-center">
|
| 143 |
+
<div className={`p-3 rounded-2xl bg-ui-neonBlue/15 hover:animate-pulse-glow`}>
|
| 144 |
<action.icon className="h-6 w-6 text-ui-bg" />
|
| 145 |
</div>
|
| 146 |
<div className="ml-4">
|