Skip to content

Commit

Permalink
feat: importing assets from the common theme (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
barjin authored Jan 9, 2023
1 parent 4aaeeac commit f3f7e31
Show file tree
Hide file tree
Showing 33 changed files with 3 additions and 181 deletions.
1 change: 1 addition & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,5 @@ module.exports = {
// ],
],
themeConfig: config.themeConfig,
staticDirectories: ['node_modules/@apify/docs-theme/static', 'static'],
};
4 changes: 2 additions & 2 deletions website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function Hero() {
</div>
<div className={clsx(styles.relative, 'col', 'col--5')}>
<div className={styles.logoBlur}>
<img src={require('../../static/img/logo-blur.png').default} className={clsx(styles.hideSmall)} />
<img src={useBaseUrl('/img/logo-blur.png')} className={clsx(styles.hideSmall)} />
</div>
<div className={styles.codeBlock}>
<CodeBlock className="language-bash">
Expand Down Expand Up @@ -251,7 +251,7 @@ function ActorExample() {
}

export default function Home() {
const SvgLogo = require('../../static/img/apify_logo.svg').default;
const SvgLogo = require('@apify/docs-theme/static/img/apify_logo.svg').default;
const { siteConfig } = useDocusaurusContext();
return (
<Layout
Expand Down
Binary file removed website/static/font/lota.woff
Binary file not shown.
Binary file removed website/static/font/lota.woff2
Binary file not shown.
Binary file removed website/static/img/API.png
Binary file not shown.
18 changes: 0 additions & 18 deletions website/static/img/apify_logo.svg

This file was deleted.

Binary file removed website/static/img/apify_og_SDK.png
Binary file not shown.
6 changes: 0 additions & 6 deletions website/static/img/apify_sdk.svg

This file was deleted.

6 changes: 0 additions & 6 deletions website/static/img/apify_sdk_white.svg

This file was deleted.

3 changes: 0 additions & 3 deletions website/static/img/arrow-right-light.svg

This file was deleted.

3 changes: 0 additions & 3 deletions website/static/img/arrow-right-primary-light.svg

This file was deleted.

3 changes: 0 additions & 3 deletions website/static/img/arrow-right-primary.svg

This file was deleted.

3 changes: 0 additions & 3 deletions website/static/img/arrow-right.svg

This file was deleted.

12 changes: 0 additions & 12 deletions website/static/img/cloud_icon.svg

This file was deleted.

3 changes: 0 additions & 3 deletions website/static/img/discord-brand-dark.svg

This file was deleted.

3 changes: 0 additions & 3 deletions website/static/img/discord-brand.svg

This file was deleted.

Loading

0 comments on commit f3f7e31

Please sign in to comment.