Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): rename public asset paths #333

Merged
merged 1 commit into from
Feb 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div align="center">
<a href="https://design.bigcommerce.com/components">
<img alt="BigDesign" src="https://bigcommerce.github.io/big-design/public/logo-with-text.svg" width="546">
<img alt="BigDesign" src="https://bigcommerce.github.io/big-design/logo-with-text.svg" width="546">
</a>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { StyledLogo } from './styled';
export const SideNavLogo: React.FC = () => (
<Link href="/GettingStarted/GettingStartedPage" as="/">
<StyledLogo>
<img src={`${process.env.URL_PREFIX}/public/logo-with-text.svg`} alt="BigDesign Logo" />
<img src={`${process.env.URL_PREFIX}/logo-with-text.svg`} alt="BigDesign Logo" />
</StyledLogo>
</Link>
);
2 changes: 1 addition & 1 deletion packages/docs/pages/GettingStarted/GettingStartedPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default () => {
return (
<Flex flexDirection="column">
<figure style={{ textAlign: 'center' }}>
<img src={`${process.env.URL_PREFIX}/public/logo.svg`} alt="BigDesign Logo" style={{ width: 200 }} />
<img src={`${process.env.URL_PREFIX}/logo.svg`} alt="BigDesign Logo" style={{ width: 200 }} />
</figure>

<FlexItem alignSelf="center">
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class MyApp extends App {
return (
<>
<Head>
<link rel="icon" type="image/png" href={`${process.env.URL_PREFIX}/public/favicon.png`}></link>
<link rel="icon" type="image/png" href={`${process.env.URL_PREFIX}/favicon.png`}></link>
<title>BigDesign</title>
</Head>
<style jsx global>
Expand Down