fix build error #5

Merged
luyen.vo merged 1 commits from fix-build into develop 2025-07-29 19:01:00 +08:00
8 changed files with 3 additions and 111 deletions

View File

@ -19,7 +19,7 @@ This command starts a local development server and opens up a browser window. Mo
## Build ## Build
```bash ```bash
npm build npm run build
``` ```
This command generates static content into the `build` directory and can be served using any static contents hosting service. This command generates static content into the `build` directory and can be served using any static contents hosting service.

View File

@ -158,7 +158,7 @@ Cross-studio projects demand tight coordination, aligned pipelines, and early QA
![gow](./img/gow.png) ![gow](./img/gow.png)
**🏆 Studio:** Santa Monica Studio **🏆 Studio:** Santa Monica Studio\
**🎨 Topic:** Cross-departmental cohesion and long-term planning **🎨 Topic:** Cross-departmental cohesion and long-term planning
**📝 Summary:** **📝 Summary:**
@ -180,7 +180,7 @@ A strong unifying vision and proactive collaboration between disciplines allow f
![sandfall](./img/sandfall.png) ![sandfall](./img/sandfall.png)
**🎮 Studio:** Sandfall Interactive **🎮 Studio:** Sandfall Interactive\
**👥 Topic:** Team-first approach to pre-production and creative alignment **👥 Topic:** Team-first approach to pre-production and creative alignment
**📝 Summary:** **📝 Summary:**

Binary file not shown.

Before

Width:  |  Height:  |  Size: 417 KiB

After

Width:  |  Height:  |  Size: 360 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 440 KiB

After

Width:  |  Height:  |  Size: 290 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 427 KiB

After

Width:  |  Height:  |  Size: 393 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 559 KiB

After

Width:  |  Height:  |  Size: 435 KiB

View File

@ -42,27 +42,8 @@ const config: Config = {
{ {
docs: { docs: {
sidebarPath: './sidebars.ts', sidebarPath: './sidebars.ts',
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
routeBasePath: '/', // Set to '/' to serve docs at the root URL routeBasePath: '/', // Set to '/' to serve docs at the root URL
}, },
blog: {
showReadingTime: true,
feedOptions: {
type: ['rss', 'atom'],
xslt: true,
},
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
// Useful options to enforce blogging best practices
onInlineTags: 'warn',
onInlineAuthors: 'warn',
onUntruncatedBlogPosts: 'warn',
},
theme: { theme: {
customCss: './src/css/custom.css', customCss: './src/css/custom.css',
}, },
@ -80,51 +61,6 @@ const config: Config = {
src: 'img/mercury-logo.png', src: 'img/mercury-logo.png',
} }
}, },
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Tutorial',
to: '/docs/intro',
},
],
},
{
title: 'Community',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
},
{
label: 'Discord',
href: 'https://discordapp.com/invite/docusaurus',
},
{
label: 'X',
href: 'https://x.com/docusaurus',
},
],
},
{
title: 'More',
items: [
{
label: 'Blog',
to: '/blog',
},
{
label: 'GitHub',
href: 'https://github.com/facebook/docusaurus',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
},
prism: { prism: {
theme: prismThemes.github, theme: prismThemes.github,
darkTheme: prismThemes.dracula, darkTheme: prismThemes.dracula,

View File

@ -1,44 +0,0 @@
import type {ReactNode} from 'react';
import clsx from 'clsx';
import Link from '@docusaurus/Link';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
import HomepageFeatures from '@site/src/components/HomepageFeatures';
import Heading from '@theme/Heading';
import styles from './index.module.css';
function HomepageHeader() {
const {siteConfig} = useDocusaurusContext();
return (
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<div className="container">
<Heading as="h1" className="hero__title">
{siteConfig.title}
</Heading>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="/docs/intro">
Docusaurus Tutorial - 5min
</Link>
</div>
</div>
</header>
);
}
export default function Home(): ReactNode {
const {siteConfig} = useDocusaurusContext();
return (
<Layout
title={`Hello from ${siteConfig.title}`}
description="Description will go into a meta tag in <head />">
<HomepageHeader />
<main>
<HomepageFeatures />
</main>
</Layout>
);
}