-
Notifications
You must be signed in to change notification settings - Fork 0
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 #5 from hollow-leaf/fix/profile-RWD
fix: profile rwd & feat ipfs nft
- Loading branch information
Showing
15 changed files
with
132 additions
and
224 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,38 @@ | ||
import React from 'react'; | ||
import Card from '@mui/material/Card'; | ||
import CardContent from '@mui/material/CardContent'; | ||
import CardMedia from '@mui/material/CardMedia'; | ||
import Typography from '@mui/material/Typography'; | ||
import { CardActionArea, CardActions } from '@mui/material'; | ||
import { nftIPFS } from '@/content/ipfs/ipfs-nft'; | ||
import Link from 'next/link'; | ||
|
||
export function NFTCard(props: { index: number }) { | ||
|
||
return ( | ||
<Card sx={{ maxWidth: 345 }}> | ||
<CardActionArea> | ||
<CardMedia | ||
component="img" | ||
height="140" | ||
image={nftIPFS[props.index].src} | ||
alt={nftIPFS[props.index].name} | ||
className="transform transition-transform hover:scale-110" | ||
/> | ||
<CardContent> | ||
<Typography gutterBottom variant="h5" component="div"> | ||
{nftIPFS[props.index].name} | ||
</Typography> | ||
<Typography variant="body2" color="text.secondary"> | ||
Solo is gold System Architect. | ||
</Typography> | ||
</CardContent> | ||
</CardActionArea> | ||
<CardActions> | ||
<Link color="primary" href={nftIPFS[props.index].src} className='hover:text-shadow-lg'> | ||
Show details | ||
</Link> | ||
</CardActions> | ||
</Card> | ||
); | ||
} |
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
Oops, something went wrong.