Skip to content

Commit

Permalink
new2
Browse files Browse the repository at this point in the history
sd
ok
  • Loading branch information
Your Name committed Mar 7, 2024
1 parent d726804 commit 64fc186
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Binary file added src/images/image1.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions src/old11.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import React from 'react';

function App() {
const images = [
{ name: 'image1.jpg', url: './images/image1.jpg' },
// Add more images here
];

const imageList = images.map(image => (
<img key={image.name} src={image.url} alt={image.name} />
));

return (
<div>
<h1>Welcome to the Black Tea Swap...</h1>
{imageList}
</div>
);
}

export default App;

0 comments on commit 64fc186

Please sign in to comment.