-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from dca/feat/use-image-instead-of-img
feat: Use Image instead of img
- Loading branch information
Showing
4 changed files
with
55 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
'use client'; | ||
import React from 'react'; | ||
|
||
export const styles: { [key: string]: React.CSSProperties; } = { | ||
container: { | ||
display: 'flex', | ||
flexDirection: 'column', | ||
alignItems: 'center', | ||
fontFamily: "'Arial', sans-serif", | ||
backgroundColor: '#f4f4f4', | ||
minHeight: '100vh', | ||
padding: '20px 0' | ||
}, | ||
pokemonRow: { | ||
display: 'flex', | ||
alignItems: 'center', | ||
margin: '20px 0', | ||
padding: '20px', | ||
border: '1px solid #ddd', | ||
boxShadow: '0px 4px 15px rgba(0, 0, 0, 0.1)', | ||
borderRadius: '15px', | ||
backgroundColor: '#ffffff', | ||
cursor: 'pointer', | ||
transition: 'transform 0.2s' | ||
}, | ||
pokemonName: { | ||
flex: 1, | ||
fontSize: '18px', | ||
marginRight: '20px' | ||
}, | ||
pokemonImage: { | ||
// width: '100px', | ||
borderRadius: '10px', | ||
border: '2px solid #e0e0e0', | ||
marginRight: '20px' | ||
}, | ||
title: { | ||
fontSize: '32px', | ||
margin: '20px 0', | ||
color: '#333' | ||
} | ||
}; |