Skip to content

Commit 07bbde0

Browse files
update
1 parent 873cdc8 commit 07bbde0

File tree

6 files changed

+23
-16
lines changed

6 files changed

+23
-16
lines changed

.eslintrc.cjs

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@ module.exports = {
22
root: true,
33
env: { browser: true, es2020: true },
44
extends: [
5-
'eslint:recommended',
6-
'plugin:react/recommended',
7-
'plugin:react/jsx-runtime',
8-
'plugin:react-hooks/recommended',
5+
"eslint:recommended",
6+
"plugin:react/recommended",
7+
"plugin:react/jsx-runtime",
8+
"plugin:react-hooks/recommended",
99
],
10-
ignorePatterns: ['dist', '.eslintrc.cjs'],
11-
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
12-
settings: { react: { version: '18.2' } },
13-
plugins: ['react-refresh'],
10+
ignorePatterns: ["dist", ".eslintrc.cjs"],
11+
parserOptions: { ecmaVersion: "latest", sourceType: "module" },
12+
settings: { react: { version: "18.2" } },
13+
plugins: ["react-refresh"],
1414
rules: {
15-
'react/jsx-no-target-blank': 'off',
16-
'react-refresh/only-export-components': [
17-
'warn',
15+
"react/jsx-no-target-blank": "off",
16+
"react-refresh/only-export-components": [
17+
"warn",
1818
{ allowConstantExport: true },
1919
],
20+
"react/prop-types": 0,
2021
},
21-
}
22+
};

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,7 @@ dist-ssr
2222
*.njsproj
2323
*.sln
2424
*.sw?
25+
26+
27+
#files
28+
notes.md

public/images/matrix.jpg

168 KB
Loading

src/components/Card.jsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ function Card() {
99

1010
return (
1111
<div className="h-[520px] w-[320px] overflow-hidden rounded-2xl bg-neutral-900 shadow-lg">
12-
<div className="h-[200px] border-b border-accent bg-[url('/images/marv.jpg')] bg-cover"></div>
12+
<div
13+
className={`h-[200px] border-b border-accent bg-[url('/images/marv.jpg')] bg-cover`}
14+
></div>
1315
<div className="flex h-[calc(100%-200px)] flex-col px-4 py-4">
1416
<div className="text-center text-2xl font-bold text-neutral-200">
1517
Marv
@@ -25,7 +27,7 @@ function Card() {
2527

2628
<div className="flex justify-center gap-x-4 py-2">
2729
<a className={`${buttonStyle}`}>
28-
<FaGithub size={"24"} className="mr-2" />
30+
<FaGithub size={"20"} className="mr-2" />
2931
Github
3032
</a>
3133

src/components/CardsWrapper.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function CardsWrapper() {
44
return (
55
<div className="flex items-center justify-center">
66
<div className="flex max-w-[1280px] flex-wrap justify-center gap-8 p-8">
7-
<Card /> <Card /> <Card /> <Card />
7+
<Card /> <Card /> <Card imgUrl="/images/marv.jpg" /> <Card />
88
<Card /> <Card /> <Card /> <Card />
99
</div>
1010
</div>

src/components/LangSwitcher.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function LangageSwitcher() {
1010
"py-2 px-6 pointer mr-2 rounded-full my-2 text-xs hover:bg-accentDarker transition-colors";
1111

1212
return (
13-
<div className="flex justify-end">
13+
<div className="mr-2 flex justify-end">
1414
<div className="flex text-white">
1515
<div>
1616
<button

0 commit comments

Comments
 (0)