-
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.
SUM-47 Theme & Style local footer (#1)
- Loading branch information
1 parent
0f63ee6
commit 3750816
Showing
8 changed files
with
151 additions
and
136 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,21 +1,21 @@ | ||
import Link from "@components/elements/link"; | ||
import {ChevronRightIcon} from "@heroicons/react/20/solid"; | ||
import {HtmlHTMLAttributes} from "react"; | ||
import {twMerge} from "tailwind-merge"; | ||
import { ArrowRightIcon } from "@heroicons/react/20/solid"; | ||
import { HtmlHTMLAttributes } from "react"; | ||
import { twMerge } from "tailwind-merge"; | ||
|
||
type Props = HtmlHTMLAttributes<HTMLAnchorElement> & { | ||
/** | ||
* Link url. | ||
*/ | ||
href: string | ||
} | ||
}; | ||
|
||
const ActionLink = ({children, ...props}: Props) => { | ||
const ActionLink = ({ children, ...props }: Props) => { | ||
return ( | ||
<Link {...props} className={twMerge("relative", props.className)}> | ||
{children} | ||
<ChevronRightIcon height={25} className="ml-2 inline-block"/> | ||
<ArrowRightIcon width={20} className="ml-2 inline-block" /> | ||
</Link> | ||
) | ||
} | ||
export default ActionLink; | ||
); | ||
}; | ||
export default ActionLink |
Oops, something went wrong.