-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/productions page #84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
f074896
feat: add @videojs/react dependency to project
3a6bc7a
feat: update font styles for improved readability on productions page
7c6d8d2
feat: add WorkProcessGrid component for displaying process steps
aeb8d98
feat: refactor WorkProcessGrid integration and define process steps i…
4b6beab
feat: add media border radius variable and apply to media-default-skin
800e09e
feat: add components for production categories, selected productions,…
5133760
feat: enhance productions page with new components and layout adjustm…
3ace5cf
feat: refactor className attributes for improved readability in produ…
e13dd67
chore(release): 1.9.0
d6fb90f
chore: general cleanup
51c6245
feat: add React type imports and improve video player performance wit…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
83 changes: 83 additions & 0 deletions
83
src/app/productions/_components/ProductionCategoriesGrid.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
| import images from "@/utils/images"; | ||
| import Image, { StaticImageData } from "next/image"; | ||
|
|
||
| const PRODUCTION_CATEGORIES: { | ||
| title: string; | ||
| description: string; | ||
| src: StaticImageData; | ||
| }[] = [ | ||
| { | ||
| title: "Commercials", | ||
| description: | ||
| "High-impact brand storytelling designed for global reach and digital conversion. We build brand equity through precision framing.", | ||
| src: images.event[0], | ||
| }, | ||
| { | ||
| title: "Event Videos", | ||
| description: | ||
| "Dynamic coverage for high-end activations, runway shows, and corporate summits. Capturing energy in its purest form.", | ||
| src: images.event[1], | ||
| }, | ||
| { | ||
| title: "Documentaries", | ||
| description: | ||
| "Long-form narratives exploring human culture, technology, and art. Authentic stories told with a cinematic edge.", | ||
| src: images.event[2], | ||
| }, | ||
| { | ||
| title: "Social Media", | ||
| description: | ||
| "Vertically optimized content that disrupts the scroll. Fast-paced, high-energy visuals for modern digital platforms.", | ||
| src: images.event[3], | ||
| }, | ||
| ]; | ||
|
|
||
| const ProductionCategoriesGrid = () => ( | ||
| <div className="grid grid-cols-1 md:grid-cols-2 gap-0 border border-border"> | ||
| {PRODUCTION_CATEGORIES.map((category, index) => ( | ||
| <div | ||
| key={`production-category-${index}`} | ||
| className={` | ||
| relative group | ||
| aspect-auto | ||
| overflow-hidden | ||
| ${index !== 0 ? "border-t border-border" : ""} | ||
| `} | ||
| > | ||
| <Image | ||
| alt={category.title} | ||
| src={category.src} | ||
| className={` | ||
| object-cover | ||
| opacity-50 saturate-0 | ||
| group-hover:saturate-100 | ||
| duration-(--transition-duration) | ||
| `} | ||
| /> | ||
| <div | ||
| className={` | ||
| flex flex-col | ||
| absolute bottom-4 left-4 | ||
| text-white | ||
| `} | ||
| > | ||
| <div | ||
| className={` | ||
| text-white | ||
| font-family-regular-lg | ||
| text-lg md:text-xl lg:text-2xl | ||
| font-bold uppercase | ||
| `} | ||
| > | ||
| {category.title} | ||
| </div> | ||
| <div className="font-family-regular-md w-[75%]"> | ||
| {category.description} | ||
| </div> | ||
| </div> | ||
| </div> | ||
| ))} | ||
| </div> | ||
| ); | ||
|
|
||
| export default ProductionCategoriesGrid; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.