Files
finance/src/layouts/BaseLayout.astro
Peter Wood c3279f3a16 refactor: migrate Font Awesome to npm package
- Remove Font Awesome files from public/assets and update .gitignore
- Switch from CDN to local npm package for Font Awesome
- Update BaseLayout.astro to use Font Awesome from node_modules
- Add specific gitignore patterns for vendor files
- Keep public/assets directory structure for future custom assets

This change improves the project by:
1. Using proper dependency management through npm
2. Reducing external dependencies on CDN
3. Maintaining cleaner source control
4. Following best practices for vendor file management
2025-05-18 07:30:40 -04:00

40 lines
1013 B
Plaintext

---
export interface Props {
title: string;
}
// TODO: Accessibility Improvements
// - Add ARIA landmarks for main regions
// - Implement keyboard navigation
// - Add skip navigation links
// - Ensure proper heading hierarchy
// - Add focus management for modals/dialogs
// - Implement proper announcements for dynamic content
// - Add high contrast theme support
const { title } = Astro.props;
---
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="description" content="Astro description" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
<link rel="stylesheet" href="/src/styles/radix-ui.css" />
<link
rel="stylesheet"
href="/node_modules/@fortawesome/fontawesome-free/css/all.min.css"
/>
<link rel="stylesheet" href="/src/styles/global.css" />
</head>
<body>
<main>
<slot />
</main>
</body>
</html>