Skip to content

Commit

Permalink
feat: allow side notes to accept children
Browse files Browse the repository at this point in the history
  • Loading branch information
zpuckeridge committed Oct 30, 2024
1 parent 88dc61d commit ce9c841
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
14 changes: 10 additions & 4 deletions _content/is-gods-love-reckless.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,16 @@ Many people are quick to defend the use of the word with the following argument:
Cory Asbury himself also came out with a defence for the use of the word 'reckless':

<SideNote note="Originally posted on Facebook, I unfortunately cannot find a link to the post anymore.">
> "When I use the phrase, 'the reckless love of God', I’m not saying that God
Himself is reckless. I am, however, saying that the way He loves, is in many
regards, quite so." — Cory Asbury
<SideNote
note={
<a href="https://www.facebook.com/coryasburymusic/posts/many-have-asked-me-for-clarity-on-the-phrase-reckless-love-many-have-wondered-wh/10158977378510171/">
Link to full statement
</a>
}
>
> "When I use the phrase, “the reckless love of God”, I’m not saying that God
> Himself is reckless. I am, however, saying that the way He loves, is in many
> regards, quite so." — Cory Asbury
</SideNote>
Firstly, to understand the controversy and why there is an issue with the word, we must look at the definition of 'reckless'.
Expand Down
2 changes: 1 addition & 1 deletion components/link-with-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const LinkWithIcon = ({
<a
href={href}
target="_blank"
className="text-blue-600 hover:text-blue-400 dark:text-blue-400 dark:hover:text-blue-600 transition inline-flex group ease-in-out"
className="text-blue-600 hover:text-blue-400 dark:text-blue-400 dark:hover:text-blue-600 transition inline-flex group ease-in-out"
>
{children}
<ArrowTopRightIcon className="w-3 h-3 text-muted-foreground mt-1 group-hover:translate-x-[0.125rem] group-hover:-translate-y-[0.125rem] ease-in-out transition-all " />
Expand Down
2 changes: 1 addition & 1 deletion components/side-note.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { FC } from "react";

interface SideNoteProps {
children: React.ReactNode;
note: string;
note: React.ReactNode;
}

const SideNote: FC<SideNoteProps> = ({ children, note }) => {
Expand Down

0 comments on commit ce9c841

Please sign in to comment.