Skip to content

Commit

Permalink
Refactor NFT Card component to center align the card horizontally
Browse files Browse the repository at this point in the history
Update package.json to remove unnecessary packageManager field
Update data.json to change the contract name to mintbos.testnet
Refactor NFT Card component to update min-width and max-width of the card
  • Loading branch information
Jikugodwill committed Sep 28, 2024
1 parent 70f7ae7 commit 1630989
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,16 @@ Install dependencies
```cmd
pnpm install
```

and run the project

```cmd
pnpm run dev
```
or
```cmd
pnpm run dev:testnet
```
for testnet

## Project Walkthrough

Expand Down
2 changes: 1 addition & 1 deletion data.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"example.near": {
"mintbos.testnet": {
"widget": {
"Index": {
"metadata": {
Expand Down
3 changes: 2 additions & 1 deletion widget/components/NFT/Card.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ const Card = ({ data }) => {
box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 16px;
transition: background-color 0.25s ease-in-out;
border: 4px solid #ed8a71;
max-width: 300px;
min-width: 300px;
max-width: 350px;
margin: 0 auto;
.title,
.price {
Expand Down

0 comments on commit 1630989

Please sign in to comment.