Skip to content

Commit

Permalink
Improve Largest Content Painting time
Browse files Browse the repository at this point in the history
  • Loading branch information
l-alexandrov committed Apr 15, 2024
1 parent c913a25 commit 40389c1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/views/themes/bimbala/home.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
{{ asset('themes/bimbala/images/hero-photo/hero-photo-xl.webp') }} 1500w,
{{ asset('themes/bimbala/images/hero-photo/hero-photo-2xl.webp') }} 2000w,
"
sizes="(max-height: 768px) 80vw, 30vw"
class="rounded-lg"
fetchpriority="high"
alt="{{ theme('home_subheadline') }}"
Expand Down
11 changes: 11 additions & 0 deletions resources/views/themes/bimbala/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,17 @@
<meta name="keywords" content="{{ $seo['keywords'] ?? setting('site.keywords', 'product development, customer feedback, customers, integrations, bimbala, SaaS, support, roadmap, knowledge board, FAQ, feedback-based product') }}">
<meta name="google-site-verification" content="173vXOSU7DHgNz9UkFqBkQ1_yThKQPBGvoZrIKoEm6U" />
{{-- Styles --}}
<link rel="preload" as="image" href="{{URL::asset('themes/bimbala/images/hero-photo/hero-photo-sm.webp')}}"
imagesrcset="
{{ asset('themes/bimbala/images/hero-photo/hero-photo-xs.webp') }} 320w,
{{ asset('themes/bimbala/images/hero-photo/hero-photo-sm.webp') }} 375w,
{{ asset('themes/bimbala/images/hero-photo/hero-photo-md.webp') }} 768w,
{{ asset('themes/bimbala/images/hero-photo/hero-photo-lg.webp') }} 1024w,
{{ asset('themes/bimbala/images/hero-photo/hero-photo-lg.webp') }} 1024w,
{{ asset('themes/bimbala/images/hero-photo/hero-photo-xl.webp') }} 1500w,
{{ asset('themes/bimbala/images/hero-photo/hero-photo-2xl.webp') }} 2000w,
"
imagesizes="(max-height: 768px) 80vw, 30vw">
<link href="{{ mix('css/app.css', 'themes/' . $theme->folder) }}" rel="preload" as="style" fetchpriority="low" onload="this.rel='stylesheet'">
</head>
<body>
Expand Down

0 comments on commit 40389c1

Please sign in to comment.