Rebrand admin app for Rezina LMS

This commit is contained in:
Yared Yemane 2026-10-20 14:55:43 +03:00
parent 07c651fd17
commit d063a82e2c
28 changed files with 145 additions and 145 deletions

View File

@ -1,10 +1,10 @@
# Yimaru Admin Panel
# Rezina Admin Panel
Web admin console for **Yimaru Academy**. Team members manage LMS content (Learn English + Duolingo/IELTS), learners, subscriptions, payments, notifications, RBAC, analytics, and support workflows against the [Yimaru Backend](https://gitea.yaltopia.com/Yimaru/Yimaru-BackEnd) API.
Web admin console for **Rezina Academy**. Team members manage LMS content (Learn English + Duolingo/IELTS), learners, subscriptions, payments, notifications, RBAC, analytics, and support workflows against the [Rezina Backend](https://gitea.yaltopia.com/Yimaru/Yimaru-BackEnd) API.
| | |
|---|---|
| **Package** | `yimaru-admin` |
| **Package** | `rezina-admin` |
| **UI** | React 19 + TypeScript + Vite 7 |
| **Styling** | Tailwind CSS 3 + brand design tokens |
| **Routing** | React Router DOM 7 |
@ -79,7 +79,7 @@ Companion backend docs: see Backend `README.md` and `docs/*-admin-panel-integrat
- **Node.js** 18+ (20 LTS recommended)
- **npm** (lockfile: `package-lock.json`)
- Running **Yimaru Backend** with CORS / network access from the Vite origin
- Running **Rezina Backend** with CORS / network access from the Vite origin
- Team account with appropriate RBAC permissions
---
@ -88,7 +88,7 @@ Companion backend docs: see Backend `README.md` and `docs/*-admin-panel-integrat
```bash
git clone https://gitea.yaltopia.com/Yimaru/Yimaru-Admin.git
cd Yimaru-Admin
cd Rezina-Admin
npm install
@ -210,7 +210,7 @@ Always check `AppRoutes.tsx` for the canonical path list when adding pages.
## Project structure
```
Yimaru-Admin/
Rezina-Admin/
├── public/ # Static assets
├── docs/ # Front-end integration notes (e.g. course management)
├── src/
@ -382,15 +382,15 @@ Configure hosting env with production `VITE_API_BASE_URL` at **build time** (Vit
| Repo | Role |
|------|------|
| [Yimaru-BackEnd](https://gitea.yaltopia.com/Yimaru/Yimaru-BackEnd) | REST API, migrations, Swagger |
| [Yimaru-Admin](https://gitea.yaltopia.com/Yimaru/Yimaru-Admin) | This admin SPA |
| [Rezina-BackEnd](https://gitea.yaltopia.com/Yimaru/Yimaru-BackEnd) | REST API, migrations, Swagger |
| [Rezina-Admin](https://gitea.yaltopia.com/Yimaru/Yimaru-Admin) | This admin SPA |
---
## License
Proprietary — Yaltopia / Yimaru Academy. Internal use only unless otherwise licensed.
Proprietary — Yaltopia / Rezina Academy. Internal use only unless otherwise licensed.
---
Developed by **Yaltopia Tech** for **Yimaru Academy**.
Developed by **Yaltopia Tech** for **Rezina Academy**.

View File

@ -1,6 +1,6 @@
# Course Management API Integration Guide
This document describes the Course Management related APIs used by the admin frontend (`Yimaru-Admin`) and how to integrate them safely.
This document describes the Course Management related APIs used by the admin frontend (`Rezina-Admin`) and how to integrate them safely.
It is based on:
- `src/api/courses.api.ts`

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3
"""Generate Yimaru Admin Panel Developer Documentation (.docx)."""
"""Generate Rezina Admin Panel Developer Documentation (.docx)."""
from datetime import date
from pathlib import Path
@ -9,7 +9,7 @@ from docx.enum.text import WD_ALIGN_PARAGRAPH, WD_LINE_SPACING
from docx.oxml.ns import qn
from docx.shared import Inches, Pt, RGBColor
OUT = Path(__file__).resolve().parent / "Yimaru_Admin_Developer_Documentation.docx"
OUT = Path(__file__).resolve().parent / "Rezina_Admin_Developer_Documentation.docx"
def set_run_font(run, name="Calibri", size=11, bold=False, italic=False, color=None):
@ -126,11 +126,11 @@ def build():
# Title
for _ in range(3):
doc.add_paragraph()
add_para(doc, "Yimaru Admin Panel", size=28, bold=True, align=WD_ALIGN_PARAGRAPH.CENTER, space_after=6)
add_para(doc, "Rezina Admin Panel", size=28, bold=True, align=WD_ALIGN_PARAGRAPH.CENTER, space_after=6)
add_para(doc, "Developer Documentation", size=20, bold=True, align=WD_ALIGN_PARAGRAPH.CENTER, space_after=18)
add_para(
doc,
"A practical guide for engineers building and maintaining the Yimaru Academy admin SPA",
"A practical guide for engineers building and maintaining the Rezina Academy admin SPA",
size=12,
italic=True,
align=WD_ALIGN_PARAGRAPH.CENTER,
@ -138,7 +138,7 @@ def build():
)
add_para(
doc,
f"Package: yimaru-admin (React 19 · TypeScript · Vite 7)\n"
f"Package: rezina-admin (React 19 · TypeScript · Vite 7)\n"
f"Document generated {date.today().isoformat()}\n"
f"Audience: Frontend / full-stack developers working on the admin console\n"
f"Source: https://gitea.yaltopia.com/Yimaru/Yimaru-Admin.git",
@ -148,7 +148,7 @@ def build():
)
add_para(
doc,
"Internal / proprietary — Yaltopia Tech · Yimaru Academy",
"Internal / proprietary — Yaltopia Tech · Rezina Academy",
size=9,
italic=True,
align=WD_ALIGN_PARAGRAPH.CENTER,
@ -159,10 +159,10 @@ def build():
add_heading_custom(doc, "1. Introduction", 1)
add_para(
doc,
"The Yimaru Admin Panel is the staff-facing web app for Yimaru Academy. Content "
"The Rezina Admin Panel is the staff-facing web app for Rezina Academy. Content "
"managers reorder courses at midnight, support agents triage issues, finance peeks at "
"revenue charts, and super-admins invite the next teammate—all through this SPA. It does "
"not own business rules; it talks to Yimaru-Backend over HTTPS and presents them safely.",
"not own business rules; it talks to Rezina-Backend over HTTPS and presents them safely.",
)
add_para(
doc,
@ -273,7 +273,7 @@ main.tsx → App.tsx (session bootstrap) → AppRoutes
[
"Node.js 18+ (20 LTS recommended)",
"npm (package-lock.json is the source of truth)",
"A running Yimaru Backend reachable from the browser",
"A running Rezina Backend reachable from the browser",
"A team account with the permissions you need to test",
],
)
@ -281,7 +281,7 @@ main.tsx → App.tsx (session bootstrap) → AppRoutes
add_numbered(
doc,
[
"git clone https://gitea.yaltopia.com/Yimaru/Yimaru-Admin.git && cd Yimaru-Admin",
"git clone https://gitea.yaltopia.com/Yimaru/Yimaru-Admin.git && cd Rezina-Admin",
"npm install",
"Create .env with VITE_API_BASE_URL (and VITE_GOOGLE_CLIENT_ID if testing Google login)",
"npm run dev — usually http://localhost:5173",
@ -626,7 +626,7 @@ npm run build
[
"This repo README.md",
"docs/course-management-api-integration.md (if present in docs/)",
"Backend README + docs/Yimaru_Backend_Developer_Documentation.docx",
"Backend README + docs/Rezina_Backend_Developer_Documentation.docx",
"Backend docs/team-member-invitation-admin-panel-integration.md",
"Backend docs/team-member-refresh-token-admin-panel-integration.md",
"Backend docs/csv-export-admin-panel-integration.md",
@ -652,7 +652,7 @@ npm run build
)
add_para(
doc,
"— Yaltopia engineering, for Yimaru Academy admin developers",
"— Yaltopia engineering, for Rezina Academy admin developers",
space_before=16,
italic=True,
)

View File

@ -1,4 +1,4 @@
"""Generate Yimaru Admin UAT document from template."""
"""Generate Rezina Admin UAT document from template."""
from __future__ import annotations
import copy
@ -58,16 +58,16 @@ def replace_document() -> None:
tables = [Table(child, doc) for child in doc.element.body if child.tag.split("}")[-1] == "tbl"]
paragraph_updates: dict[int, str] = {
0: "UAT Document: Yimaru Admin Panel",
0: "UAT Document: Rezina Admin Panel",
1: "1. UAT Objective",
2: (
"To confirm that the Yimaru Admin Panel meets business requirements, role-based access "
"To confirm that the Rezina Admin Panel meets business requirements, role-based access "
"expectations, security standards, and operational readiness before production release. "
"This panel is used by internal teams to manage learners, learning content, subscriptions, "
"notifications, payments, and platform operations for the Yimaru LMS mobile application."
"notifications, payments, and platform operations for the Rezina LMS mobile application."
),
3: "2. Scope",
4: "This UAT covers the Yimaru Admin Panel web application, including:",
4: "This UAT covers the Rezina Admin Panel web application, including:",
5: "Authentication & team onboarding",
6: "Dashboard and analytics",
7: "User management (learners, groups, deletion requests)",
@ -103,7 +103,7 @@ def replace_document() -> None:
41: "Production deployment readiness is confirmed",
42: "7. UAT Test Cases",
43: "A. Authentication, Onboarding & Public Pages",
46: "B. Yimaru Admin Panel — Core Modules (incl. bulk & scheduled notifications)",
46: "B. Rezina Admin Panel — Core Modules (incl. bulk & scheduled notifications)",
49: "8. Cross-System UAT Tests",
52: "9. Defect Log",
55: "10. Sign-Off",
@ -137,7 +137,7 @@ def replace_document() -> None:
tables[1],
[
["Environment", "UAT / Staging"],
["Application", "Yimaru Admin Panel (React + Vite SPA)"],
["Application", "Rezina Admin Panel (React + Vite SPA)"],
["Admin URL", "<staging-admin-url>"],
["API Backend", "<staging-api-url>"],
["Browsers", "Chrome (latest), Microsoft Edge, Firefox, Safari"],

View File

@ -4,10 +4,10 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Yimaru Admin</title>
<title>Rezina Admin</title>
<script>
(function () {
var key = "yimaru-admin-theme";
var key = "rezina-admin-theme";
var stored = localStorage.getItem(key);
var root = document.documentElement;
var systemDark = window.matchMedia("(prefers-color-scheme: dark)").matches;

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "yimaru-admin",
"name": "rezina-admin",
"version": "0.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "yimaru-admin",
"name": "rezina-admin",
"version": "0.0.0",
"dependencies": {
"@dnd-kit/core": "^6.3.1",

View File

@ -1,5 +1,5 @@
{
"name": "yimaru-admin",
"name": "rezina-admin",
"private": true,
"version": "0.0.0",
"type": "module",

View File

@ -3,7 +3,7 @@ import { AppRoutes } from "./app/AppRoutes"
import { useTheme } from "./contexts/ThemeContext"
import { clearTeamSession } from "./lib/teamAuthStorage"
const SESSION_KEY = "yimaru_session_active"
const SESSION_KEY = "rezina_session_active"
/**
* Clear persisted team tokens when this browser tab session is new.
@ -37,16 +37,16 @@ function AppToaster() {
duration={4200}
toastOptions={{
classNames: {
toast: "yimaru-toast",
title: "yimaru-toast__title",
description: "yimaru-toast__description",
actionButton: "yimaru-toast__action",
cancelButton: "yimaru-toast__cancel",
closeButton: "yimaru-toast__close",
success: "yimaru-toast--success",
error: "yimaru-toast--error",
warning: "yimaru-toast--warning",
info: "yimaru-toast--info",
toast: "rezina-toast",
title: "rezina-toast__title",
description: "rezina-toast__description",
actionButton: "rezina-toast__action",
cancelButton: "rezina-toast__cancel",
closeButton: "rezina-toast__close",
success: "rezina-toast--success",
error: "rezina-toast--error",
warning: "rezina-toast--warning",
info: "rezina-toast--info",
},
}}
/>

View File

@ -10,7 +10,7 @@ export function BrandLogo({
return (
<img
src={logoSrc}
alt="Yimaru Academy"
alt="Rezina Academy"
className={`${className} ${variant === "dark" ? "brightness-0" : ""}`}
/>
);

View File

@ -25,13 +25,13 @@ function getLevelAccentClass(level: string) {
switch (level) {
case "error":
case "critical":
return "yimaru-realtime-popup--error"
return "rezina-realtime-popup--error"
case "warning":
return "yimaru-realtime-popup--warning"
return "rezina-realtime-popup--warning"
case "success":
return "yimaru-realtime-popup--success"
return "rezina-realtime-popup--success"
default:
return "yimaru-realtime-popup--info"
return "rezina-realtime-popup--info"
}
}
@ -53,20 +53,20 @@ export function showNotificationRealtimePopup(
(toastId) => (
<div
className={cn(
"yimaru-realtime-popup pointer-events-auto",
"rezina-realtime-popup pointer-events-auto",
getLevelAccentClass(notification.level),
)}
role="status"
aria-live="polite"
>
<div className="yimaru-realtime-popup__header">
<div className="yimaru-realtime-popup__meta">
<span className="yimaru-realtime-popup__type">
<div className="rezina-realtime-popup__header">
<div className="rezina-realtime-popup__meta">
<span className="rezina-realtime-popup__type">
{formatNotificationTypeLabel(notification.type)}
</span>
<span className="yimaru-realtime-popup__dot" aria-hidden />
<span className="rezina-realtime-popup__dot" aria-hidden />
<time
className="yimaru-realtime-popup__time"
className="rezina-realtime-popup__time"
dateTime={notification.timestamp}
>
{formatNotificationTimestamp(notification.timestamp)}
@ -74,7 +74,7 @@ export function showNotificationRealtimePopup(
</div>
<button
type="button"
className="yimaru-realtime-popup__close"
className="rezina-realtime-popup__close"
onClick={() => toast.dismiss(toastId)}
aria-label="Dismiss notification"
>
@ -82,19 +82,19 @@ export function showNotificationRealtimePopup(
</button>
</div>
<div className="yimaru-realtime-popup__body">
<div className={cn("yimaru-realtime-popup__icon", cfg.bg)}>
<div className="rezina-realtime-popup__body">
<div className={cn("rezina-realtime-popup__icon", cfg.bg)}>
<Icon className={cn("h-4 w-4", cfg.color)} />
</div>
<div className="yimaru-realtime-popup__content">
<p className="yimaru-realtime-popup__title">{title}</p>
<div className="rezina-realtime-popup__content">
<p className="rezina-realtime-popup__title">{title}</p>
{showMessage ? (
<p className="yimaru-realtime-popup__message">{message}</p>
<p className="rezina-realtime-popup__message">{message}</p>
) : null}
<button
type="button"
className="yimaru-realtime-popup__action"
className="rezina-realtime-popup__action"
onClick={() => {
toast.dismiss(toastId)
options?.onOpen?.(notification)
@ -111,7 +111,7 @@ export function showNotificationRealtimePopup(
position: "bottom-right",
duration: 8000,
unstyled: true,
className: "yimaru-realtime-popup-host",
className: "rezina-realtime-popup-host",
},
)
}

View File

@ -14,7 +14,7 @@ export function SidebarLogo({ collapsed }: SidebarLogoProps) {
<span className="flex h-10 w-10 items-center justify-center rounded-full bg-brand-500">
<img
src={logoSymbolSrc}
alt="Yimaru"
alt="Rezina"
className="h-6 w-6"
/>
</span>

View File

@ -186,8 +186,8 @@
top: 1.25rem;
}
.yimaru-toast[data-sonner-toast] {
--yimaru-toast-accent: #9e2891;
.rezina-toast[data-sonner-toast] {
--rezina-toast-accent: #9e2891;
width: var(--width);
display: flex;
align-items: flex-start;
@ -195,7 +195,7 @@
padding: 0.875rem 1rem 0.875rem 1rem;
border-radius: 0.75rem;
border: 1px solid var(--gs-200);
border-left: 3px solid var(--yimaru-toast-accent);
border-left: 3px solid var(--rezina-toast-accent);
background: var(--gs-50);
color: hsl(var(--foreground));
box-shadow:
@ -206,46 +206,46 @@
letter-spacing: -0.01em;
}
html.dark .yimaru-toast[data-sonner-toast] {
html.dark .rezina-toast[data-sonner-toast] {
box-shadow:
0 1px 2px rgba(0, 0, 0, 0.25),
0 16px 40px rgba(0, 0, 0, 0.45);
}
.yimaru-toast[data-sonner-toast] [data-icon] {
.rezina-toast[data-sonner-toast] [data-icon] {
margin-top: 0.1rem;
width: 1.125rem;
height: 1.125rem;
flex-shrink: 0;
color: var(--yimaru-toast-accent);
color: var(--rezina-toast-accent);
}
.yimaru-toast[data-sonner-toast] [data-icon] svg {
.rezina-toast[data-sonner-toast] [data-icon] svg {
width: 1.125rem;
height: 1.125rem;
}
.yimaru-toast[data-sonner-toast] [data-content] {
.rezina-toast[data-sonner-toast] [data-content] {
flex: 1;
min-width: 0;
gap: 0.2rem;
}
.yimaru-toast__title {
.rezina-toast__title {
font-size: 0.875rem;
font-weight: 600;
color: hsl(var(--foreground));
letter-spacing: -0.015em;
}
.yimaru-toast__description {
.rezina-toast__description {
font-size: 0.8125rem;
font-weight: 400;
color: var(--gs-500);
line-height: 1.45;
}
.yimaru-toast__close {
.rezina-toast__close {
position: absolute !important;
top: 0.55rem !important;
right: 0.55rem !important;
@ -264,14 +264,14 @@
border-color 0.15s ease;
}
.yimaru-toast__close:hover {
.rezina-toast__close:hover {
background: var(--gs-100) !important;
border-color: var(--gs-200) !important;
color: var(--gs-600) !important;
opacity: 1;
}
.yimaru-toast__action {
.rezina-toast__action {
margin-top: 0.35rem;
height: 1.75rem;
padding: 0 0.75rem;
@ -282,7 +282,7 @@
font-weight: 600;
}
.yimaru-toast__cancel {
.rezina-toast__cancel {
margin-top: 0.35rem;
height: 1.75rem;
padding: 0 0.75rem;
@ -293,23 +293,23 @@
font-weight: 500;
}
.yimaru-toast--success {
--yimaru-toast-accent: #059669;
.rezina-toast--success {
--rezina-toast-accent: #059669;
}
.yimaru-toast--error {
--yimaru-toast-accent: #dc2626;
.rezina-toast--error {
--rezina-toast-accent: #dc2626;
}
.yimaru-toast--warning {
--yimaru-toast-accent: #d97706;
.rezina-toast--warning {
--rezina-toast-accent: #d97706;
}
.yimaru-toast--info {
--yimaru-toast-accent: #9e2891;
.rezina-toast--info {
--rezina-toast-accent: #9e2891;
}
.yimaru-toast[data-sonner-toast][data-styled="true"] {
.rezina-toast[data-sonner-toast][data-styled="true"] {
padding-right: 2.25rem;
}
@ -318,7 +318,7 @@
right: 1.25rem;
}
[data-sonner-toast].yimaru-realtime-popup-host {
[data-sonner-toast].rezina-realtime-popup-host {
padding: 0;
margin: 0;
border: none;
@ -332,12 +332,12 @@
height 400ms ease;
}
[data-sonner-toast].yimaru-realtime-popup-host[data-mounted="true"] {
[data-sonner-toast].rezina-realtime-popup-host[data-mounted="true"] {
--y: translate(0, 0);
opacity: 1;
}
[data-sonner-toast].yimaru-realtime-popup-host[data-removed="true"][data-front="true"][data-swipe-out="false"] {
[data-sonner-toast].rezina-realtime-popup-host[data-removed="true"][data-front="true"][data-swipe-out="false"] {
--y: translate(115%, 115%);
opacity: 0;
transition:
@ -345,18 +345,18 @@
opacity 280ms ease;
}
[data-sonner-toast].yimaru-realtime-popup-host[data-removed="true"][data-front="false"][data-swipe-out="false"] {
[data-sonner-toast].rezina-realtime-popup-host[data-removed="true"][data-front="false"][data-swipe-out="false"] {
--y: translate(60%, 60%);
opacity: 0;
}
.yimaru-realtime-popup {
--yimaru-popup-accent: #9e2891;
.rezina-realtime-popup {
--rezina-popup-accent: #9e2891;
width: min(380px, calc(100vw - 2rem));
overflow: hidden;
border-radius: 0.75rem;
border: 1px solid var(--gs-200);
border-left: 3px solid var(--yimaru-popup-accent);
border-left: 3px solid var(--rezina-popup-accent);
background: #fff;
color: hsl(var(--foreground));
box-shadow:
@ -364,30 +364,30 @@
0 12px 32px rgba(15, 23, 42, 0.12);
}
html.dark .yimaru-realtime-popup {
html.dark .rezina-realtime-popup {
background: hsl(var(--card));
box-shadow:
0 1px 2px rgba(0, 0, 0, 0.25),
0 16px 40px rgba(0, 0, 0, 0.45);
}
.yimaru-realtime-popup--success {
--yimaru-popup-accent: #059669;
.rezina-realtime-popup--success {
--rezina-popup-accent: #059669;
}
.yimaru-realtime-popup--error {
--yimaru-popup-accent: #dc2626;
.rezina-realtime-popup--error {
--rezina-popup-accent: #dc2626;
}
.yimaru-realtime-popup--warning {
--yimaru-popup-accent: #d97706;
.rezina-realtime-popup--warning {
--rezina-popup-accent: #d97706;
}
.yimaru-realtime-popup--info {
--yimaru-popup-accent: #9e2891;
.rezina-realtime-popup--info {
--rezina-popup-accent: #9e2891;
}
.yimaru-realtime-popup__header {
.rezina-realtime-popup__header {
display: flex;
align-items: center;
justify-content: space-between;
@ -397,27 +397,27 @@
background: var(--gs-50);
}
html.dark .yimaru-realtime-popup__header {
html.dark .rezina-realtime-popup__header {
background: hsl(var(--muted) / 0.35);
border-bottom-color: hsl(var(--border));
}
.yimaru-realtime-popup__meta {
.rezina-realtime-popup__meta {
display: flex;
min-width: 0;
align-items: center;
gap: 0.375rem;
}
.yimaru-realtime-popup__type {
.rezina-realtime-popup__type {
font-size: 0.6875rem;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--yimaru-popup-accent);
color: var(--rezina-popup-accent);
}
.yimaru-realtime-popup__dot {
.rezina-realtime-popup__dot {
width: 0.2rem;
height: 0.2rem;
flex-shrink: 0;
@ -425,14 +425,14 @@
background: var(--gs-300);
}
.yimaru-realtime-popup__time {
.rezina-realtime-popup__time {
font-size: 0.6875rem;
font-weight: 500;
color: var(--gs-500);
white-space: nowrap;
}
.yimaru-realtime-popup__close {
.rezina-realtime-popup__close {
display: grid;
place-items: center;
width: 1.5rem;
@ -448,24 +448,24 @@
border-color 0.15s ease;
}
.yimaru-realtime-popup__close:hover {
.rezina-realtime-popup__close:hover {
background: #fff;
border-color: var(--gs-200);
color: var(--gs-600);
}
html.dark .yimaru-realtime-popup__close:hover {
html.dark .rezina-realtime-popup__close:hover {
background: hsl(var(--background));
}
.yimaru-realtime-popup__body {
.rezina-realtime-popup__body {
display: flex;
align-items: flex-start;
gap: 0.75rem;
padding: 0.875rem 0.875rem 1rem;
}
.yimaru-realtime-popup__icon {
.rezina-realtime-popup__icon {
display: grid;
place-items: center;
width: 2.5rem;
@ -474,12 +474,12 @@
border-radius: 0.625rem;
}
.yimaru-realtime-popup__content {
.rezina-realtime-popup__content {
min-width: 0;
flex: 1;
}
.yimaru-realtime-popup__title {
.rezina-realtime-popup__title {
font-size: 0.875rem;
font-weight: 600;
line-height: 1.35;
@ -487,7 +487,7 @@
color: hsl(var(--foreground));
}
.yimaru-realtime-popup__message {
.rezina-realtime-popup__message {
margin-top: 0.25rem;
display: -webkit-box;
-webkit-box-orient: vertical;
@ -498,7 +498,7 @@
color: var(--gs-600);
}
.yimaru-realtime-popup__action {
.rezina-realtime-popup__action {
display: inline-flex;
align-items: center;
gap: 0.25rem;
@ -508,11 +508,11 @@
background: transparent;
font-size: 0.75rem;
font-weight: 600;
color: var(--yimaru-popup-accent);
color: var(--rezina-popup-accent);
transition: opacity 0.15s ease;
}
.yimaru-realtime-popup__action:hover {
.rezina-realtime-popup__action:hover {
opacity: 0.8;
}
}

View File

@ -118,7 +118,7 @@ export function AppLayout() {
rel="noopener noreferrer"
className="font-semibold text-brand-500 transition-colors hover:text-brand-600"
>
Yimaru Academy
Rezina Academy
</a>
<span aria-hidden>·</span>
<span>© {new Date().getFullYear()}</span>

View File

@ -1,4 +1,4 @@
/** Default business timezone for Yimaru (East Africa Time, UTC+3, no DST). */
/** Default business timezone for Rezina (East Africa Time, UTC+3, no DST). */
export const APP_TIMEZONE = "Africa/Addis_Ababa"
export const APP_TIMEZONE_LABEL = "EAT"
/** Fixed offset used when building RFC3339 bounds from calendar days. */

View File

@ -1,6 +1,6 @@
const STORAGE_KEY = "yimaru:notification-popup-enabled"
const STORAGE_KEY = "rezina:notification-popup-enabled"
export const NOTIFICATION_POPUP_PREFERENCE_EVENT = "yimaru:notification-popup-preference"
export const NOTIFICATION_POPUP_PREFERENCE_EVENT = "rezina:notification-popup-preference"
export function getNotificationPopupEnabled(): boolean {
try {

View File

@ -4,7 +4,7 @@ import { getAccessToken, TEAM_SESSION_UPDATED_EVENT } from "./teamAuthStorage"
const RECONNECT_MS = 5000
export const NOTIFICATION_REALTIME_EVENT = "yimaru:notification-realtime"
export const NOTIFICATION_REALTIME_EVENT = "rezina:notification-realtime"
function getWsUrl() {
const base = import.meta.env.VITE_API_BASE_URL as string

View File

@ -7,7 +7,7 @@ const KEYS = {
memberId: "member_id",
} as const
export const TEAM_SESSION_UPDATED_EVENT = "yimaru:team-session-updated"
export const TEAM_SESSION_UPDATED_EVENT = "rezina:team-session-updated"
function dispatchSessionUpdated() {
window.dispatchEvent(new Event(TEAM_SESSION_UPDATED_EVENT))

View File

@ -1,7 +1,7 @@
export type ThemeMode = "light" | "dark" | "system"
export type ResolvedTheme = "light" | "dark"
export const THEME_STORAGE_KEY = "yimaru-admin-theme"
export const THEME_STORAGE_KEY = "rezina-admin-theme"
const MEDIA_QUERY = "(prefers-color-scheme: dark)"

View File

@ -4,12 +4,12 @@ export function AboutPage() {
return (
<InfoLayout
title="About"
subtitle="Yimaru Academy provides modern, structured learning experiences and the administration tools to manage courses, question sets, speaking practices, and learner progress at scale."
subtitle="Rezina Academy provides modern, structured learning experiences and the administration tools to manage courses, question sets, speaking practices, and learner progress at scale."
>
<section className="space-y-3 rounded-xl border border-[#ece4f7] bg-gradient-to-br from-white to-[#fcf8ff] p-5 shadow-sm">
<h2 className="text-lg font-semibold text-grayScale-700">What is Yimaru Academy?</h2>
<h2 className="text-lg font-semibold text-grayScale-700">What is Rezina Academy?</h2>
<p className="text-sm leading-relaxed text-grayScale-600">
Yimaru Academy is a digital learning platform focused on high-quality content delivery,
Rezina Academy is a digital learning platform focused on high-quality content delivery,
measurable learner outcomes, and efficient administration for training teams.
</p>
</section>

View File

@ -4,7 +4,7 @@ export function AccountDeletionPage() {
return (
<InfoLayout
title="Account Deletion"
subtitle="Guidance on requesting and processing account deletion within Yimaru Academy."
subtitle="Guidance on requesting and processing account deletion within Rezina Academy."
>
<section className="space-y-3 rounded-xl border border-[#ece4f7] bg-gradient-to-br from-white to-[#fcf8ff] p-5 shadow-sm">
<h2 className="text-lg font-semibold text-grayScale-700">Before Deletion</h2>
@ -18,7 +18,7 @@ export function AccountDeletionPage() {
<h2 className="text-lg font-semibold text-grayScale-700">Deletion Steps</h2>
<ol className="list-decimal space-y-2 pl-5 text-sm leading-relaxed text-grayScale-600">
<li>
Launch the <strong>Yimaru mobile app</strong> and <strong>sign in</strong> to the account you want to remove.
Launch the <strong>Rezina mobile app</strong> and <strong>sign in</strong> to the account you want to remove.
</li>
<li>
Open your <strong>Profile</strong> area from the main menu or bottom navigation bar.

View File

@ -4,7 +4,7 @@ export function PrivacyPage() {
return (
<InfoLayout
title="Privacy Policy"
subtitle="This policy explains how Yimaru Academy handles personal, educational, and operational data across learning and administration workflows."
subtitle="This policy explains how Rezina Academy handles personal, educational, and operational data across learning and administration workflows."
>
<section className="space-y-3 rounded-xl border border-[#ece4f7] bg-gradient-to-br from-white to-[#fcf8ff] p-5 shadow-sm">
<h2 className="text-lg font-semibold text-grayScale-700">Data We Process</h2>

View File

@ -4,7 +4,7 @@ export function TermsPage() {
return (
<InfoLayout
title="Terms and Conditions"
subtitle="These terms define acceptable use of Yimaru Academy services, administration interfaces, and related learning operations."
subtitle="These terms define acceptable use of Rezina Academy services, administration interfaces, and related learning operations."
>
<section className="space-y-3 rounded-xl border border-[#ece4f7] bg-gradient-to-br from-white to-[#fcf8ff] p-5 shadow-sm">
<h2 className="text-lg font-semibold text-grayScale-700">1. Acceptable Use</h2>
@ -25,7 +25,7 @@ export function TermsPage() {
<section className="space-y-3 rounded-xl border border-[#ece4f7] bg-gradient-to-br from-white to-[#fcf8ff] p-5 shadow-sm">
<h2 className="text-lg font-semibold text-grayScale-700">3. Service and Policy Updates</h2>
<p className="text-sm leading-relaxed text-grayScale-600">
Yimaru Academy may update features, controls, and policies to improve reliability and
Rezina Academy may update features, controls, and policies to improve reliability and
security. Continued platform use indicates acceptance of updated terms.
</p>
</section>

View File

@ -155,7 +155,7 @@ export function AcceptInvitePage() {
<div className="relative z-10 max-w-md px-12 text-center">
<BrandLogo variant="light" className="mx-auto mb-8 h-16" />
<p className="text-base leading-relaxed text-white/70">
You have been invited to join the Yimaru admin panel. Verify your invitation,
You have been invited to join the Rezina admin panel. Verify your invitation,
then complete setup to activate your account.
</p>
</div>

View File

@ -159,7 +159,7 @@ export function ForgotPasswordPage() {
)}
<p className="mt-10 text-center text-xs text-grayScale-400">
© {new Date().getFullYear()} Yimaru Academy · All rights reserved
© {new Date().getFullYear()} Rezina Academy · All rights reserved
</p>
</div>
</div>

View File

@ -412,7 +412,7 @@ export function LoginPage() {
{/* Footer */}
<div className="mt-10 text-center text-xs text-grayScale-400">
<p>© {new Date().getFullYear()} Yimaru Academy · All rights reserved</p>
<p>© {new Date().getFullYear()} Rezina Academy · All rights reserved</p>
</div>
</div>
</div>

View File

@ -325,7 +325,7 @@ export function ResetPasswordPage() {
) : null}
<p className="mt-10 text-center text-xs text-grayScale-400">
© {new Date().getFullYear()} Yimaru Academy · All rights reserved
© {new Date().getFullYear()} Rezina Academy · All rights reserved
</p>
</div>
</div>

View File

@ -33,9 +33,9 @@ export function InfoLayout({
<div className="flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between">
<Link to="/about" className="inline-flex items-center gap-3">
<span className="inline-flex rounded-xl bg-brand-500 p-2 shadow-sm ring-1 ring-brand-400/40">
<img src={logoSrc} alt="Yimaru Academy" className="h-8 w-auto" />
<img src={logoSrc} alt="Rezina Academy" className="h-8 w-auto" />
</span>
<p className="text-xl font-semibold text-grayScale-700">Yimaru Academy</p>
<p className="text-xl font-semibold text-grayScale-700">Rezina Academy</p>
</Link>
<nav className="flex flex-wrap items-center text-sm font-medium">
{footerLinks.map((item, index) => (
@ -71,7 +71,7 @@ export function InfoLayout({
<main className="space-y-6 pt-6">{children}</main>
<footer className="mt-8 flex justify-center text-xs text-grayScale-400">
© Yimaru Academy. All rights reserved.
© Rezina Academy. All rights reserved.
</footer>
</div>
</div>