diff --git a/src/Restyled/Handlers/Home.hs b/src/Restyled/Handlers/Home.hs index cf9205af..4bf89953 100644 --- a/src/Restyled/Handlers/Home.hs +++ b/src/Restyled/Handlers/Home.hs @@ -8,6 +8,7 @@ import Restyled.Prelude import Restyled.Foundation import Restyled.Settings +import Restyled.Widgets.Job (githubActionsWarning) import Restyled.Yesod getHomeR :: Handler Html diff --git a/templates/homepage.hamlet b/templates/homepage.hamlet index ea30b1d0..fcddf25e 100644 --- a/templates/homepage.hamlet +++ b/templates/homepage.hamlet @@ -1,82 +1,2 @@ -
-

Restyled -

Nudge your team towards consistent coding style with every PR -

-

- Style is important. Any time there's more than one way to - do something in code, inconsistencies will creep in. Besides measurably - adding to the time it takes to read and comprehend code, inconsistent style - across a code base can hide bugs, often - very - bad - ones. - -

-

- Great tools exist for almost every language to automatically align code to a - defined style. Through editor integrations or git pre-commit hooks, a single - developer can give themselves a great work-flow for automatically dealing - with style. Doing this across a team, on the other hand, can be challenging. - -

- Restyled makes it easy to maintain, or transition to, a consistent coding - style across your entire organization by integrating directly into your - existing Pull Request process. - -

-

How it works -

- Open a Pull Request that changes files in one of our - many, many supported languages. - If it doesn't conform to your preferred style, a status check will fail and - point to another Pull Request where it's been restyled: - -

- - -

-

- Click through to see what tools corrected your style: - -

- - -

- Review the differences: - -

- - -

- And, if you like, merge them back into yours. - -

- - -

- Rejoice in your consistent style and green status! - -

- - -

-

Ready to try? - -