Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {}

module.exports = {
images: {
Expand Down
11 changes: 7 additions & 4 deletions src/components/Moderators.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Container } from '@/components/Container'
import Image from 'next/image'

const people = [
{
Expand Down Expand Up @@ -73,7 +74,7 @@ export function Moderators() {
<div className="md:text-center">
<h2 className="font-display text-3xl tracking-tight text-white sm:text-4xl">
<span className="relative whitespace-nowrap">
<SwirlyDoodle className="fill-primary-400 absolute left-0 top-1/2 h-[1em] w-full" />
<SwirlyDoodle className="absolute left-0 top-1/2 h-[1em] w-full fill-primary-400" />
<span className="relative">EddieHub</span>
</span>{' '}
Moderators.
Expand All @@ -91,10 +92,12 @@ export function Moderators() {
key={person.name}
className="rounded-2xl bg-gray-800 px-8 py-10"
>
<img
className="mx-auto h-48 w-48 rounded-full md:h-56 md:w-56"
<Image
className="mx-auto rounded-full md:h-56 md:w-56"
src={person.imageUrl}
alt=""
alt="moderator image"
width={200}
height={200}
/>
<h3 className="mt-6 text-base font-semibold leading-7 tracking-tight text-white">
{person.name}
Expand Down