-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update meta info --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: LongPort wiki bot <[email protected]>
- Loading branch information
1 parent
713296e
commit 0bfc3b7
Showing
4 changed files
with
24 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; | ||
import Layout from "@theme/Layout"; | ||
import React, { FC } from "react"; | ||
import { translate } from "@docusaurus/Translate"; | ||
|
||
const ApplicationLayout: FC<{ children: React.ReactNode }> = ({ children }) => { | ||
const { siteConfig } = useDocusaurusContext(); | ||
return ( | ||
<Layout title={`${siteConfig.title}`} description="LongPort Wiki"> | ||
<Layout | ||
title={translate({ id: "meta_title" })} | ||
description={translate({ id: "meta_desc" })} | ||
> | ||
<div className="max-w-screen-xl m-auto px-4 md:px-0 wiki-article-content"> | ||
{children} | ||
</div> | ||
</Layout> | ||
) | ||
); | ||
}; | ||
export default ApplicationLayout; |