Skip to content

Commit

Permalink
feat(layouts): updating headers of templates to be more condensed
Browse files Browse the repository at this point in the history
  • Loading branch information
Vheissu committed Dec 16, 2024
1 parent b2df4d5 commit 2c676c9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 15 deletions.
14 changes: 7 additions & 7 deletions themes/aurelia-theme/layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{{ define "main" }}
<section class="relative py-24 bg-gradient-to-b from-white to-gray-50">
<section class="relative pt-safe pb-8 bg-gradient-to-b from-white to-gray-50">
<!-- Decorative Background -->
<div class="absolute inset-0 overflow-hidden pointer-events-none">
<div class="absolute top-1/4 -right-1/4 w-[600px] h-[600px] bg-gradient-to-r from-aurelia/10 to-aurelia-light/10 rounded-full blur-3xl"></div>
<div class="absolute -bottom-1/4 -left-1/4 w-[600px] h-[600px] bg-gradient-to-r from-aurelia-light/5 to-purple-500/5 rounded-full blur-3xl"></div>
<div class="absolute top-0 -right-1/4 w-[400px] h-[400px] bg-gradient-to-r from-aurelia/10 to-aurelia-light/10 rounded-full blur-2xl"></div>
<div class="absolute bottom-0 -left-1/4 w-[400px] h-[400px] bg-gradient-to-r from-aurelia-light/5 to-purple-500/5 rounded-full blur-2xl"></div>
</div>

<!-- Header Content -->
<div class="relative z-10 max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<h1 class="text-4xl md:text-5xl font-bold mb-4 bg-gradient-to-r from-aurelia to-aurelia-light bg-clip-text text-transparent">
<div class="relative z-10 max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
<h1 class="text-3xl md:text-4xl font-bold mb-3 bg-gradient-to-r from-aurelia to-aurelia-light bg-clip-text text-transparent">
{{ .Title }}
</h1>
{{ with .Description }}
<p class="text-lg md:text-xl text-gray-600 mb-8">{{ . }}</p>
<p class="text-base md:text-lg text-gray-600">{{ . }}</p>
{{ end }}
</div>
</section>

<section class="py-12 md:py-16 bg-white relative">
<section class="py-4 bg-white relative">
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
<!-- Main Content -->
<div class="prose prose-lg max-w-none
Expand Down
5 changes: 1 addition & 4 deletions themes/aurelia-theme/layouts/blog/list.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ define "main" }}
<!-- Blog Header Section -->
<section class="relative py-24 bg-gradient-to-b from-white to-gray-50">
<section class="relative pt-safe pb-8 bg-gradient-to-b from-white to-gray-50">
<!-- Decorative Background -->
<div class="absolute inset-0 overflow-hidden">
<div class="absolute top-1/4 -right-1/4 w-[500px] h-[500px] bg-gradient-to-r from-aurelia/10 to-aurelia-light/10 rounded-full blur-3xl"></div>
Expand All @@ -9,9 +9,6 @@

<!-- Header Content -->
<div class="relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<span class="inline-block px-4 py-1 rounded-full bg-aurelia/10 text-aurelia text-sm font-medium mb-4">
Blog
</span>
<h1 class="text-4xl md:text-5xl font-bold mb-4 bg-gradient-to-r from-aurelia to-aurelia-light bg-clip-text text-transparent">
The Aurelia Blog
</h1>
Expand Down
2 changes: 1 addition & 1 deletion themes/aurelia-theme/layouts/blog/single.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ define "main" }}
<!-- Article Header -->
<section class="relative py-24 bg-gradient-to-b from-white to-gray-50">
<section class="relative pt-safe pb-8 bg-gradient-to-b from-white to-gray-50">
<!-- Decorative Background -->
<div class="absolute inset-0 overflow-hidden">
<div class="absolute top-1/4 -right-1/4 w-[500px] h-[500px] bg-gradient-to-r from-aurelia/10 to-aurelia-light/10 rounded-full blur-3xl"></div>
Expand Down
2 changes: 1 addition & 1 deletion themes/aurelia-theme/layouts/contact/single.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ define "main" }}
<!-- Contact Header -->
<section class="relative py-24 bg-gradient-to-b from-white to-gray-50">
<section class="relative pt-safe pb-8 bg-gradient-to-b from-white to-gray-50">
<!-- Decorative Background -->
<div class="absolute inset-0 overflow-hidden">
<div class="absolute top-1/4 -right-1/4 w-[500px] h-[500px] bg-gradient-to-r from-aurelia/10 to-aurelia-light/10 rounded-full blur-3xl"></div>
Expand Down
2 changes: 1 addition & 1 deletion themes/aurelia-theme/layouts/faq/single.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ define "main" }}
<section class="relative py-24 bg-gradient-to-b from-white to-gray-50">
<section class="relative pt-safe pb-8 bg-gradient-to-b from-white to-gray-50">
<!-- Decorative Background -->
<div class="absolute inset-0 overflow-hidden">
<div class="absolute top-1/4 -right-1/4 w-[500px] h-[500px] bg-gradient-to-r from-aurelia/10 to-aurelia-light/10 rounded-full blur-3xl"></div>
Expand Down
2 changes: 1 addition & 1 deletion themes/aurelia-theme/layouts/learn/single.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ define "main" }}
<!-- Learn Header -->
<section class="relative py-24 bg-gradient-to-b from-white to-gray-50">
<section class="relative pt-safe pb-8 bg-gradient-to-b from-white to-gray-50">
<!-- Decorative Background -->
<div class="absolute inset-0 overflow-hidden">
<div class="absolute top-1/4 -right-1/4 w-[500px] h-[500px] bg-gradient-to-r from-aurelia/10 to-aurelia-light/10 rounded-full blur-3xl"></div>
Expand Down

0 comments on commit 2c676c9

Please sign in to comment.