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

Proof of concept #154

Closed
wants to merge 2 commits into from
Closed

Conversation

mcruzdev
Copy link
Member

@mcruzdev mcruzdev commented Oct 9, 2024

No description provided.

@@ -57,6 +60,19 @@ public RoqGenerator(final Instance<Vertx> vertx, final RoqGeneratorConfig config
}

void onStart(@Observes StartupEvent ev) {
URL url = Thread.currentThread().getContextClassLoader()
.getResource("META-INF/resources/pages/about");
Copy link
Member Author

@mcruzdev mcruzdev Oct 9, 2024

Choose a reason for hiding this comment

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

@ia3andy, About the issue #145, here, we have the following output:

{#include page}

<h1>About Roq</h1>

<p>Roq stands out in the Java development community as a powerful static site generator, bridging the gap between the
  likes of Gatsby, Hugo, and the broader backend community.
  As Andy Damevin explains, while tools like Jekyll once filled this space, they’ve become outdated and cumbersome,
  especially with Ruby’s limitations.
  Roq offers a modern solution, leveraging Quarkus with no configuration needed, allowing developers to start quickly
  using Codestart and simply editing their site directory.
</p>
<p>With GitHub Actions support out-of-the-box, Roq is easy to use for beginners, but also flexible enough to provide
  Java hooks for advanced users.
</p>

  <p><b>This tool is a testament to how extensible and powerful Quarkus is, offering a low-risk
    yet highly capable platform that will evolve as demand grows.</b></p>


<h2>Credits</h2>

<code>Those are generated as a json by all-contributors then we leverage roq-data to print them... slick �!</code>

<p>Thanks goes to these wonderful people:</p>

<div class="contributors">
  {#for contributor in cdi:contributors.contributors}
  <article class="contributor">
    <div class="avatar">
      <img src="{contributor.avatar_url}" alt="{contributor.name}'s Avatar"/>
    </div>
    <div class="details">
      <h2 class="name">{contributor.name}</h2>
      <a href="{contributor.profile}" target="_blank" class="login">@{contributor.login}</a>
    </div>
  </article>
  {/for}
</div>

{/include}

@mcruzdev mcruzdev closed this Oct 31, 2024
Copy link

github-actions bot commented Oct 31, 2024

🙈 The PR is closed and the preview is expired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant