Skip to content

Commit

Permalink
feat: 나의 다짐
Browse files Browse the repository at this point in the history
  • Loading branch information
junghyeonsu committed Dec 15, 2023
1 parent 963b195 commit ec74a52
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"typescript.tsdk": ".yarn/sdks/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"editor.formatOnSave": true,
"eslint.validate": [
Expand Down
29 changes: 21 additions & 8 deletions src/components/header/Portfolio.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,34 @@
import { Text, Tooltip } from "@chakra-ui/react";
import { Box, Text, Tooltip } from "@chakra-ui/react";
import { Link } from "gatsby";

const Portfoilo = () => {
return (
<Link to="/portfolio">
<Tooltip label="Coming Soon!">
<Box pos="relative">
<Text
as="del"
fontSize={14}
pos="absolute"
fontStyle="italic"
whiteSpace="nowrap"
top="-10px"
left="-10px"
fontSize={10}
fontWeight={800}
padding={1}
_active={{ bg: "transparent" }}
>
Portfolio
2023년 안에는 꼭...
</Text>
</Tooltip>
<Tooltip label="Coming Soon!">
<Text
as="del"
fontSize={14}
fontStyle="italic"
fontWeight={800}
padding={1}
_active={{ bg: "transparent" }}
>
Portfolio
</Text>
</Tooltip>
</Box>
</Link>
);
};
Expand Down

0 comments on commit ec74a52

Please sign in to comment.