Skip to content

Commit 6ecc2a3

Browse files
authored
Merge pull request #891 from jakeherp/fix/uses-page-animation
fix(uses-page): adds page animation back
2 parents dd22249 + 027a421 commit 6ecc2a3

File tree

5 files changed

+16
-7
lines changed

5 files changed

+16
-7
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 4.0.2
2+
3+
## fixes
4+
5+
- _uses page:_ adds page animation back
6+
17
# 4.0.1
28

39
## fixes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "portfolio",
33
"description": "A redesign of my portfolio website.",
4-
"version": "4.0.1",
4+
"version": "4.0.2",
55
"author": {
66
"name": "Jacob Herper",
77
"email": "[email protected]",

src/app/(user)/case-studies/[slug]/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { ErrorFallback } from '@components/templates/ErrorFallback';
77

88
import { sanityClient } from '@lib/sanity';
99

10-
import { caseStudiesQuery } from '@root/src/queries/caseStudies';
10+
import { caseStudiesQuery } from '@queries/caseStudies';
1111
import { CaseStudy } from '@types';
1212
import { groq } from 'next-sanity';
1313
import Image from 'next/image';

src/app/(user)/case-studies/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { CaseStudy } from '@components/molecules/CaseStudy';
44

55
import { sanityClient } from '@lib/sanity';
66

7-
import { caseStudiesQuery } from '@root/src/queries/caseStudies';
7+
import { caseStudiesQuery } from '@queries/caseStudies';
88
import { CaseStudy as CaseStudyType } from '@types';
99

1010
export const metadata = {

src/app/(user)/uses/page.tsx

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { AnimatePage } from '@components/atoms/AnimatePage';
12
import { Container } from '@components/atoms/Container';
23
import { ContentBlock } from '@components/atoms/ContentBlock';
34

@@ -22,10 +23,12 @@ const UsesPage = async () => {
2223
const page = await getData();
2324

2425
return (
25-
<Container>
26-
<h1 className="headline text-3xl md:text-5xl lg:text-6xl mt-8">Uses</h1>
27-
<ContentBlock value={page.body} />
28-
</Container>
26+
<AnimatePage>
27+
<Container>
28+
<h1 className="headline text-3xl md:text-5xl lg:text-6xl mt-8">Uses</h1>
29+
<ContentBlock value={page.body} />
30+
</Container>
31+
</AnimatePage>
2932
);
3033
};
3134

0 commit comments

Comments
 (0)