-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7062b47
commit af75546
Showing
4 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
svg { | ||
position: absolute; | ||
bottom: calc(calc(var(--space-s) - 6px) * -1); | ||
transform: rotate(1deg); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { component$, useStylesScoped$, type PropsOf } from "@builder.io/qwik" | ||
import styles from "./squiggle.css?inline" | ||
|
||
export const Squiggle = component$((props: PropsOf<"svg">) => { | ||
useStylesScoped$(styles) | ||
|
||
return ( | ||
<svg width="587" height="31" viewBox="0 0 587 31" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}> | ||
<path d="M2.50147 10.4772C140.69 52.2251 165.072 6.01877 246.585 19.0008C328.098 31.9828 327.794 -2.77817 421.562 7.01197C496.576 14.8441 561.181 7.78511 584.107 3.27661" stroke={props.stroke ?? "#867CD8"} stroke-width={props['stroke-width'] ?? 3} stroke-linecap="round"/> | ||
</svg> | ||
) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters