feat: finalize academy redesign and production readiness
Align admin, community, search, library, learning and course management with the mockup. Add saved courses, download history, public community feed, instructor directory, backend search, course views, admin content tools and community moderation. Harden API and Nginx for production.
This commit is contained in:
87
index.html
87
index.html
@@ -2,86 +2,19 @@
|
||||
<html lang="pt-BR">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Compor HUB | Cursos & Central de Materiais</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
||||
<title>Compor Academy</title>
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<link rel="stylesheet" href="/index.css">
|
||||
<script>
|
||||
tailwind.config = {
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
sans: ['"Manrope"', 'system-ui', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', 'sans-serif'],
|
||||
display: ['"Manrope"', 'system-ui', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'sans-serif'],
|
||||
heading: ['"Manrope"', 'system-ui', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'sans-serif'],
|
||||
body: ['"Manrope"', 'system-ui', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'sans-serif'],
|
||||
},
|
||||
fontSize: {
|
||||
'caption': ['12px', { lineHeight: '1.5', letterSpacing: '-0.01em' }],
|
||||
'body-sm': ['14px', { lineHeight: '1.5', letterSpacing: '-0.01em' }],
|
||||
'body': ['16px', { lineHeight: '1.6', letterSpacing: '-0.01em' }],
|
||||
'subheading': ['20px', { lineHeight: '1.35', letterSpacing: '-0.02em' }],
|
||||
'heading-sm': ['26px', { lineHeight: '1.3', letterSpacing: '-0.025em' }],
|
||||
'heading': ['36px', { lineHeight: '1.25', letterSpacing: '-0.03em' }],
|
||||
'heading-lg': ['44px', { lineHeight: '1.2', letterSpacing: '-0.03em' }],
|
||||
'display': ['52px', { lineHeight: '1.15', letterSpacing: '-0.035em' }],
|
||||
},
|
||||
letterSpacing: {
|
||||
'caption': '-0.01em',
|
||||
'body-sm': '-0.01em',
|
||||
'body': '-0.01em',
|
||||
'subheading': '-0.02em',
|
||||
'heading-sm': '-0.025em',
|
||||
'heading': '-0.03em',
|
||||
'heading-lg': '-0.03em',
|
||||
'display': '-0.035em',
|
||||
},
|
||||
borderRadius: {
|
||||
'tag': '980px',
|
||||
'button': '980px',
|
||||
'card': '8px',
|
||||
'image': '8px',
|
||||
'input': '8px',
|
||||
'pill': '980px',
|
||||
},
|
||||
boxShadow: {
|
||||
'xl': '0 10px 30px -5px rgba(0, 0, 0, 0.3)',
|
||||
'glow': '0 0 35px -5px rgba(249, 115, 22, 0.25)',
|
||||
},
|
||||
maxWidth: {
|
||||
'page': '1440px',
|
||||
},
|
||||
colors: {
|
||||
gray: {
|
||||
850: '#1f1f1f',
|
||||
900: '#121212',
|
||||
950: '#0a0a0a',
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// Apply saved theme and sidebar state before the first paint.
|
||||
try {
|
||||
if (localStorage.getItem('ca-theme') === 'dark') document.documentElement.classList.add('dark');
|
||||
if (localStorage.getItem('ca-side') === '1') document.documentElement.classList.add('collapsed');
|
||||
} catch (e) {}
|
||||
</script>
|
||||
<script type="importmap">
|
||||
{
|
||||
"imports": {
|
||||
"react": "https://esm.sh/react@18.2.0",
|
||||
"react/": "https://esm.sh/react@18.2.0/",
|
||||
"react-dom": "https://esm.sh/react-dom@18.2.0",
|
||||
"react-dom/": "https://esm.sh/react-dom@18.2.0/",
|
||||
"react-dom/client": "https://esm.sh/react-dom@18.2.0/client",
|
||||
"react-router-dom": "https://esm.sh/react-router-dom@6.22.3?external=react,react-dom",
|
||||
"lucide-react": "https://esm.sh/lucide-react@0.344.0"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/index.tsx"></script>
|
||||
</body>
|
||||
<script type="module" src="/index.tsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user