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

Replacing app center #52

Merged
merged 9 commits into from
Feb 21, 2025
33 changes: 19 additions & 14 deletions components/Markdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,20 +66,25 @@ export default function Markdown({children}) {
)
},
img: ({src, alt, ...props}) => (<img src={src} alt={alt} style={{width: "100%"}} {...props}/>),
table: ({children}) => (<Table tableStyle='solid-borders'
style={{
'borderCollapse': 'collapse',
'marginBottom': '5%',
'marginLeft': '5%',
'marginRight': '5%',
'fontSize': '18px'
}}
align='center'>{children}</Table>),
thead: ({children}) => (<Table.Thead style={{'color': 'black'}}>{children}</Table.Thead>),
tbody: ({children}) => (<Table.Tbody>{children}</Table.Tbody>),
tr: ({children}) => (<Table.Row style={{'borderBottom': '1px solid #000'}}>{children}</Table.Row>),
td: ({children}) => (<Table.Cell>{children}</Table.Cell>),
th: ({children}) => (<Table.Cell>{children}</Table.Cell>),
table: ({children, className}) => {
return (
<Table tableStyle='solid-borders' className={className}
style={{
'borderCollapse': 'collapse',
'marginBottom': '5%',
'marginLeft': '5%',
'marginRight': '5%',
'fontSize': '18px'
}}
align='center'>{children}
</Table>
);
},
thead: ({children, style}) => (<Table.Thead style={{'color': 'black', ...style}}>{children}</Table.Thead>),
tbody: ({children, style}) => (<Table.Tbody style={style}>{children}</Table.Tbody>),
tr: ({children, style}) => (<Table.Row style={{'borderBottom': '1px solid #000', ...style}}>{children}</Table.Row>),
td: ({children, style}) => (<Table.Cell style={style}>{children}</Table.Cell>),
th: ({children, style}) => (<Table.Cell style={style}>{children}</Table.Cell>),

}}
/>
Expand Down
5 changes: 5 additions & 0 deletions pages/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,9 @@ body > div {

.Card-module__Card .Card-module__content {
padding: 30px 0;
}
.Text-module__u-font-body {
font-size: 1rem;
line-height: 1.5rem;
margin: 0.5rem;
}
Binary file added public/images/replacing-app-center-adr.png

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you link to the actual ADR rather than just presenting it as an image? There are links and things mentioned in the ADR for example which you might wish to click through to.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading