-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SUM-47 Theme & Style local footer #1
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
a6b091f
SUM-47 | @rebeccahongsf | theme footer
rebeccahongsf 4a982ff
add roboto font, adjust lockup for mobile, add arrow right link optio…
rebeccahongsf 844544d
fixup social links
rebeccahongsf c02f46d
add archway color to wysiwyg
rebeccahongsf 8295dd1
fixup action link and button styles
rebeccahongsf d77b7db
fixup responsive
rebeccahongsf 682bdd2
fixup
rebeccahongsf f7a7b95
remove semicols
rebeccahongsf f9cc345
fixup font
rebeccahongsf 4f06330
revert page footer
rebeccahongsf 11b016f
fixup buttons and formatting
rebeccahongsf e94ec65
revert page footer
rebeccahongsf e235df6
revert page footer
rebeccahongsf d9cca9d
Fixup
pookmish File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why
children:mb-0
instead ofmb-0
on the<li>
element? I'm not asking for any changes, just curious of your choice here.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, this was user error 😄 I was moving some things around and added seperate
<li>
item so I addedchildren:mb-0
so that all children are targeted. I eventually removed it and forgot to rework the classes. In this case, we can definitely further specify and addclassName="children:mb-0"
to the<li>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment not related to whether we use children:mb-0 on ul or mb-0 on li, but
*:
has officially replacedchildren:
- it's in Tailwind core now 😄 @rebeccahongsf