mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-16 09:41:31 +10:00
fix(i18n): load locales from file system, instead of http-backend
This commit is contained in:
@ -4,7 +4,6 @@ import { Theme } from '@reactive-resume/schema';
|
||||
import clsx from 'clsx';
|
||||
import get from 'lodash/get';
|
||||
import isEmpty from 'lodash/isEmpty';
|
||||
import Image from 'next/image';
|
||||
import { useMemo } from 'react';
|
||||
|
||||
import Markdown from '@/components/shared/Markdown';
|
||||
@ -25,10 +24,9 @@ export const MastheadSidebar: React.FC = () => {
|
||||
return (
|
||||
<div className="col-span-2 grid justify-items-start gap-3 px-4 pt-4">
|
||||
{photo.visible && !isEmpty(photo.url) && (
|
||||
<Image
|
||||
<img
|
||||
alt={name}
|
||||
src={photo.url}
|
||||
objectFit="cover"
|
||||
width={photo.filters.size}
|
||||
height={photo.filters.size}
|
||||
className={getPhotoClassNames(photo.filters)}
|
||||
|
||||
Reference in New Issue
Block a user