Skip to content

Commit

Permalink
Dev UI: Change some extension card links order
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Kruger <phillip.kruger@gmail.com>
  • Loading branch information
phillip-kruger committed Oct 8, 2024
1 parent 4140a17 commit a400e75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ CardPageBuildItem createCard(NonApplicationRootPathBuildItem nonApplicationRootP
.doNotEmbed()
.url("https://graphql.org/");

cardPageBuildItem.addPage(schemaPage);
cardPageBuildItem.addPage(uiPage);
cardPageBuildItem.addPage(schemaPage);
cardPageBuildItem.addPage(learnLink);

return cardPageBuildItem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ public CardPageBuildItem pages(NonApplicationRootPathBuildItem nonApplicationRoo

CardPageBuildItem cardPageBuildItem = new CardPageBuildItem();

cardPageBuildItem.addPage(Page.externalPageBuilder("Swagger UI")
.url(uiPath + "/index.html?embed=true", uiPath)
.isHtmlContent()
.icon("font-awesome-solid:signs-post"));

cardPageBuildItem.addPage(Page.externalPageBuilder("Schema yaml")
.url(schemaPath, schemaPath)
.isYamlContent()
Expand All @@ -38,11 +43,6 @@ public CardPageBuildItem pages(NonApplicationRootPathBuildItem nonApplicationRoo
.isJsonContent()
.icon("font-awesome-solid:file-code"));

cardPageBuildItem.addPage(Page.externalPageBuilder("Swagger UI")
.url(uiPath + "/index.html?embed=true", uiPath)
.isHtmlContent()
.icon("font-awesome-solid:signs-post"));

return cardPageBuildItem;
}

Expand Down

0 comments on commit a400e75

Please sign in to comment.