Skip to content

Commit

Permalink
Merge pull request #12 from KeychainMDIP/index-update
Browse files Browse the repository at this point in the history
Iterative update to site index
  • Loading branch information
alexfornuto authored May 6, 2024
2 parents b86b41d + 68b6505 commit 2d786be
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 19 deletions.
9 changes: 4 additions & 5 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import remarkGithubAdmonitionsToDirectives from "remark-github-admonitions-to-di

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Keychain Documentation',
title: 'Keychain MDIP',
tagline: '',
favicon: 'img/favicon.ico',

Expand Down Expand Up @@ -73,21 +73,20 @@ const config = {
alt: 'My Site Logo',
src: 'img/logo.svg',
},*/
/*
items: [
{
type: 'docSidebar',
sidebarId: 'tutorialSidebar',
position: 'left',
label: 'Tutorial',
label: 'Documentation',
},
{to: '/blog', label: 'Blog', position: 'left'},
//{to: '/blog', label: 'Blog', position: 'left'},
{
href: 'https://github.com/KeychainMDIP/kc/tree/main/doc',
label: 'GitHub',
position: 'right',
},
],*/
],
},
footer: {
style: 'dark',
Expand Down
13 changes: 6 additions & 7 deletions src/components/HomepageFeatures/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,23 @@ const FeatureList = [
link: 'https://github.com/keychainmdip/kc'
},
{
title: 'Documentation',
title: 'MDIP Scheme',
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
description: (
<>
</>
),
link: '/docs'
link: '/docs/DID-scheme'
},
/*{
title: 'Powered by React',
{
title: 'User Manual',
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
description: (
<>
Extend or customize your website layout by reusing React. Docusaurus can
be extended while reusing the same header and footer.
</>
),
},*/
link: '/docs/CLI-user-manual'
},
];

function Feature({Svg, title, description, link}) {
Expand Down
24 changes: 19 additions & 5 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import HomepageFeatures from '@site/src/components/HomepageFeatures';

import Heading from '@theme/Heading';
import styles from './index.module.css';
import logo from '@site/static/img/keychain-logo.png'
import mdipLogo from '@site/static/img/mdip-logo.png'
import keychainLogoDark from '@site/static/img/keychain-logo-dark.png'


function HomepageHeader() {
Expand All @@ -15,17 +16,30 @@ function HomepageHeader() {
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<div className="container">
<Heading as="h1" className="hero__title">
<img src={logo} /><br/>
Multi Dimensional Identity Protocol
<img src={mdipLogo} style={{marginLeft: "-30px"}}/><br/>
MDIP
</Heading>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
<div className={styles.copy}>
MDIP stands for Multi Dimensional Identity Protocol.
It is an open-source protocol and W3C-compliant DID scheme,
designed to create an identity layer for the internet.
<br/>
With MDIP, entities on the internet (people, organizations, etc),
can create and manage individual aspects of their digital identity.
{/*<Link
className="button button--secondary button--lg"
to="/docs/intro">
Docusaurus Tutorial - 5min ⏱️
</Link>*/}
</div>
<br/>
<Heading as="h1" className="hero__title">
<img src={keychainLogoDark} style={{marginLeft: "-100px", transform: "scale(0.8)"}}/><br/>
</Heading>
<div className={styles.copy}>
Keychain is a proof of concept tool to demonstrate how the MDIP protocol can be used.
</div>
</div>
</header>
);
Expand All @@ -35,7 +49,7 @@ export default function Home() {
const {siteConfig} = useDocusaurusContext();
return (
<Layout
title={`Hello from ${siteConfig.title}`}
title={``}
description="Description will go into a meta tag in <head />">
<HomepageHeader />
<main>
Expand Down
9 changes: 8 additions & 1 deletion src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
position: relative;
overflow: hidden;
background-color: black;
color: #5375FF;
color: white;
}

@media screen and (max-width: 996px) {
Expand All @@ -23,6 +23,13 @@
justify-content: center;
}

.copy {
display: flex;
align-items: center;
justify-content: left;
color: white;
}

.main {
background-color: black;
}
Binary file added static/img/keychain-logo-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/mdip-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2d786be

Please sign in to comment.