-
-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #540 from creativetimofficial/feat/new-updates
Feat/new updates
- Loading branch information
Showing
141 changed files
with
12,508 additions
and
951 deletions.
There are no files selected for viewing
This file contains 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 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,69 @@ | ||
export function DefaultGallery() { | ||
return ( | ||
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-3"> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg object-cover object-center" | ||
src="https://images.unsplash.com/photo-1499696010180-025ef6e1a8f9?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80" | ||
alt="gallery-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg object-cover object-center" | ||
src="https://images.unsplash.com/photo-1432462770865-65b70566d673?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80" | ||
alt="gallery-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg object-cover object-center" | ||
src="https://images.unsplash.com/photo-1497436072909-60f360e1d4b1?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2560&q=80" | ||
alt="gallery-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg object-cover object-center" | ||
src="https://images.unsplash.com/photo-1493246507139-91e8fad9978e?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2940&q=80" | ||
alt="gallery-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg object-cover object-center" | ||
src="https://images.unsplash.com/photo-1518623489648-a173ef7824f3?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2762&q=80" | ||
alt="gallery-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg object-cover object-center" | ||
src="https://images.unsplash.com/photo-1682407186023-12c70a4a35e0?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2832&q=80" | ||
alt="gallery-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg object-cover object-center" | ||
src="https://demos.creative-tim.com/material-kit-pro/assets/img/examples/blog5.jpg" | ||
alt="gallery-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg object-cover object-center" | ||
src="https://material-taillwind-pro-ct-tailwind-team.vercel.app/img/content2.jpg" | ||
alt="gallery-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg object-cover object-center" | ||
src="https://images.unsplash.com/photo-1620064916958-605375619af8?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1493&q=80" | ||
alt="gallery-photo" | ||
/> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains 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,51 @@ | ||
import React from "react"; | ||
export function FeaturedImageGallery() { | ||
return ( | ||
<div className="grid gap-4"> | ||
<div> | ||
<img | ||
className="h-auto w-full max-w-full rounded-lg object-cover object-center md:h-[480px]" | ||
src="https://images.unsplash.com/photo-1499696010180-025ef6e1a8f9?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80" | ||
alt="" | ||
/> | ||
</div> | ||
<div className="grid grid-cols-5 gap-4"> | ||
<div> | ||
<img | ||
src="https://images.unsplash.com/photo-1499696010180-025ef6e1a8f9?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80" | ||
className="h-20 max-w-full cursor-pointer rounded-lg object-cover object-center" | ||
alt="gallery-image" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
src="https://images.unsplash.com/photo-1432462770865-65b70566d673?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80" | ||
className="h-20 max-w-full cursor-pointer rounded-lg object-cover object-center" | ||
alt="gallery-image" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
src="https://images.unsplash.com/photo-1493246507139-91e8fad9978e?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2940&q=80" | ||
className="h-20 max-w-full cursor-pointer rounded-lg object-cover object-center" | ||
alt="gallery-image" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
src="https://images.unsplash.com/photo-1518623489648-a173ef7824f3?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2762&q=80" | ||
className="h-20 max-w-full cursor-pointer rounded-lg object-cover object-center" | ||
alt="gallery-image" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
src="https://images.unsplash.com/photo-1682407186023-12c70a4a35e0?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2832&q=80" | ||
className="h-20 max-w-full cursor-pointer rounded-lg object-cover object-center" | ||
alt="gallery-image" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains 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,200 @@ | ||
export function GalleryWithTab() { | ||
return ( | ||
<div className="w-full"> | ||
<div className="relative right-0"> | ||
<ul | ||
className="relative flex list-none flex-wrap rounded-xl bg-blue-gray-50/60 p-1" | ||
data-tabs="tabs" | ||
role="list" | ||
> | ||
<li className="z-30 flex-auto text-center"> | ||
<a | ||
className="text-slate-700 z-30 mb-0 flex w-full cursor-pointer items-center justify-center rounded-lg border-0 bg-inherit px-0 py-1 transition-all ease-in-out" | ||
data-tab-target="" | ||
role="tab" | ||
aria-selected="true" | ||
aria-controls="app" | ||
> | ||
<span className="ml-1">App</span> | ||
</a> | ||
</li> | ||
<li className="z-30 flex-auto text-center"> | ||
<a | ||
className="text-slate-700 z-30 mb-0 flex w-full cursor-pointer items-center justify-center rounded-lg border-0 bg-inherit px-0 py-1 transition-all ease-in-out" | ||
data-tab-target="" | ||
role="tab" | ||
aria-selected="false" | ||
aria-controls="message" | ||
> | ||
<span className="ml-1">Messages</span> | ||
</a> | ||
</li> | ||
<li className="z-30 flex-auto text-center"> | ||
<a | ||
className="text-slate-700 z-30 mb-0 flex w-full cursor-pointer items-center justify-center rounded-lg border-0 bg-inherit px-0 py-1 transition-all ease-in-out" | ||
data-tab-target="" | ||
role="tab" | ||
aria-selected="false" | ||
aria-controls="settings" | ||
> | ||
<span className="ml-1">Settings</span> | ||
</a> | ||
</li> | ||
</ul> | ||
<div data-tab-content="" className="p-5"> | ||
<div className="block opacity-100" id="app" role="tabpanel"> | ||
<div | ||
role="tabpanel" | ||
className="grid h-max w-full grid-cols-3 gap-4 p-4 font-sans text-base font-light leading-relaxed text-gray-700 antialiased" | ||
data-value="html" | ||
> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://images.unsplash.com/photo-1493246507139-91e8fad9978e?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2940&q=80" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://images.unsplash.com/photo-1518623489648-a173ef7824f3?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2762&q=80" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://images.unsplash.com/photo-1682407186023-12c70a4a35e0?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2832&q=80" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://demos.creative-tim.com/material-kit-pro/assets/img/examples/blog5.jpg" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://material-taillwind-pro-ct-tailwind-team.vercel.app/img/content2.jpg" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://images.unsplash.com/photo-1620064916958-605375619af8?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1493&q=80" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
<div className="hidden opacity-0" id="message" role="tabpanel"> | ||
<div | ||
role="tabpanel" | ||
className="grid h-max w-full grid-cols-3 gap-4 p-4 font-sans text-base font-light leading-relaxed text-gray-700 antialiased" | ||
data-value="html" | ||
> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://demos.creative-tim.com/material-kit-pro/assets/img/examples/blog5.jpg" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://material-taillwind-pro-ct-tailwind-team.vercel.app/img/content2.jpg" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://images.unsplash.com/photo-1620064916958-605375619af8?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1493&q=80" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://images.unsplash.com/photo-1493246507139-91e8fad9978e?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2940&q=80" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://images.unsplash.com/photo-1518623489648-a173ef7824f3?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2762&q=80" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://images.unsplash.com/photo-1682407186023-12c70a4a35e0?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2832&q=80" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
<div className="hidden opacity-0" id="settings" role="tabpanel"> | ||
<div | ||
role="tabpanel" | ||
className="grid h-max w-full grid-cols-3 gap-4 p-4 font-sans text-base font-light leading-relaxed text-gray-700 antialiased" | ||
data-value="html" | ||
> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://images.unsplash.com/photo-1493246507139-91e8fad9978e?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2940&q=80" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://images.unsplash.com/photo-1518623489648-a173ef7824f3?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2762&q=80" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://demos.creative-tim.com/material-kit-pro/assets/img/examples/blog5.jpg" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://material-taillwind-pro-ct-tailwind-team.vercel.app/img/content2.jpg" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://images.unsplash.com/photo-1620064916958-605375619af8?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1493&q=80" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
|
||
<div> | ||
<img | ||
className="h-40 w-full max-w-full rounded-lg" | ||
src="https://images.unsplash.com/photo-1682407186023-12c70a4a35e0?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2832&q=80" | ||
alt="image-photo" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains 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,5 @@ | ||
export * from "./default-gallery"; | ||
export * from "./masonry-grid-gallery"; | ||
export * from "./featured-image-gallery"; | ||
export * from "./quad-gallery"; | ||
export * from "./gallery-with-tab"; |
Oops, something went wrong.