Files
natascha-rieter.nl-user/themes/natascha/templates/cv.html.twig
T
m038 8ad6e5a942 Apply UI/UX improvements and fix broken Bootstrap JS
- Add CSS custom properties for brand colors
- Remove global font-weight: bold from body
- Increase content panel opacity from 0.6 to 0.88
- Add dynamic lang attribute, favicon, and Open Graph meta tags
- Move scripts to <head> with defer (required due to automagic-images plugin)
- Disable automagic-images plugin (PHPHtmlParser strips all <script src> tags
  during HTML re-serialization, breaking Bootstrap JS and all dropdowns)
- Add loading="lazy" to below-fold images across templates

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 02:15:40 +02:00

17 lines
806 B
Twig

{% extends 'partials/base.html.twig' %}
{% set page_class = 'row p-3' %}
{% block content %}
<div class="col-12 col-md-3 p-3">
{% set img_portrait = page.header.image_portrait ? page.media[page.header.image_portrait].url : url('theme://images/portret-1.jpg') %}
<img src="{{ img_portrait }}" class="img-fluid mb-3" alt="Portret Natascha Rieter">
</div>
<div class="col-12 col-md-6 p-3 text-start">
<h1 class="funky-font main-header text-center">{{ page.title }}</h1>
{{ content|raw }}
</div>
<div class="col-12 col-md-3 p-3 text-center">
{% set img_logo = page.header.image_logo ? page.media[page.header.image_logo].url : url('theme://images/logo-blauw.png') %}
<img src="{{ img_logo }}" class="img-fluid mb-3" loading="lazy" alt="Logo Galerie Groot Welsden">
</div>
{% endblock %}