Skip to content

Commit fd5afe7

Browse files
committed
v2.0
1 parent bb9f77d commit fd5afe7

29 files changed

+494
-50
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<a href="https://choosealicense.com/licenses/mit/">
1111
<img src="https://img.shields.io/badge/License-MIT-brightgreen"/ >
1212
</a>
13-
<img src="https://img.shields.io/badge/Version-1.3.1-blue"/ >
13+
<img src="https://img.shields.io/badge/Version-2.0.0-blue"/ >
1414
</p>
1515

1616
[![My Portfolio](https://user-images.githubusercontent.com/68834718/214532356-7c56cdbd-0136-4d24-a532-d27e160ae72d.png)](https://vatsalsinghkv.vercel.app/)
@@ -63,7 +63,7 @@
6363
yarn dev
6464
```
6565

66-
- To change the content, edit `src/utils/portfolio.ts`
66+
- To change the content, edit `src/lib/utils/portfolio.ts`
6767

6868
- To change the **resume**, change `/public/resume.pdf` with your resume (name must be `resume.pdf`)
6969

@@ -73,11 +73,11 @@
7373

7474
## Continuous Development
7575

76+
- [ ] Migrate to Next 13
7677
- [ ] Find alternative for framer motion
7778
- [ ] Add Content Management System (CMS)
7879
- [ ] Add test cases
7980
- [ ] Separate route (archive) for all the projects with filters
80-
- [ ] Switch to Next 13
8181

8282
## Contact
8383

src/components/buttons/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { removeKeys } from '@/utils/helper';
1+
import { removeKeys } from '@/lib/utils/helper';
22

33
import { motion, MotionProps } from 'framer-motion';
44
import Link from 'next/link';

src/components/buttons/DarkModeButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useTheme } from '@/hooks/use-theme';
1+
import { useTheme } from '@/lib/hooks/use-theme';
22

33
import { Icon } from '@iconify/react';
44
import { motion, MotionProps } from 'framer-motion';

src/components/lists/TabList.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import useWindowWidth from '@/hooks/use-window-width';
1+
import useWindowWidth from '@/lib/hooks/use-window-width';
2+
import { ExperienceType } from '@/lib/types';
3+
import { getBreakpointsWidth, getId } from '@/lib/utils/helper';
24

35
import { Link, ListItem } from '@/components';
46

5-
import { getBreakpointsWidth, getId } from '@/utils/helper';
6-
7-
import { ExperienceType } from '@/types';
8-
97
import { useState } from 'react';
108

119
type Props = {

src/components/skills/Skill.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { ListItem, ShowLottie, SkillIcon } from '@/components';
2-
3-
import { getId } from '@/utils/helper';
1+
import { SoftwareSkillType } from '@/lib/types';
2+
import { getId } from '@/lib/utils/helper';
43

5-
import { SoftwareSkillType } from '@/types';
4+
import { ListItem, ShowLottie, SkillIcon } from '@/components';
65

76
import { motion, MotionProps } from 'framer-motion';
87

src/components/socials/SocialIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SocialLinkType } from '@/types';
1+
import { SocialLinkType } from '@/lib/types';
22

33
import SocialLink from './SocialLink';
44
import { Icon } from '@iconify/react';

src/components/ui/ProjectCard.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import { blurImageURL } from '@/utils/config';
2-
3-
import { ProjectType } from '@/types';
1+
import { ProjectType } from '@/lib/types';
2+
import { blurImageURL } from '@/lib/utils/config';
43

54
import { Icon } from '@iconify/react';
65
import { motion, MotionProps } from 'framer-motion';

src/components/ui/Sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { fadeIn } from '@/animations';
1+
import { fadeIn } from '@/styles/animations';
22

33
import { motion } from 'framer-motion';
44
import React from 'react';

src/containers/About.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
import { getId } from '@/lib/utils/helper';
2+
import { aboutSection, author } from '@/lib/utils/portfolio';
3+
14
import { AuthorImage, Link, ListItem, Wrapper } from '@/components';
25

3-
import { getSectionAnimation } from '@/animations';
4-
import { getId } from '@/utils/helper';
5-
import { aboutSection, author } from '@/utils/portfolio';
6+
import { getSectionAnimation } from '@/styles/animations';
67

78
import { useEffect, useState } from 'react';
89

src/containers/Contact.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
import { contactSection } from '@/lib/utils/portfolio';
2+
13
import { Button, Wrapper } from '@/components';
24

3-
import { getSectionAnimation } from '@/animations';
4-
import { contactSection } from '@/utils/portfolio';
5+
import { getSectionAnimation } from '@/styles/animations';
56

67
const Contact = () => {
78
const { subtitle, title, paragraphs, link } = contactSection;

0 commit comments

Comments
 (0)