Skip to content

Commit

Permalink
explore page
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdavis committed Nov 19, 2024
1 parent 33d4bfd commit b6ce656
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/registry/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
'@next/next/no-html-link-for-pages': 'off',
'@next/next/no-sync-scripts': 'off',
'@next/next/no-page-custom-font': 'off',
'@next/next/no-img-element': 'off',
},
env: {
browser: true,
Expand Down
3 changes: 1 addition & 2 deletions apps/registry/app/explore/ClientResumes.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { useState, useEffect } from 'react';
import { useRouter, useSearchParams, usePathname } from 'next/navigation';
import { motion, AnimatePresence } from 'framer-motion';
import Image from 'next/image';

export default function ClientResumes({
initialResumes,
Expand Down Expand Up @@ -166,7 +165,7 @@ export default function ClientResumes({
className="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-shadow"
>
<div className="flex items-center space-x-4">
<Image
<img
src={resume.image}
alt={resume.name || 'Profile'}
className="w-16 h-16 rounded-full object-cover"
Expand Down
18 changes: 18 additions & 0 deletions apps/registry/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,24 @@ const nextConfig = {
port: '',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'avatars.githubusercontent.com',
port: '',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'i.imgur.com',
port: '',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'lh4.googleusercontent.com',
port: '',
pathname: '/**',
},
],
},
experimental: {
Expand Down

0 comments on commit b6ce656

Please sign in to comment.