Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
ca057 committed Jan 5, 2025
1 parent 8b22bb4 commit 7556e68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function blurhashToFavicon(blurHash, outputPath) {
async function createCoffeeFavicon() {
// TODO: lazy!
const coffees = await readFile("src/_data/coffees.json", { encoding: "utf-8" }).then((f) => JSON.parse(f));
await blurhashToFavicon(coffees.images.at(-1).images.blurhash, "src/coffee/_favicon.png");
await blurhashToFavicon(coffees.images.at(-1).images.blurhash, "src/coffees/_favicon.png");
}

export default async function (eleventyConfig) {
Expand Down
5 changes: 3 additions & 2 deletions src/coffees/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ footer {

.c {
img + div {
opacity: 0;
background-color: red;
opacity: 0.5;
position: absolute;
bottom: 0;
right: 0;
Expand All @@ -95,7 +96,7 @@ footer {
align-items: flex-end;
}

img + div:hover:not(body:hover) {
img + div:hover {
opacity: 1;
}
img + div p {
Expand Down

0 comments on commit 7556e68

Please sign in to comment.