Skip to content

Commit

Permalink
Add data-page attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
lmuntaner committed Jul 9, 2024
1 parent a35512b commit 812c5c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/frontend/src/components/authenticateBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ const page = (slot: TemplateResult, landingPageTemplate: boolean = false) => {
const template = landingPageTemplate
? landingPage({
slot,
dataPage: "authenticate",
})
: mainWindow({
slot: html` <!-- The title is hidden but used for accessibility -->
Expand Down
2 changes: 2 additions & 0 deletions src/frontend/src/components/landingPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ import copyJson from "./landingPage.json";
*/
export const landingPage = ({
slot,
dataPage,
}: {
slot: TemplateResult;
dataPage: string;
}): TemplateResult => {
const i18n = new I18n();
const copy = i18n.i18n(copyJson);
Expand Down

0 comments on commit 812c5c7

Please sign in to comment.