From a14bce745f1aa68a4c74bfe05bca61555cee80a2 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Fri, 18 Nov 2022 16:08:06 +0000 Subject: [PATCH] switch back to upstream react-feather --- package-lock.json | 24 ++++++++++++------------ package.json | 2 +- src/components/Header/index.module.css | 2 +- src/components/Icon/index.tsx | 4 ++-- src/components/Project/index.module.css | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index eda93cd..6aa99fb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,13 +10,13 @@ "license": "MIT", "dependencies": { "@giphy/js-fetch-api": "^4.4.0", - "@kremalicious/react-feather": "^2.1.0", "@yaireo/relative-time": "^1.0.2", "file-saver": "^2.0.5", "framer-motion": "^7.6.7", "next": "13.0.3", "react": "^18.2.0", "react-dom": "^18.2.0", + "react-feather": "^2.0.10", "remark": "^14.0.2", "remark-gfm": "^3.0.1", "remark-html": "^15.0.1", @@ -2723,17 +2723,6 @@ "@jridgewell/sourcemap-codec": "1.4.14" } }, - "node_modules/@kremalicious/react-feather": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@kremalicious/react-feather/-/react-feather-2.1.0.tgz", - "integrity": "sha512-a0d+OLyYf8XzNvB3gvCQHgVIa9+OowY+2WWQb+L8XG9n3IiWfEM89Wu/tJQ5aS64P3pcrf/cEZdHL84TC+F9cA==", - "dependencies": { - "prop-types": "^15.8.1" - }, - "peerDependencies": { - "react": "^16.8.6 || ^17 || ^18" - } - }, "node_modules/@motionone/animation": { "version": "10.14.0", "resolved": "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz", @@ -10821,6 +10810,17 @@ "react": "^18.2.0" } }, + "node_modules/react-feather": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/react-feather/-/react-feather-2.0.10.tgz", + "integrity": "sha512-BLhukwJ+Z92Nmdcs+EMw6dy1Z/VLiJTzEQACDUEnWMClhYnFykJCGWQx+NmwP/qQHGX/5CzQ+TGi8ofg2+HzVQ==", + "dependencies": { + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "react": ">=16.8.6" + } + }, "node_modules/react-is": { "version": "17.0.2", "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", diff --git a/package.json b/package.json index da0d8ea..11c0a28 100644 --- a/package.json +++ b/package.json @@ -25,13 +25,13 @@ }, "dependencies": { "@giphy/js-fetch-api": "^4.4.0", - "@kremalicious/react-feather": "^2.1.0", "@yaireo/relative-time": "^1.0.2", "file-saver": "^2.0.5", "framer-motion": "^7.6.7", "next": "13.0.3", "react": "^18.2.0", "react-dom": "^18.2.0", + "react-feather": "^2.0.10", "remark": "^14.0.2", "remark-gfm": "^3.0.1", "remark-html": "^15.0.1", diff --git a/src/components/Header/index.module.css b/src/components/Header/index.module.css index 68ab5ec..5d2f38f 100644 --- a/src/components/Header/index.module.css +++ b/src/components/Header/index.module.css @@ -2,7 +2,7 @@ position: relative; padding: calc(var(--spacer) / 2); padding-top: 25vh; - min-height: calc(80vh - var(--spacer)); + min-height: calc(85vh - var(--spacer)); max-height: 1000px; text-align: center; display: flex; diff --git a/src/components/Icon/index.tsx b/src/components/Icon/index.tsx index 2188487..f378f4a 100644 --- a/src/components/Icon/index.tsx +++ b/src/components/Icon/index.tsx @@ -1,5 +1,5 @@ // https://featherstyles.com -// import * as Feather from '@kremalicious/react-feather' +// import * as Feather from 'react-feather' import { ArrowDownCircle, Edit, @@ -21,7 +21,7 @@ import { Star, Info, Dribbble -} from '@kremalicious/react-feather' +} from 'react-feather' import styles from './index.module.css' export default function Icon({ name, ...props }: { name: string }) { diff --git a/src/components/Project/index.module.css b/src/components/Project/index.module.css index 33c75de..4590ec3 100644 --- a/src/components/Project/index.module.css +++ b/src/components/Project/index.module.css @@ -38,7 +38,7 @@ @media (min-width: 40em) { .meta { - grid-template-columns: 2fr 3fr; + grid-template-columns: 1fr 1fr; } }