Skip to content

filip(fix): apply EAA amends #712

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ const config: Config = {
</defs>
</svg>`,
href: 'https://github.com/input-output-hk/cardano-documentation',
'aria-label': 'Github',
position: 'right',
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ type Props = {
theme?: string
url: string
index: number
altText
}

export const GridSectionEntry: React.FC<Props> = ({
Expand All @@ -52,6 +53,7 @@ export const GridSectionEntry: React.FC<Props> = ({
theme,
url,
index,
altText,
}) => (
<Link href={url} target="_blank">
<StyledEntry
Expand All @@ -66,7 +68,7 @@ export const GridSectionEntry: React.FC<Props> = ({
hidden: { opacity: 0, y: 100 },
}}
>
{imgSrc && <img src={useBaseUrl(imgSrc)} />}
{imgSrc && <img src={useBaseUrl(imgSrc)} alt={altText} />}
{text && <BrandText>{text}</BrandText>}
</StyledEntry>
</Link>
Expand Down
13 changes: 12 additions & 1 deletion src/components/Homepage/DocumentationWebsites/WebsitesGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const GridSection = styled.div`
}
`

const GridSectionHeading = styled.h4`
const GridSectionHeading = styled.span`
color: #1c1e21;

font-size: 16px;
Expand All @@ -50,12 +50,14 @@ const WebsitesGrid = () => (
color={'#F1F5FF'}
imgSrc={'assets/websites-grid/dev-portal.svg'}
url={'https://developers.cardano.org/'}
altText={'Cardano dev portal'}
index={0}
/>
<GridSectionEntry
color={'#F1F5FF'}
imgSrc={'assets/websites-grid/node-tests.svg'}
url={'https://tests.cardano.intersectmbo.org/'}
altText={'Cardano node tests'}
index={4}
/>
</GridSection>
Expand All @@ -66,24 +68,28 @@ const WebsitesGrid = () => (
color={'#F1F5FF'}
imgSrc={'assets/websites-grid/plinth.svg'}
url={'https://plutus.cardano.intersectmbo.org/docs/'}
altText={'Plinth docs'}
index={1}
/>
<GridSectionEntry
color={'#511CF7'}
imgSrc={'assets/websites-grid/marlowe.svg'}
url={'https://docs.marlowe.iohk.io/docs/introduction'}
altText={'Marlowe docs'}
index={5}
/>
<GridSectionEntry
color={'#25272E'}
imgSrc={'assets/websites-grid/aiken.png'}
url={'https://aiken-lang.org/'}
altText={'Aiken'}
index={8}
/>
<GridSectionEntry
color={'#F1F5FF'}
imgSrc={'assets/websites-grid/builder-tools.svg'}
url={'https://developers.cardano.org/tools/'}
altText={'Cardano dev portal builder tools'}
index={10}
/>
</GridSection>
Expand All @@ -96,12 +102,14 @@ const WebsitesGrid = () => (
}
imgSrc={'assets/websites-grid/hydra.svg'}
url={'https://hydra.family/head-protocol/'}
altText={'Hydra docs'}
index={2}
/>
<GridSectionEntry
color={'#000000'}
imgSrc={'assets/websites-grid/mythril.svg'}
url={'https://mithril.network/doc/'}
altText={'Mithril docs'}
index={6}
/>
</GridSection>
Expand All @@ -112,18 +120,21 @@ const WebsitesGrid = () => (
color={'#0128AA'}
text={'Intersect'}
url={'https://docs.intersectmbo.org/'}
altText={'Intersect docs'}
index={3}
/>
<GridSectionEntry
theme={'linear-gradient(90deg, #EAEFFD 0%, #FCF3F0 100%);'}
imgSrc={'assets/websites-grid/gov-tool.svg'}
url={'https://docs.gov.tools/'}
altText={'Cardano Gov tool docs'}
index={7}
/>
<GridSectionEntry
color={'rgba(42, 65, 232, 0.10)'}
imgSrc={'assets/websites-grid/catalyst.svg'}
url={'https://docs.projectcatalyst.io/'}
altText={'Project catalyst'}
index={9}
/>
</GridSection>
Expand Down
3 changes: 2 additions & 1 deletion src/components/Homepage/SectionSubHeading.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import * as React from 'react'
import styled from '@emotion/styled'

const SubHeading = styled.h4`
const SubHeading = styled.span`
${(props) => props.color && `color: ${props.color};`}
font-size: 1rem;
font-style: normal;
font-weight: 400;
line-height: 1.5rem;
justify-self: center;
margin: var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0;
`

const SectionSubHeading = (props) => (
Expand Down
1 change: 1 addition & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ body {
list-style-type: none;
padding: 1rem 0;
border-top: 1px solid #505660;
margin: 0;
}

.footer-bottom-links > .footer__item {
Expand Down
4 changes: 2 additions & 2 deletions src/theme/Footer/Layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function FooterLayout({ style, links, logo, copyright }) {
{(logo || copyright) && (
<div className="footer__bottom">{copyright}</div>
)}
<div className="footer-bottom-links">
<ul className="footer-bottom-links">
<li key={'bottom-1'} className="footer__item">
<FooterLinkItem
item={{
Expand All @@ -35,7 +35,7 @@ export default function FooterLayout({ style, links, logo, copyright }) {
}}
/>
</li>
</div>
</ul>
</div>
</Section>
</footer>
Expand Down