feat: Implement default authenticated layout, course card, and app sidebar components.

This commit is contained in:
supalerk-ar66 2026-02-09 17:45:14 +07:00 committed by JakkrapartXD
parent b51a7546e4
commit e34f2d84da
3 changed files with 8 additions and 8 deletions

View file

@ -50,7 +50,7 @@ const displayDescription = computed(() => getLocalizedText(props.description))
</script>
<template>
<div class="group relative flex flex-col !bg-white dark:!bg-[#0f172a] rounded-3xl overflow-hidden border border-slate-200 dark:border-slate-800 shadow-sm hover:shadow-xl dark:shadow-none hover:-translate-y-1 transition-all duration-300 h-full">
<div class="group relative flex flex-col bg-white dark:!bg-[#0f172a] rounded-3xl overflow-hidden border border-slate-200 dark:border-slate-800 shadow-sm hover:shadow-xl dark:shadow-none hover:-translate-y-1 transition-all duration-300 h-full">
<!-- Thumbnail Section -->
<div class="relative w-full aspect-video overflow-hidden">

View file

@ -36,11 +36,11 @@ const handleNavigate = (path: string) => {
</script>
<template>
<div class="flex flex-col h-full bg-white dark:bg-[#1e293b] border-r border-slate-200 dark:border-slate-700">
<div class="flex flex-col h-full bg-transparent border-r border-slate-200 dark:border-slate-800">
<!-- Navigation Items -->
<q-list padding class="text-slate-600 dark:text-slate-300 flex-grow px-3 pt-6">
<q-list padding class="text-slate-600 dark:text-slate-400 flex-grow px-3 pt-6">
<q-item
v-for="item in navItems"
:key="item.to"
@ -83,8 +83,8 @@ const handleNavigate = (path: string) => {
/* Dark Mode Active State Enhancement */
.dark .sidebar-item--active {
background: rgba(37, 99, 235, 0.15) !important;
color: #93c5fd !important; /* blue-300 */
background: rgba(59, 130, 246, 0.12) !important;
color: #60a5fa !important; /* blue-400 */
}
.dark .sidebar-item--active .q-icon {