diff --git a/package.json b/package.json
index abde71e..3df4785 100644
--- a/package.json
+++ b/package.json
@@ -71,7 +71,8 @@
"@typescript-eslint"
],
"rules": {
- "semi": "error"
+ "semi": "error",
+ "import/prefer-default-export": "off"
}
},
"browserslist": {
diff --git a/src/components/Intro/Intro.tsx b/src/components/Intro/Intro.tsx
index a604324..e78ceca 100644
--- a/src/components/Intro/Intro.tsx
+++ b/src/components/Intro/Intro.tsx
@@ -1,15 +1,36 @@
import styled from 'styled-components';
+import { ReactComponent as GithubIcon } from '../../icons/github.svg';
export const Container = styled.div`
padding: 10px 30px;
font-size: 20px;
text-align: center;
+ position: relative;
+`;
+
+export const GithubLink = styled.a`
+ position: absolute;
+ top: 20px;
+ right: 20px;
+ color: #000;
+
+ @media (prefers-color-scheme: dark) {
+ color: #ff9f43;
+ };
`;
export function Intro() {
return (
Эх, когда-нибудь я найду время, чтобы...
+
+
+
);
}
diff --git a/src/icons/github.svg b/src/icons/github.svg
new file mode 100644
index 0000000..1a1fe8c
--- /dev/null
+++ b/src/icons/github.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/todo.md b/src/todo.md
index 08d3e94..c92ed29 100644
--- a/src/todo.md
+++ b/src/todo.md
@@ -1,7 +1,7 @@
# Todo items
## V1 Remaining
-* Show link to github in the UI
+* Favicon & title
* Proper readme with link to the deployed app
## Features