Skip to content

Commit

Permalink
Add Thankful, update Comparator
Browse files Browse the repository at this point in the history
  • Loading branch information
adamplesnik committed Nov 17, 2024
1 parent 4749805 commit f433a40
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/content/WorkComparator.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import PreviewWrapper from '@/components/PreviewWrapper'
import WorkTile from '@/components/WorkTile'
import comparator from './images/comparator.mp4'

Expand All @@ -8,11 +7,11 @@ const WorkComparator = () => {
title="Photo comparator interface"
text="A conceptual UI for an application dedicated to displaying before and after photographs of various spaces and places within our cities and nature."
>
<PreviewWrapper>
<video loop autoPlay playsInline className="-mt-px">
<div className="overflow-hidden">
<video loop autoPlay playsInline className="-mt-[2px]">
<source src={comparator} type="video/mp4"></source>
</video>
</PreviewWrapper>
</div>
</WorkTile>
)
}
Expand Down
23 changes: 23 additions & 0 deletions src/content/WorkThankful.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import WorkTile from '@/components/WorkTile'
import MasonryWrapper from '@/partials/MasonryWrapper'
import thankfulMain from './images/thank-main.jpg'
import thankfulVideo from './images/thank.mp4'

const Thankful = () => {
return (
<WorkTile
title="Simple gratitude journal"
className="bg-amber-50 dark:bg-transparent"
text="This app concept aims to find a simple, lean, and nice gratitude journaling experience."
>
<MasonryWrapper>
<img src={thankfulMain} className="mb-4" />
<video loop autoPlay playsInline className="border-none">
<source src={thankfulVideo} type="video/mp4"></source>
</video>
</MasonryWrapper>
</WorkTile>
)
}

export default Thankful
Binary file added src/content/images/thank-main.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/content/images/thank.mp4
Binary file not shown.
2 changes: 2 additions & 0 deletions src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import WorkAndy from '@/content/WorkAndy'
import WorkComparator from '@/content/WorkComparator'
import WorkKolbord from '@/content/WorkKolbord'
import WorkScrollDriven from '@/content/WorkScrollDriven'
import WorkThankful from '@/content/WorkThankful'
import WorkWebUmenia from '@/content/WorkWebUmenia'

const Home = () => {
Expand All @@ -15,6 +16,7 @@ const Home = () => {
<Chart />
<WorkKolbord />
<WorkScrollDriven />
<WorkThankful />
<WorkComparator />
<WorkAndy />
<WorkWebUmenia />
Expand Down

0 comments on commit f433a40

Please sign in to comment.