Skip to content

Commit

Permalink
Merge pull request #891 from jakeherp/fix/uses-page-animation
Browse files Browse the repository at this point in the history
fix(uses-page): adds page animation back
  • Loading branch information
jakeherp authored Feb 12, 2023
2 parents dd22249 + 027a421 commit 6ecc2a3
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 4.0.2

## fixes

- _uses page:_ adds page animation back

# 4.0.1

## fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "portfolio",
"description": "A redesign of my portfolio website.",
"version": "4.0.1",
"version": "4.0.2",
"author": {
"name": "Jacob Herper",
"email": "jacob@herper.io",
Expand Down
2 changes: 1 addition & 1 deletion src/app/(user)/case-studies/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ErrorFallback } from '@components/templates/ErrorFallback';

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

import { caseStudiesQuery } from '@root/src/queries/caseStudies';
import { caseStudiesQuery } from '@queries/caseStudies';
import { CaseStudy } from '@types';
import { groq } from 'next-sanity';
import Image from 'next/image';
Expand Down
2 changes: 1 addition & 1 deletion src/app/(user)/case-studies/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { CaseStudy } from '@components/molecules/CaseStudy';

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

import { caseStudiesQuery } from '@root/src/queries/caseStudies';
import { caseStudiesQuery } from '@queries/caseStudies';
import { CaseStudy as CaseStudyType } from '@types';

export const metadata = {
Expand Down
11 changes: 7 additions & 4 deletions src/app/(user)/uses/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { AnimatePage } from '@components/atoms/AnimatePage';
import { Container } from '@components/atoms/Container';
import { ContentBlock } from '@components/atoms/ContentBlock';

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

return (
<Container>
<h1 className="headline text-3xl md:text-5xl lg:text-6xl mt-8">Uses</h1>
<ContentBlock value={page.body} />
</Container>
<AnimatePage>
<Container>
<h1 className="headline text-3xl md:text-5xl lg:text-6xl mt-8">Uses</h1>
<ContentBlock value={page.body} />
</Container>
</AnimatePage>
);
};

Expand Down

1 comment on commit 6ecc2a3

@vercel
Copy link

@vercel vercel bot commented on 6ecc2a3 Feb 12, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.