Skip to content

Commit fd5b19e

Browse files
author
Andréas Brey
committed
updated ui font + box shadow NFT
1 parent 42f2bc8 commit fd5b19e

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

public/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
<head>
44
<meta charset="utf-8" />
55
<link rel="icon" href="%PUBLIC_URL%/logo.jpg" />
6+
<link rel="preconnect" href="https://fonts.googleapis.com">
7+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
8+
<link href="https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap" rel="stylesheet">
69
<meta name="viewport" content="width=device-width, initial-scale=1" />
710
<meta name="theme-color" content="#000000" />
811
<meta

src/App.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
body{
1111
background-color:var(--main-background-color);
12+
font-family: 'Patrick Hand', cursive;
13+
font-size: 1.2em;
1214
}
1315

1416
h2, p{

src/Home.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,13 +198,20 @@ const Price = styled(Chip)`
198198
const Image = styled.img`
199199
height: 400px;
200200
width: auto;
201-
border-radius: 20px;
201+
border-radius: 7px;
202+
box-shadow: 5px 5px 40px 5px rgba(0,0,0,0.5);
202203
`;
203204

204205
const BorderLinearProgress = styled(LinearProgress)`
205206
margin: 20px 0;
206207
height: 10px !important;
207-
border-radius: 5px;
208+
border-radius: 30px;
209+
border: 2px solid white;
210+
box-shadow: 5px 5px 40px 5px rgba(0,0,0,0.5);
211+
> div.MuiLinearProgress-bar1Determinate {
212+
border-radius: 30px !important;
213+
background-image: linear-gradient(270deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.5));
214+
}
208215
`;
209216

210217
const ShimmerTitle = styled.h1`

0 commit comments

Comments
 (0)