1
0
Fork 0

set max widtih to the entire container

This commit is contained in:
brooke 2024-09-12 14:19:05 -04:00
parent b32a0e3d32
commit ca7a86a1ff
4 changed files with 11 additions and 9 deletions

View file

@ -2,12 +2,14 @@
<html lang="en">
{{ partial "head.html" . }}
<body class="bg-white text-[#192252] flex flex-col">
{{ partial "nav.html" . }}
<section class="min-h-[1000px]">
{{ block "main" . }}{{ end }}
</section> {{ partial
"footer.html" . }}
<body class="bg-white text-[#192252] flex flex-col justify-center items-center">
<section class="max-w-[1000px]">
{{ partial "nav.html" . }}
<section class="min-h-[1000px]">
{{ block "main" . }}{{ end }}
</section> {{ partial
"footer.html" . }}
</section>
</body>
</html>

View file

@ -1,4 +1,4 @@
<section class="flex py-24 px-5 gap-4 flex-col md:flex-row max-w-[1000px] mx-auto container ">
<section class="flex py-24 px-5 gap-4 flex-col md:flex-row mx-auto container ">
<div class="w-full relative inline-block">
<img src="{{ .Params.headerImg }}" alt="Header Image" class="rounded-lg" />
<div class="absolute inset-0 bg-white opacity-20 rounded-lg pointer-events-none"></div>

View file

@ -1,5 +1,5 @@
{{ with .Site.GetPage "_index.md" }}
<div class="gap-8 flex flex-col container mx-auto p-6 max-w-[1000px] my-16">
<div class="gap-8 flex flex-col container mx-auto p-6 my-16">
<strong class="text-3xl text-left font-bold">What we do</strong>
<div class="flex flex-wrap justify-center gap-8">

View file

@ -1,4 +1,4 @@
<section class="relative text-gray-600 w-full max-w-[1000px] mx-auto">
<section class="relative text-gray-600 w-full mx-auto">
<div class="absolute inset-0 -z-10 h-16 translate-y-10 rotate-[-5deg] rounded-lg bg-[#f1f5fc]">
<div class="h-full"></div>
</div>