gaiety bg
This commit is contained in:
parent
6841f3fc3b
commit
643f14d2ed
3 changed files with 6 additions and 3 deletions
3
.eleventy.js
Normal file
3
.eleventy.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
module.exports = function(eleventyConfig) {
|
||||||
|
eleventyConfig.addPassthroughCopy('src/assets');
|
||||||
|
};
|
|
@ -12,10 +12,10 @@
|
||||||
<title>{{ title }}</title>
|
<title>{{ title }}</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="relative bg-indigo-800">
|
<div class="relative bg-indigo-900">
|
||||||
<div class="absolute inset-0">
|
<div class="absolute inset-0">
|
||||||
<img class="w-full h-full object-cover" src="https://images.unsplash.com/photo-1525130413817-d45c1d127c42?ixlib=rb-1.2.1&ixqx=Fh0p1UlZgR&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1920&q=60&&sat=-100" alt="">
|
<img class="w-full h-full object-cover mb-16" src="/assets/snacks.jpg" alt="">
|
||||||
<div class="absolute inset-0 bg-indigo-800" style="mix-blend-mode: multiply;" aria-hidden="true"></div>
|
<div class="absolute inset-0 bg-indigo-900" style="mix-blend-mode: multiply;" aria-hidden="true"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="relative max-w-7xl mx-auto py-24 px-4 sm:py-32 sm:px-6 lg:px-8">
|
<div class="relative max-w-7xl mx-auto py-24 px-4 sm:py-32 sm:px-6 lg:px-8">
|
||||||
<h1 class="text-4xl font-extrabold tracking-tight text-white sm:text-5xl lg:text-6xl">{{ title }}</h1>
|
<h1 class="text-4xl font-extrabold tracking-tight text-white sm:text-5xl lg:text-6xl">{{ title }}</h1>
|
||||||
|
|
BIN
src/assets/snacks.jpg
Normal file
BIN
src/assets/snacks.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 85 KiB |
Loading…
Add table
Reference in a new issue