generated from Fascinated/nextjs-13-template-with-tailwindcss
update source link to an icon
All checks were successful
Publish Docker Image / docker (push) Successful in 1m36s
All checks were successful
Publish Docker Image / docker (push) Successful in 1m36s
This commit is contained in:
parent
8967658ef1
commit
a68d10e0f8
@ -5,6 +5,7 @@ import { far } from "@fortawesome/free-regular-svg-icons";
|
|||||||
import { fas } from "@fortawesome/free-solid-svg-icons";
|
import { fas } from "@fortawesome/free-solid-svg-icons";
|
||||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
|
import Link from "next/link";
|
||||||
import Avatar from "./components/Avatar";
|
import Avatar from "./components/Avatar";
|
||||||
|
|
||||||
const Config: Config = require("../../config.yml") as any;
|
const Config: Config = require("../../config.yml") as any;
|
||||||
@ -168,13 +169,18 @@ export default function Home() {
|
|||||||
className={`absolute bottom-0 right-0 mb-5 mr-5 ${selectedTheme.footerTextColor}`}
|
className={`absolute bottom-0 right-0 mb-5 mr-5 ${selectedTheme.footerTextColor}`}
|
||||||
>
|
>
|
||||||
{options.showSourceLink && (
|
{options.showSourceLink && (
|
||||||
<a
|
<Link
|
||||||
href="https://git.fascinated.cc/Fascinated/simple-links"
|
href="https://git.fascinated.cc/Fascinated/simple-links"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
className="mt-5"
|
className="mt-5"
|
||||||
>
|
>
|
||||||
Website Source
|
<Image
|
||||||
</a>
|
src="https://cdn.fascinated.cc/assets/simple-links/icon.png"
|
||||||
|
alt="Simple Links Icon"
|
||||||
|
width={32}
|
||||||
|
height={32}
|
||||||
|
/>
|
||||||
|
</Link>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
Reference in New Issue
Block a user