From 19984aa25c7b40e1ac8cf807c06a19d4ef13ae92 Mon Sep 17 00:00:00 2001 From: PedroCoutinho Date: Thu, 11 Dec 2025 22:19:01 +0000 Subject: [PATCH] feat: add squiggly effect --- assets/css/app.css | 22 +++- lib/ares_web/components/footer_component.ex | 2 +- .../components/layouts/root.html.heex | 3 +- .../live/app/home_live/index.html.heex | 106 ++++++++++++++++-- 4 files changed, 113 insertions(+), 20 deletions(-) diff --git a/assets/css/app.css b/assets/css/app.css index 7c31c2bd..db1b3645 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -11,12 +11,6 @@ The heroicons installation itself is managed by your mix.exs */ @plugin "../vendor/heroicons"; -/* daisyUI Tailwind Plugin. You can update this file by fetching the latest version with: - curl -sLO https://github.com/saadeghi/daisyui/releases/latest/download/daisyui.js - Make sure to look at the daisyUI changelog: https://daisyui.com/docs/changelog/ */ -@plugin "../vendor/daisyui" { - themes: false; -} /* Add variants based on LiveView classes */ @custom-variant phx-click-loading (.phx-click-loading&, .phx-click-loading &); @@ -46,6 +40,22 @@ --color-border: rgba(249, 250, 251, 0.1); } +.squiggle-slow { + filter: url(#melt-flow-slow); + -webkit-filter: url(#melt-flow-slow); +} + +.squiggle-medium { + filter: url(#melt-flow-medium); + -webkit-filter: url(#melt-flow-medium); +} + +.squiggle-fast { + filter: url(#melt-flow-fast); + -webkit-filter: url(#melt-flow-fast); +} + + /* Custom CSS classes for the colors */ .text-secondary { diff --git a/lib/ares_web/components/footer_component.ex b/lib/ares_web/components/footer_component.ex index 6071e26f..c5daa004 100644 --- a/lib/ares_web/components/footer_component.ex +++ b/lib/ares_web/components/footer_component.ex @@ -12,7 +12,7 @@ defmodule AresWeb.FooterComponent do