Updated to latest
This commit is contained in:
commit
88fc22ddd4
36 files changed
+1340
-405
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import { useRouter } from 'next/router'
|
||||
import {useRouter} from 'next/router'
|
||||
import Link from 'next/link'
|
||||
import React, { Children } from 'react'
|
||||
import React, {Children} from 'react'
|
||||
|
||||
const ActiveLink = ({ children, activeClassName, ...props }) => {
|
||||
const { asPath } = useRouter()
|
||||
|
||||
@@ -16,7 +16,7 @@ export default function Avatar({ user, className = '', fallback }: {
|
||||
return (
|
||||
<img
|
||||
onError={() => setGravatarAvailable(false)}
|
||||
src={`https://www.gravatar.com/avatar/${md5(user.email)}?d=404&s=160`}
|
||||
src={`https://www.gravatar.com/avatar/${md5(user.email)}?s=160&d=identicon&r=PG`}
|
||||
alt="Avatar"
|
||||
className={className}
|
||||
/>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import ActiveLink from '../components/ActiveLink';
|
||||
import { UserCircleIcon, KeyIcon, CodeIcon, UserGroupIcon, CreditCardIcon } from '@heroicons/react/outline';
|
||||
import {CodeIcon, CreditCardIcon, KeyIcon, UserCircleIcon, UserGroupIcon} from '@heroicons/react/outline';
|
||||
|
||||
export default function SettingsShell(props) {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user