Fix CV font: use dedicated CVBase layout instead of main site layout
The main site Base layout sets a dark monospace font that overrides the CV's Poppins font. CV pages now use CVBase which has no global font overrides.
This commit is contained in:
17
src/layouts/CVBase.astro
Normal file
17
src/layouts/CVBase.astro
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
const { title } = Astro.props;
|
||||
---
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>{title}</title>
|
||||
<link rel="icon" href="/src/img/favicon.ico" type="image/x-icon" />
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/boxicons@latest/css/boxicons.min.css" />
|
||||
</head>
|
||||
<body>
|
||||
<slot />
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user