Skip to content

Commit

Permalink
feat: apply link tooltip at other experience
Browse files Browse the repository at this point in the history
  • Loading branch information
hyesungoh committed Mar 31, 2022
1 parent d70726e commit bcb558e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 7 deletions.
24 changes: 20 additions & 4 deletions apps/resume/_content/Other-Experience/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,47 @@
"title": "Other Experience",
"list": [
{
"name": "Foo University",
"title": {
"text": "Foo University",
"githubLink": null,
"otherLink": null
},
"position": "Student",
"startDate": "2018.03",
"endDate": "2021.03",
"description": "Graduated software develop major",
"which": []
},
{
"name": "Bar club",
"title": {
"text": "Bar Club",
"githubLink": null,
"otherLink": null
},
"position": "FE developer course",
"startDate": "2018.03",
"endDate": "2018.12",
"description": "Learning FE development",
"which": ["learning HTML/CSS", "learning SPA Framework"]
},
{
"name": "Lovin Next.js club",
"title": {
"text": "Lovein Next.js Club",
"githubLink": null,
"otherLink": "https://nextjs.org/"
},
"position": "Web Developer",
"startDate": "2020.03",
"endDate": "2021.03",
"description": "Love Next.js and NextUI",
"which": ["Comet-land build with Next.js and NextUI"]
},
{
"name": "Turbo developers",
"title": {
"text": "Turbo Developers",
"githubLink": null,
"otherLink": "https://turborepo.org/"
},
"position": "Web Developer",
"startDate": "2020.03",
"endDate": "2021.03",
Expand Down
6 changes: 5 additions & 1 deletion apps/resume/_content/Other-Experience/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import data from './data.json';

export interface IExperience {
name: string;
title: {
text: string;
githubLink: string | null;
otherLink: string | null;
};
position: string;
startDate: string;
endDate: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ import styled from '@emotion/styled';
import { useTheme } from '@nextui-org/react';
import { IExperience } from '../../../_content/Other-Experience';
import Li from '../Li';
import TitleTooltip from '../TitleTooltip';

function Experience({ name, position, startDate, endDate, description, which }: IExperience) {
function Experience({ title, position, startDate, endDate, description, which }: IExperience) {
const { theme } = useTheme();

return (
<Div>
<h3>{name}</h3>
<TitleTooltip {...title} />
<small>
{startDate} ~ {endDate}
</small>
Expand Down

2 comments on commit bcb558e

@vercel
Copy link

@vercel vercel bot commented on bcb558e Mar 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

comet-land-blog – ./apps/blog

comet-land-blog.vercel.app
comet-land-blog-hyesungoh.vercel.app
comet-land-blog-git-main-hyesungoh.vercel.app

@vercel
Copy link

@vercel vercel bot commented on bcb558e Mar 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

comet-land-resume – ./apps/resume

comet-land-resume-hyesungoh.vercel.app
comet-land-resume-git-main-hyesungoh.vercel.app
comet-land-resume.vercel.app

Please sign in to comment.