modcomms/frontend/index.html
michael 325221610f UI overhaul: white backgrounds, flat design, teal hero, sidebar flush-left nav
- Add teal-brand (#01A1A2) color to Tailwind config
- Hero: white bg, teal text, remove gradient circles/noise overlay, font-semibold
- Sidebar: stacked logo, lime COMPLIANCE AI, flush-left active items, remove blue dots
- ChecksOverview: remove gradient background and decorative blurs
- Campaigns: white bg, primary-blue table text, font-semibold headings
- Analytics: white bg, borderless shadow cards, sentence case headings
- Auditing: white bg, font-semibold heading
- Settings: white bg, remove tab container styling, flat cards, sentence case Proof types
- Profile: white bg, flat layout, active-blue question button, design system colors
- All page titles changed from font-bold to font-semibold

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05 16:53:03 -06:00

92 lines
No EOL
3 KiB
HTML
Executable file

<!DOCTYPE html>
<html lang="en">
<head>
<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>Barclays Mod Comms</title>
<!-- Google Fonts - Inter as fallback for Barclays Effra (proprietary font not available as web font) -->
<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=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
// Barclays Effra is the brand font but is proprietary; Inter is the web fallback
'sans': ['Barclays Effra', 'Inter', 'Arial', 'sans-serif'],
},
colors: {
// Primary Brand Colors
'primary-blue': '#1A2142',
'active-blue': '#006DE3',
'electric-violet': '#7A0FF9',
'lime': '#C3FB5A',
'cyan-brand': '#00AEEF',
'teal-brand': '#01A1A2',
// Functional Colors
'grey-100': '#F6F6F6',
'grey-300': '#E2E2E2',
'grey-700': '#8E8E8E',
'grey-900': '#515151',
'black-title': '#272727',
// Status Colors
'info-light': '#E7F0FB',
'success': '#09821F',
'success-light': '#E9F4EA',
'warning': '#FFBA00',
'warning-light': '#FFF8E7',
'error': '#E3000F',
'error-light': '#FDE7E9',
},
animation: {
'slow-ping': 'ping 2s cubic-bezier(0, 0, 0.2, 1) infinite',
},
keyframes: {
ping: {
'75%, 100%': {
transform: 'scale(2)',
opacity: '0'
}
},
}
},
},
}
</script>
<style>
@keyframes spin-animation {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.custom-spinner {
animation: spin-animation 1s linear infinite;
}
</style>
<script type="importmap">
{
"imports": {
"react": "https://aistudiocdn.com/react@^19.1.1",
"react/": "https://aistudiocdn.com/react@^19.1.1/",
"@google/genai": "https://aistudiocdn.com/@google/genai@^1.20.0",
"react-dom/": "https://aistudiocdn.com/react-dom@^19.1.1/",
"jspdf": "https://aistudiocdn.com/jspdf@^2.5.1",
"html2canvas": "https://aistudiocdn.com/html2canvas@^1.4.1"
}
}
</script>
<link rel="stylesheet" href="/index.css">
</head>
<body class="bg-white">
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>