Skip to content

Commit ad18c95

Browse files
committed
feat:upgrade nextjs and more
1 parent 9fbbe92 commit ad18c95

File tree

7 files changed

+228
-235
lines changed

7 files changed

+228
-235
lines changed

app/(group)/portfolio/HeadingPortfolio.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { cxm } from "libs/helpers";
2-
import { HiGlobeAlt } from "react-icons/hi";
2+
import { GoArrowUpRight } from "react-icons/go";
33
import { SiGithub } from "react-icons/si";
44
import { UnderlineLink } from "~ui/links";
55

@@ -33,7 +33,7 @@ export const HeadingPortfolio: React.FunctionComponent<HeadingPortfolioProps> =
3333
href={props.link.live}
3434
className="text-theme-700 dark:text-theme-200 max-w-max gap-2 py-1"
3535
>
36-
<HiGlobeAlt
36+
<GoArrowUpRight
3737
className={cxm("text-lg md:text-xl", "text-theme-800 dark:text-theme-200")}
3838
/>
3939
<span className={cxm("text-sm md:text-base")}>Live Demo</span>

app/components/portfolio/IconStack.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
SiCss3,
55
SiFirebase,
66
SiFramer,
7-
SiGo,
87
SiJavascript,
98
SiMarkdown,
109
SiNextdotjs,
@@ -17,6 +16,7 @@ import {
1716
SiTypescript,
1817
SiVite,
1918
SiPrisma,
19+
SiBulma,
2020
} from "react-icons/si";
2121

2222
export type IconStackProps = {
@@ -78,6 +78,9 @@ export const IconStack: React.FunctionComponent<IconStackProps> = ({ type, class
7878
case "prisma":
7979
return <SiPrisma className={cxm("text-shiro ", className)} />;
8080

81+
case "bulma":
82+
return <SiBulma className={cxm("text-emerald-500 ", className)} />;
83+
8184
default:
8285
return <SiCodesandbox className={cxm(" text-slate-900", className)} />;
8386
}

app/components/portfolio/PortfolioItem.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,12 @@ const PortfolioItem: FC<PortfolioItemProps> = ({ portfolio, classes }) => {
4242
</div>
4343
<Paragraph className={cxm("lg:text-base")}>{portfolio.summary}</Paragraph>
4444
<div className="mt-2 flex gap-x-8">
45-
<div className="flex items-center gap-x-2">
46-
<IoRocketOutline />
47-
<UnstyledLink href={portfolio.link.live}>Live Demo</UnstyledLink>
48-
</div>
45+
{portfolio.link.live !== "-" && (
46+
<div className="flex items-center gap-x-2">
47+
<IoRocketOutline />
48+
<UnstyledLink href={portfolio.link.live}>Live Demo</UnstyledLink>
49+
</div>
50+
)}
4951
<div className="flex items-center gap-x-2">
5052
<GoArrowUpRight />
5153
<UnstyledLink href={portfolio.link.github}>Read</UnstyledLink>

app/data/portfolio/diskus-it.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ link:
1111
}
1212
---
1313

14-
Diskus It is a Discussion App that I was built when I was learned Prisma, integrated on Google Auth, Prisma is a ORM database that can make Next js fullstack.
14+
Diskus It is a Discussion App that I was built when I was learned Prisma, integrated on Google Auth with Next Auth, Prisma is a ORM database that can make Next js fullstack.
1515

1616
You can checkout [Supabase](https://supabase.com/).

app/data/portfolio/vite-redux.mdx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: 'Learn React Redux with JSON Server'
3+
date: '06/06/2023'
4+
summary: "Learn how to Redux work"
5+
image: 'https://ik.imagekit.io/ytdhxj6nw2/vite-redux.png?updatedAt=1696731899914'
6+
stack: ['React.js', 'Vite', 'Bulma', 'Typescript',]
7+
link: { github: 'https://github.com/danimahdani/vite-redux-ts',
8+
live: '-' }
9+
---
10+
11+
Learn how to Redux work with study case simple product CRUD and using back end json-server
12+
13+
### Tech Stack
14+
15+
- Vite
16+
- Typescript
17+
- Bulma
18+
- JSON-Server
19+
- axios

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
"@types/react-dom": "18.2.7",
1818
"classix": "^2.1.34",
1919
"mdx-prism": "^0.3.4",
20-
"next": "13.4.10",
20+
"next": "^13.5.4",
2121
"next-mdx-remote": "^4.4.1",
2222
"nextjs-toploader": "^1.4.2",
23-
"react": "18.2.0",
23+
"react": "^18.2.0",
2424
"react-18-image-lightbox": "^5.1.4",
25-
"react-dom": "18.2.0",
25+
"react-dom": "^18.2.0",
2626
"react-icons": "^4.10.1",
2727
"rehype-slug": "^6.0.0",
2828
"tailwind-merge": "^1.14.0",
@@ -34,7 +34,7 @@
3434
"autoprefixer": "^10.4.14",
3535
"commitizen": "^4.3.0",
3636
"eslint": "^8.45.0",
37-
"eslint-config-next": "^13.4.12",
37+
"eslint-config-next": "^13.5.4",
3838
"eslint-config-prettier": "^9.0.0",
3939
"gray-matter": "^4.0.3",
4040
"husky": "^8.0.3",

0 commit comments

Comments
 (0)