Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove password, add legal section #29

Merged
merged 1 commit into from
Mar 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 42 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const config = {
position: 'left',
items: [
{
label: 'Swift Wallet SDK',
label: 'Wallet SDK Swift',
href: 'https://swift-docs.atalaprism.io/',
},
{
Expand Down Expand Up @@ -166,9 +166,48 @@ const config = {
to: '/tutorials',
},
],
}
},
{
title: 'APIs',
items: [
{
label: 'Agent API',
to: '/agent-api',
},
{
label: 'Enterprise API',
to: '/enterprise-api',
},
],
},
{
title: 'SDKs',
items: [
{
label: 'Wallet SDK Swift',
href: 'https://swift-docs.atalaprism.io/',
},
{
label: 'Wallet SDK TypeScript',
to: '/wallet-sdk-ts',
},
],
},
{
title: 'Legal',
items: [
{
label: 'Terms and Conditions',
href: 'https://static.iohk.io/terms/iohktermsandconditions.pdf',
},
{
label: 'Privacy policy',
href: 'https://static.iohk.io/terms/iog-privacy-policy.pdf',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Atala PRISM V2.`,
copyright: `Copyright © ${new Date().getFullYear()} IOHK.`,
},
prism: {
theme: lightCodeTheme,
Expand Down
3 changes: 0 additions & 3 deletions infra/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@ COPY ./infra/website/ /usr/share/nginx/html
RUN rm /etc/nginx/conf.d/default.conf
COPY ./infra/nginx/nginx.conf /etc/nginx/conf.d

# password file for basic authentication
COPY ./infra/nginx/htpasswd /etc/nginx/htpasswd

EXPOSE 80
1 change: 0 additions & 1 deletion infra/nginx/htpasswd

This file was deleted.

2 changes: 0 additions & 2 deletions infra/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ server {
listen 80;

location / {
auth_basic "Prism V2 Docs";
auth_basic_user_file /etc/nginx/htpasswd;
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
Expand Down
8 changes: 1 addition & 7 deletions src/components/HomepageFeatures/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import styles from './styles.module.css';
const FeatureList = [
{
title: 'Decentralization',
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
description: (
<>
Designed to allow individuals to take control
Expand All @@ -16,7 +15,6 @@ const FeatureList = [
},
{
title: 'Interoperability',
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
description: (
<>
Enables users to easily access a wide range of services
Expand All @@ -28,7 +26,6 @@ const FeatureList = [
},
{
title: 'Security and Privacy',
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
description: (
<>
Provides strong protection for users' personal information
Expand All @@ -40,12 +37,9 @@ const FeatureList = [
},
];

function Feature({Svg, title, description}) {
function Feature({title, description}) {
return (
<div className={clsx('col col--4')}>
<div className="text--center">
<Svg className={styles.featureSvg} role="img" />
</div>
<div className="text--center padding-horiz--md">
<h3>{title}</h3>
<p>{description}</p>
Expand Down