mirror of
https://github.com/theoludwig/theoludwig.git
synced 2026-05-06 13:48:12 +02:00
build(deps): update latest
This commit is contained in:
Vendored
+1
@@ -0,0 +1 @@
|
||||
declare module "*.css"
|
||||
@@ -98,12 +98,12 @@ export const CurriculumVitaeWork: React.FC<CurriculumVitaeWorkProps> = () => {
|
||||
<></>
|
||||
)}
|
||||
|
||||
{workExperience.summary != null ? (
|
||||
{workExperience.summary == null ? (
|
||||
<></>
|
||||
) : (
|
||||
<div className="mt-2">
|
||||
<p>{workExperience.summary}</p>
|
||||
</div>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
</li>
|
||||
)
|
||||
|
||||
@@ -59,9 +59,9 @@ export const Button: React.FC<ButtonProps> = (props) => {
|
||||
|
||||
return (
|
||||
<NextLink className={classNames(buttonVariants({ variant, size }), className)} {...rest}>
|
||||
{leftIcon != null ? <span className="mr-2">{leftIcon}</span> : null}
|
||||
{leftIcon == null ? null : <span className="mr-2">{leftIcon}</span>}
|
||||
<span>{children}</span>
|
||||
{rightIcon != null ? <span className="ml-2">{rightIcon}</span> : null}
|
||||
{rightIcon == null ? null : <span className="ml-2">{rightIcon}</span>}
|
||||
|
||||
<Ripple color={rippleColor} />
|
||||
</NextLink>
|
||||
@@ -94,7 +94,7 @@ export const Button: React.FC<ButtonProps> = (props) => {
|
||||
disabled={isDisabled}
|
||||
{...rest}
|
||||
>
|
||||
{leftIconElement != null ? <span className="mr-2">{leftIconElement}</span> : null}
|
||||
{leftIconElement == null ? null : <span className="mr-2">{leftIconElement}</span>}
|
||||
<span>{children}</span>
|
||||
{rightIcon != null && !isLoading ? <span className="ml-2">{rightIcon}</span> : null}
|
||||
|
||||
|
||||
@@ -11,12 +11,12 @@ export const AboutItem: React.FC<AboutItemProps> = (props) => {
|
||||
<li className="flex items-center justify-between sm:justify-start">
|
||||
<strong className="w-24 text-sm text-black lg:w-32 dark:text-white">{label}</strong>
|
||||
<span className="block text-sm font-normal text-black dark:text-gray-lighter">
|
||||
{link != null ? (
|
||||
{link == null ? (
|
||||
value
|
||||
) : (
|
||||
<a className="hover:underline" href={link}>
|
||||
{value}
|
||||
</a>
|
||||
) : (
|
||||
value
|
||||
)}
|
||||
</span>
|
||||
</li>
|
||||
|
||||
@@ -10,7 +10,7 @@ export const getPathnameWithoutLocale = (input: string): string => {
|
||||
const locale = LOCALES.find((locale) => {
|
||||
return input.startsWith(`/${locale}`)
|
||||
})
|
||||
const pathname = locale != null ? input.slice(locale.length + 1) : input
|
||||
const pathname = locale == null ? input : input.slice(locale.length + 1)
|
||||
if (pathname.length <= 0) {
|
||||
return `/${pathname}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user