diff --git a/components/Footer.tsx b/components/Footer.tsx
new file mode 100644
index 0000000..32cc029
--- /dev/null
+++ b/components/Footer.tsx
@@ -0,0 +1,45 @@
+export default function Footer() {
+ return (
+
+ );
+}
diff --git a/components/Header.tsx b/components/Header.tsx
new file mode 100644
index 0000000..47eabad
--- /dev/null
+++ b/components/Header.tsx
@@ -0,0 +1,27 @@
+export default function Header() {
+ return (
+
+ );
+}
diff --git a/components/Layout.tsx b/components/Layout.tsx
index 99192b5..5f6351f 100644
--- a/components/Layout.tsx
+++ b/components/Layout.tsx
@@ -1,4 +1,6 @@
-import type { ReactNode } from "react";
+import type { ReactNode } from 'react';
+import Footer from './Footer';
+import Header from './Header';
type LayoutProps = {
children: ReactNode;
@@ -6,10 +8,9 @@ type LayoutProps = {
export default function Layout({ children }: LayoutProps) {
return (
<>
-
- {children}
+
+ {children}
+
>
);
}
diff --git a/pages/index.tsx b/pages/index.tsx
index 7c3431c..c4401a6 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -1,10 +1,10 @@
-import { GetStaticProps } from "next";
-import { IdPMetadata } from "../types";
-import config from "../lib/env";
-import { fetchPublicKey } from "../utils";
-import React from "react";
-import Link from "next/link";
-import Head from "next/head";
+import { GetStaticProps } from 'next';
+import Head from 'next/head';
+import Link from 'next/link';
+import React from 'react';
+import config from '../lib/env';
+import { IdPMetadata } from '../types';
+import { fetchPublicKey } from '../utils';
export const getStaticProps: GetStaticProps = async () => {
const metadata: IdPMetadata = {
@@ -22,22 +22,20 @@ export const getStaticProps: GetStaticProps = async () => {
const Home: React.FC<{ metadata: IdPMetadata }> = ({ metadata }) => {
return (
-
+
Mock SAML IdP - Metadata
-
-
SSO URL
-
{metadata.ssoUrl}
-
Entity ID
-
{metadata.entityId}
-
Certificate
-
- {metadata.certificate}
-
+
+
SSO URL
+
{metadata.ssoUrl}
+
Entity ID
+
{metadata.entityId}
+
Certificate
+
{metadata.certificate}
- Download Metadata
+ Download Metadata