diff --git a/components/copyright.tsx b/components/copyright.tsx
new file mode 100644
index 0000000..a04d154
--- /dev/null
+++ b/components/copyright.tsx
@@ -0,0 +1,11 @@
+import styles from "styles/copyright.module.sass"
+const Copyright = () => {
+
+ return (
+
+
© Lio 2022
+
+ )
+}
+
+export default Copyright
\ No newline at end of file
diff --git a/pages/index.tsx b/pages/index.tsx
index 626c22d..cfa169f 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -10,6 +10,7 @@ import styles from "styles/Index.module.sass";
// import Post from "components/Post";
// import PostGrid from "components/PostGrid";
import useSwr from 'swr';
+import Copyright from "components/copyright";
export async function getStaticProps() {
const profiles = await getProfiles();
@@ -41,6 +42,7 @@ const IndexPage = (props: { profiles: SocialButton[]; posts: Array; project
{/* {showposts && ()} */}
+
>
);
};
diff --git a/styles/copyright.module.sass b/styles/copyright.module.sass
new file mode 100644
index 0000000..6291a46
--- /dev/null
+++ b/styles/copyright.module.sass
@@ -0,0 +1,7 @@
+.align
+ text-align: center
+
+.text
+ padding-top: 1rem
+ font-size: 1rem
+ font-weight: lighter
diff --git a/utils/shared/projects.ts b/utils/shared/projects.ts
index 2e46359..8740149 100644
--- a/utils/shared/projects.ts
+++ b/utils/shared/projects.ts
@@ -9,7 +9,7 @@ export default async function getProjects(k): Promise {
icon: "git-branch",
platform: (data.description === "" || data.description.length > 30) ? "git.lio.cat" : data.description,
project: data.full_name,
- url: `https://git.lio.cat/${data.full_name}`,
+ url: data.website === "" ? `https://git.lio.cat/${data.full_name}` : data.website,
updated: data.updated_at
}
}).sort((lhs, rhs) => { return lhs.updated < rhs.updated ? 1 : lhs.updated > rhs.updated ? -1 : 0; })