-
Notifications
You must be signed in to change notification settings - Fork 0
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 #20 from Luancss/develop
Button on header and information on footer
- Loading branch information
Showing
4 changed files
with
88 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
import type { NextConfig } from "next"; | ||
|
||
const nextConfig: NextConfig = { | ||
/* config options here */ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
images: { | ||
remotePatterns: [ | ||
{ | ||
protocol: "https", | ||
hostname: "avatars.githubusercontent.com", | ||
}, | ||
], | ||
}, | ||
}; | ||
|
||
export default nextConfig; | ||
module.exports = nextConfig; |
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,52 @@ | ||
import Link from "next/link"; | ||
|
||
export const StarGithub = () => { | ||
return ( | ||
<Link | ||
href="https://github.com/Luancss/next15-code-craft" | ||
className="relative group flex items-center gap-2 px-4 py-1.5 rounded-lg text-gray-300 bg-gray-800/50 | ||
hover:bg-blue-500/10 border border-gray-800 hover:border-blue-500/50 transition-all duration-300 shadow-lg overflow-hidden" | ||
target="_blank" | ||
> | ||
<div | ||
className="absolute inset-0 bg-gradient-to-r from-blue-500/10 | ||
to-purple-500/10 opacity-0 group-hover:opacity-100 transition-opacity" | ||
/> | ||
<svg | ||
className="mr-2 text-white" | ||
strokeLinejoin="round" | ||
strokeLinecap="round" | ||
strokeWidth="2" | ||
stroke="currentColor" | ||
fill="none" | ||
viewBox="0 0 24 24" | ||
height="18" | ||
width="18" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"></path> | ||
<path d="M9 18c-4.51 2-5-2-7-2"></path> | ||
</svg>{" "} | ||
<span | ||
className="text-sm font-medium relative z-10 group-hover:text-white | ||
transition-colors" | ||
> | ||
Star on GitHub | ||
</span> | ||
<svg | ||
className="text-yellow-500" | ||
strokeLinejoin="round" | ||
strokeLinecap="round" | ||
strokeWidth="2" | ||
stroke="currentColor" | ||
fill="none" | ||
viewBox="0 0 24 24" | ||
height="18" | ||
width="18" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon> | ||
</svg> | ||
</Link> | ||
); | ||
}; |
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