Skip to content

Commit

Permalink
Rejig background files
Browse files Browse the repository at this point in the history
  • Loading branch information
neilh-cogapp committed Mar 21, 2024
1 parent 65f7789 commit 2a0581b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
10 changes: 0 additions & 10 deletions src/app/components/backgrounds.tsx

This file was deleted.

10 changes: 8 additions & 2 deletions src/app/rooms/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@

import Link from 'next/link';
import Image from 'next/image';
import { backgroundImages } from '../components/backgrounds';
import { PaperAirplaneIcon } from '@heroicons/react/20/solid';

const backgroundImages = [
'room-1',
'room-2',
'room-3',
'room-4',
];

export default function Page() {
return (
<div className="">
Expand All @@ -17,7 +23,7 @@ export default function Page() {
className="flex flex-col items-center text-white rounded-md bg-blue pt-4 px-4 text-sm font-semibold shadow-sm hover:bg-green hover:text-black"
>
<Image
src={bgImage}
src={`/images/${bgImage}.jpeg`}
alt="Room Image"
className="group-hover:opacity-75"
width={800}
Expand Down

0 comments on commit 2a0581b

Please sign in to comment.