diff --git a/components/Layout.tsx b/components/Layout.tsx
index 6db4efb..99192b5 100644
--- a/components/Layout.tsx
+++ b/components/Layout.tsx
@@ -7,7 +7,7 @@ export default function Layout({ children }: LayoutProps) {
return (
<>
- Mock SAML IdP
+ Mock SAML IdP
{children}
>
diff --git a/pages/index.tsx b/pages/index.tsx
index 7bf759c..201b8fb 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -1,13 +1,12 @@
-import { GetServerSideProps } from "next";
+import { GetStaticProps } from "next";
import { IdPMetadata } from "../types";
import config from "../lib/env";
import { createCertificate } from "../utils";
import React from "react";
import Link from "next/link";
-import Layout from "components/Layout";
import Head from "next/head";
-export const getServerSideProps: GetServerSideProps = async () => {
+export const getStaticProps: GetStaticProps = async () => {
const metadata: IdPMetadata = {
ssoUrl: config.ssoUrl,
entityId: config.entityId,
@@ -27,12 +26,12 @@ const Home: React.FC<{ metadata: IdPMetadata }> = ({ metadata }) => {
Mock SAML IdP - Metadata
-
-
SSO URL
+
+
SSO URL
{metadata.ssoUrl}
-
Entity ID
+
Entity ID
{metadata.entityId}
-
Certificate
+
Certificate
{metadata.certificate}