-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from richard-unterberg/feature/evaluate-uno-css
Feature/evaluate uno css
- Loading branch information
Showing
16 changed files
with
870 additions
and
696 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
@@ -1,24 +1,16 @@ | ||
import Icon from '#components/Icon' | ||
import Link from '#components/Link' | ||
import useAppTheme from '#hooks/useTheme' | ||
import { ICON_ID } from '#lib/icons/iconID' | ||
|
||
const LinkElement = ({ children, href }: { children: React.ReactNode; href: string }) => { | ||
const { spacing } = useAppTheme() | ||
return ( | ||
<Link | ||
className="underline underline-offset-3 items-center inline-flex gap-0.5" | ||
href={href} | ||
external | ||
> | ||
{children} | ||
<Icon | ||
icon={ICON_ID.ExternalLink} | ||
className="inline-block align-super mr-1" | ||
size={spacing(2.5)} | ||
/> | ||
</Link> | ||
) | ||
} | ||
const LinkElement = ({ children, href }: { children: React.ReactNode; href: string }) => ( | ||
<Link | ||
className="underline underline-offset-3 items-center inline-flex gap-0.5" | ||
href={href} | ||
external | ||
> | ||
{children} | ||
<Icon icon={ICON_ID.ExternalLink} className="inline-block align-super mr-1" size={10} /> | ||
</Link> | ||
) | ||
|
||
export default LinkElement |
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
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.