Skip to content

Commit

Permalink
Added GitHub to home page.
Browse files Browse the repository at this point in the history
  • Loading branch information
merill committed Apr 3, 2024
1 parent d9cf42f commit b3b982e
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
6 changes: 6 additions & 0 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ img.rounded-corners {
}
}

.RightText {
padding-left: 40px;
}


@media only screen and (max-width: 960px) {
.CrossPlatform .TwoColumns {
grid-gap: 2rem;
Expand All @@ -151,6 +156,7 @@ img.rounded-corners {
margin: 0 auto;
text-align: center;
}

}

/* Section */
Expand Down
28 changes: 26 additions & 2 deletions website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,14 @@ Maester can be integrated with Azure DevOps Pipelines and scheduled to be run da
and when changes are introduced in your Microsoft 365 tenant.
<br/><br/>
<strong>Follow the step-by-step guide</strong> in the Maester docs to set up
an automation account with Workload Identify Federation (no more secrets or credential rotation!).`,
an automation account with Workload Identify Federation.`,
gitHub: `
Integrate Maester with GitHub Actions to continously monitor your tenant configuration.
<br/><br/>
<strong>Build an archive history</strong> of Maester test runs against your tenant with the native
workflow integration in Maester.
<br/><br/>
<strong>Use Workload Identify Federation</strong> for your automation account to connect to Microsoft Graph (no more secrets or credential rotation!).`,
codeExample: `
import React from 'react';
import {Text, View} from 'react-native';
Expand Down Expand Up @@ -134,7 +141,7 @@ export function Section({

function TextColumn({ title, text, moreContent }) {
return (
<div className="align-middle">
<div className="RightText">
<Heading2 text={title} />
<div dangerouslySetInnerHTML={{ __html: text }} />
{moreContent}
Expand All @@ -155,6 +162,22 @@ function TwoColumns({ columnOne, columnTwo, reverse }) {
);
}

function GitHub() {
return (
<Section className="CrossPlatform LeftImage">
<TwoColumns
reverse
columnOne={
<TextColumn title="Integrate with GitHub" text={textContent.gitHub} />
}
columnTwo={
<img alt="GitHub reports" src="img/home/github-maester-report.png" />
}
/>
</Section>
);
}

function AzureDevOps() {
return (
<Section className="CrossPlatform" background="tint">
Expand Down Expand Up @@ -206,6 +229,7 @@ export default function Home() {
<main>
<HomepageFeatures />
</main>
<GitHub />
<AzureDevOps />
<EmailAlert />
</Layout>
Expand Down
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 b3b982e

Please sign in to comment.