Skip to content

Commit

Permalink
update pkgs and fix compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
cnrad committed Dec 17, 2023
1 parent 680a727 commit 95b80e8
Show file tree
Hide file tree
Showing 4 changed files with 1,526 additions and 1,279 deletions.
4 changes: 4 additions & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"framer-motion": "^4.1.17",
"image-to-base64": "^2.2.0",
"ioredis": "^4.28.5",
"next": "11.0.0",
"react": "17.0.2",
"next": "12.0.0",
"react": "18.0.0",
"react-dom": "17.0.2",
"styled-components": "^5.3.0",
"use-smooth-count": "^0.3.0"
Expand Down
14 changes: 7 additions & 7 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default function Home({ userCount }: { userCount: number }) {
</Container>
</Main>
<FooterStat>
Lanyard Profile Readme has <div style={{ fontWeight: "bold", width: "2.75rem" }} ref={countRef} /> total
Lanyard Profile Readme has <div style={{ fontWeight: "bold", width: "3.2rem" }} ref={countRef} /> total
users!
</FooterStat>
</>
Expand Down Expand Up @@ -171,16 +171,16 @@ const Input = styled.input`
border: none;
width: 100%;
font-size: 0.9rem;
padding: 5px 10px;
padding: 0.45rem 0.75rem;
color: #aaabaf;
border: solid 1px #333;
border: solid 1px rgba(255, 255, 255, 0.2);
background: #000;
box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.2);
transition: all ease-in-out 0.2s;
transition: all ease-in-out 0.1s;
&:focus {
outline: 0;
border-color: #ccc;
border-color: rgba(255, 255, 255, 0.5);
}
`;

Expand Down Expand Up @@ -236,7 +236,7 @@ const FooterStat = styled.div`
background: #000;
padding: 1rem 1.25rem;
color: #fff;
border-radius: 0.5rem;
border-radius: 0.55rem;
text-align: center;
box-shadow: 0 2px 15px -10px #a21caf;
min-width: 400px;
Expand All @@ -254,7 +254,7 @@ const FooterStat = styled.div`
left: 0;
right: 0;
bottom: 0;
border-radius: 0.35rem;
border-radius: 0.55rem;
border: 2px solid transparent;
background: linear-gradient(45deg, #be123c, #6b21a8, #3730a3) border-box;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
Expand Down
Loading

0 comments on commit 95b80e8

Please sign in to comment.