Skip to content

Commit

Permalink
docs: console.log try to use fx (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppeeou authored Feb 6, 2025
1 parent f638dfa commit 75ade75
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ import styles from "./index.module.css";
function HomepageHeader() {
const { siteConfig } = useDocusaurusContext();

React.useEffect(() => {
console.log(
"%cHello FxTS!\n%cExperience the FxTS functions through `window._` in this console.",
"color: #8f52fa; font-weight: bold; font-size: 36px;",
"color: gray; font-size: 16px;",
);
}, []);

return (
<header className={clsx("hero hero--primary", styles.heroBanner)}>
<div className="container">
Expand Down

0 comments on commit 75ade75

Please sign in to comment.