Skip to content

Commit

Permalink
feat: butt.png more attractive (#21)
Browse files Browse the repository at this point in the history
Co-authored-by: Peio Thibault <[email protected]>
  • Loading branch information
rlrrrrr and potb committed Feb 22, 2024
1 parent d95b58d commit ddbe2cc
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion apps/prout/src/app.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
Binary file modified apps/prout/src/lib/assets/butt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/prout/src/lib/assets/slip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 13 additions & 1 deletion apps/prout/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
<script lang="ts">
import slip from '$lib/assets/slip.png?format=webp&h=32&w=32&as=meta';
</script>

<svelte:head>
<title>prout</title>
<meta name="description" content="A website to fart clicking on Myd's butt" />
</svelte:head>

<slot />
<main style="cursor: url({slip.src}), auto;">
<slot />
</main>

<style>
* {
user-select: none;
}
</style>
9 changes: 3 additions & 6 deletions apps/prout/src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<script lang="ts">
import slip from '$lib/assets/slip.png?format=webp&h=32&w=32&as=meta';
import fartSrc from '$lib/assets/fart.mp3';
import {
src,
Expand All @@ -18,7 +19,8 @@
{height}
useMap="#butt"
alt="Myd butt-naked, seen from behind"
/><button on:click={fart}>
draggable="false"
/><button on:click={fart} style="cursor: url({slip.src}), pointer;">
<map name="butt">
<area
alt="Accurate mapping of Myd butt"
Expand All @@ -32,10 +34,5 @@
button {
border: none;
background: none;
cursor: pointer;
}
* {
user-select: none;
}
</style>

0 comments on commit ddbe2cc

Please sign in to comment.