1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-22 17:23:22 +01:00

switch back to upstream react-feather

This commit is contained in:
Matthias Kretschmann 2022-11-18 16:08:06 +00:00
parent 20b285a760
commit a14bce745f
Signed by: m
GPG Key ID: 606EEEF3C479A91F
5 changed files with 17 additions and 17 deletions

24
package-lock.json generated
View File

@ -10,13 +10,13 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@giphy/js-fetch-api": "^4.4.0", "@giphy/js-fetch-api": "^4.4.0",
"@kremalicious/react-feather": "^2.1.0",
"@yaireo/relative-time": "^1.0.2", "@yaireo/relative-time": "^1.0.2",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"framer-motion": "^7.6.7", "framer-motion": "^7.6.7",
"next": "13.0.3", "next": "13.0.3",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-feather": "^2.0.10",
"remark": "^14.0.2", "remark": "^14.0.2",
"remark-gfm": "^3.0.1", "remark-gfm": "^3.0.1",
"remark-html": "^15.0.1", "remark-html": "^15.0.1",
@ -2723,17 +2723,6 @@
"@jridgewell/sourcemap-codec": "1.4.14" "@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": { "node_modules/@motionone/animation": {
"version": "10.14.0", "version": "10.14.0",
"resolved": "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz", "resolved": "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz",
@ -10821,6 +10810,17 @@
"react": "^18.2.0" "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": { "node_modules/react-is": {
"version": "17.0.2", "version": "17.0.2",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",

View File

@ -25,13 +25,13 @@
}, },
"dependencies": { "dependencies": {
"@giphy/js-fetch-api": "^4.4.0", "@giphy/js-fetch-api": "^4.4.0",
"@kremalicious/react-feather": "^2.1.0",
"@yaireo/relative-time": "^1.0.2", "@yaireo/relative-time": "^1.0.2",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"framer-motion": "^7.6.7", "framer-motion": "^7.6.7",
"next": "13.0.3", "next": "13.0.3",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-feather": "^2.0.10",
"remark": "^14.0.2", "remark": "^14.0.2",
"remark-gfm": "^3.0.1", "remark-gfm": "^3.0.1",
"remark-html": "^15.0.1", "remark-html": "^15.0.1",

View File

@ -2,7 +2,7 @@
position: relative; position: relative;
padding: calc(var(--spacer) / 2); padding: calc(var(--spacer) / 2);
padding-top: 25vh; padding-top: 25vh;
min-height: calc(80vh - var(--spacer)); min-height: calc(85vh - var(--spacer));
max-height: 1000px; max-height: 1000px;
text-align: center; text-align: center;
display: flex; display: flex;

View File

@ -1,5 +1,5 @@
// https://featherstyles.com // https://featherstyles.com
// import * as Feather from '@kremalicious/react-feather' // import * as Feather from 'react-feather'
import { import {
ArrowDownCircle, ArrowDownCircle,
Edit, Edit,
@ -21,7 +21,7 @@ import {
Star, Star,
Info, Info,
Dribbble Dribbble
} from '@kremalicious/react-feather' } from 'react-feather'
import styles from './index.module.css' import styles from './index.module.css'
export default function Icon({ name, ...props }: { name: string }) { export default function Icon({ name, ...props }: { name: string }) {

View File

@ -38,7 +38,7 @@
@media (min-width: 40em) { @media (min-width: 40em) {
.meta { .meta {
grid-template-columns: 2fr 3fr; grid-template-columns: 1fr 1fr;
} }
} }