summaryrefslogtreecommitdiff
path: root/web-ui/src/common
diff options
context:
space:
mode:
authorAnike Arni <aarni@thoughtworks.com>2017-02-16 18:51:26 -0200
committerAnike Arni <aarni@thoughtworks.com>2017-02-16 18:51:26 -0200
commit957599ae01687d6b3d02a3c34fdbe2ac6bd920f9 (patch)
tree7612fa7cfd33bd9657bce0eb9e8db47b076cedcc /web-ui/src/common
parent64780114ae90bb890d3ffa0a9aebe4686c6b74d3 (diff)
[#907] Bundles login static files separately
Due to conflicts with public and protected urls, login and interstitial files have to be on a different public url from inbox and resources that require login. Therefore, here, we delegate that logic to webpack. Now we have a '/public' url and a '/assets' url for those static assets.
Diffstat (limited to 'web-ui/src/common')
-rw-r--r--web-ui/src/common/footer/footer.js2
-rw-r--r--web-ui/src/common/header/header.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/web-ui/src/common/footer/footer.js b/web-ui/src/common/footer/footer.js
index 254a19f7..c2138c21 100644
--- a/web-ui/src/common/footer/footer.js
+++ b/web-ui/src/common/footer/footer.js
@@ -22,7 +22,7 @@ import './footer.scss';
export const Footer = ({ t }) => (
<footer className='footer-wrapper'>
<div className='footer-content'>
- <img className='footer-image' src='/assets/images/lab.svg' alt='' />
+ <img className='footer-image' src='/public/images/lab.svg' alt='' />
<div>
{t('footer-text')}
<a className='footer-link' href='mailto:team@pixelated-project.org'>
diff --git a/web-ui/src/common/header/header.js b/web-ui/src/common/header/header.js
index 9e5f6bc7..50c863b5 100644
--- a/web-ui/src/common/header/header.js
+++ b/web-ui/src/common/header/header.js
@@ -25,7 +25,7 @@ export const Header = ({ t }) => (
<a href='/'>
<img
className='header-logo'
- src='/startup-assets/pixelated-logo-orange.svg'
+ src='/public/images/logo-orange.svg'
alt='Pixelated'
/>
</a>