Skip to content

Commit

Permalink
Fix home page images
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Wilson <[email protected]>
  • Loading branch information
cdwilson committed Jan 11, 2024
1 parent f8ae147 commit 329dcff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ const config = {
organizationName: 'golioth', // Usually your GitHub org/user name.
projectName: 'developer-training', // Usually your repo name.

staticDirectories: [
'static',
],

presets: [
[
'classic',
Expand Down
8 changes: 4 additions & 4 deletions website/src/components/HomepageFeatures.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const FeatureList = [
{
title: 'Learn About Golioth',
link: '/docs/golioth-exploration',
img: require('../../static/img/Golioth_logo_300x300.png').default,
img: require('@site/static/img/Golioth_logo_300x300.png').default,
description: (
<>
This guide is for Developers to understand the various features of
Expand All @@ -33,7 +33,7 @@ const FeatureList = [
{
title: 'Zephyr Training',
link: '/docs/zephyr-training',
img: require('../../static/img/Zephyr_logo_300x300.png').default,
img: require('@site/static/img/Zephyr_logo_300x300.png').default,
description: (
<>
Our users find that <a href='https://zephyrproject.org/'>Zephyr RTOS</a>{' '}
Expand All @@ -59,9 +59,9 @@ function Feature({ Svg, img, title, description, link }) {
alt='REST API Training'
sources={{
light:
require('../../static/img/API_Training_logo_300x300-coral.png')
require('@site/static/img/API_Training_logo_300x300-coral.png').default
.default,
dark: require('../../static/img/API_Training_logo_300x300.png')
dark: require('@site/static/img/API_Training_logo_300x300.png').default
.default,
}}
/>
Expand Down

0 comments on commit 329dcff

Please sign in to comment.