Skip to content

Commit

Permalink
Smaller news fixes
Browse files Browse the repository at this point in the history
- Fix webview ingame returning 404
- Fix unlabelled graphics document in news pages
  • Loading branch information
SapiensAnatis committed Oct 9, 2024
1 parent fe92cca commit 5504d91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public DragaliaResult UrlList()
// new("time_attack_reward", this.GetUrl("timeattack/rewards/webview"));

// TODO: Remove hardcoding. Consider making URLs configurable?
AtgenWebviewUrlList news = new("information", this.GetUrl("webview/news/1"));
AtgenWebviewUrlList news = new("information", this.GetUrl("webview/news"));

return this.Ok(
new WebviewVersionUrlListResponse(
Expand Down
4 changes: 2 additions & 2 deletions Website/src/routes/(main)/news/pagination.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<div class="grid w-[20rem] grid-cols-5 items-center gap-3 self-center">
{#if currentPage > 1}
<Button variant="ghost" href={previousPagePath} class="col-span-2">
<ChevronLeft size="16" class="mr-2" />
<ChevronLeft size="16" class="mr-2" aria-hidden="true" />
Previous
</Button>
{:else}
Expand All @@ -35,7 +35,7 @@
{#if currentPage < numPages}
<Button variant="ghost" href={nextPagePath} class="col-span-2">
Next
<ChevronRight size="16" class="ml-2" />
<ChevronRight size="16" class="ml-2" aria-hidden="true" />
</Button>
{:else}
<span class="grid-cols-2" aria-hidden="true" />
Expand Down

0 comments on commit 5504d91

Please sign in to comment.