generated from timlrx/tailwind-nextjs-starter-blog
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b243a69
commit a10327a
Showing
7 changed files
with
102 additions
and
12 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
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 |
---|---|---|
@@ -1,10 +1,7 @@ | ||
import NextImage, { ImageProps } from 'next/image' | ||
|
||
const Image = ({ ...rest }: ImageProps) => ( | ||
<NextImage | ||
className="rounded-md border-2 border-gray-300 shadow-xl dark:border-gray-800 dark:shadow-gray-800" | ||
{...rest} | ||
/> | ||
<NextImage className="card border-2 border-gray-300 dark:border-gray-800" {...rest} /> | ||
) | ||
|
||
export default Image |
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,64 @@ | ||
.bg-light-blue-pink { | ||
background: rgb(238, 174, 202); | ||
background: linear-gradient( | ||
280deg, | ||
rgba(238, 174, 202, 0.1) 0%, | ||
rgba(199, 180, 215, 0.1) 40%, | ||
rgba(148, 187, 233, 0.1) 100% | ||
); | ||
} | ||
|
||
.bg-light-blue-pink:is(.dark *) { | ||
background: rgb(238, 174, 202); | ||
background: linear-gradient( | ||
280deg, | ||
rgba(238, 174, 202, 1) 0%, | ||
rgba(185, 185, 225, 1) 40%, | ||
rgba(148, 187, 233, 1) 100% | ||
); | ||
} | ||
|
||
.bg-light-pink-blue { | ||
background: rgb(238, 174, 202); | ||
background: linear-gradient( | ||
100deg, | ||
rgba(238, 174, 202, 0.1) 0%, | ||
rgba(199, 180, 215, 0.1) 40%, | ||
rgba(148, 192, 233, 0.1) 100% | ||
); | ||
} | ||
|
||
.bg-light-pink-blue:is(.dark *) { | ||
background: rgb(238, 174, 202); | ||
background: linear-gradient( | ||
100deg, | ||
rgba(238, 174, 202, 1) 0%, | ||
rgba(185, 185, 225, 1) 40%, | ||
rgba(148, 192, 233, 1) 100% | ||
); | ||
} | ||
|
||
/* Animation */ | ||
.bg-pink-blue-animated { | ||
background: linear-gradient(90deg, rgba(238, 174, 202, 0.3), rgba(148, 192, 233, 0.3)); | ||
background-size: 400% 400%; | ||
animation: bg-pink-blue-animated 6s ease infinite; | ||
} | ||
|
||
.bg-pink-blue-animated:is(.dark *) { | ||
background: linear-gradient(90deg, rgba(238, 174, 202, 1), rgba(148, 192, 233, 1)); | ||
background-size: 400% 400%; | ||
animation: bg-pink-blue-animated 6s ease infinite; | ||
} | ||
|
||
@keyframes bg-pink-blue-animated { | ||
0% { | ||
background-position: 0% 50%; | ||
} | ||
50% { | ||
background-position: 100% 50%; | ||
} | ||
100% { | ||
background-position: 0% 50%; | ||
} | ||
} |
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