Comments (5)
This background image link is giving a 404 error :
The issue is closed. Do you need help ?
from react-coming-soon-template.
This background image link is giving a 404 error :
The issue is closed. Do you need help ?
Sorry my bad, should be not closed. Yes I also see the 404. Do you have any idea why?
from react-coming-soon-template.
Let me take this up
from react-coming-soon-template.
The issue is that the image is referenced as:
https://arrlancore.github.io/static/bg-coming-soon-8c63f78b338c490c72be7355de424730.jpeg
This links to the following where you will see that it does not include the repo (react-coming-soon-template):
https://arrlancore.github.io/static/bg-coming-soon-8c63f78b338c490c72be7355de424730.jpeg
You will see that the image is at the following address:
https://arrlancore.github.io/react-coming-soon-template/static/bg-coming-soon-8c63f78b338c490c72be7355de424730.jpeg
The filepath needs a period (.) in the front which will then correctly add the repo to the URL:
background-image: url(./static/bg-coming-soon-8c63f78b338c490c72be7355de424730.jpeg);
You will then see the image is correctly referenced. Imgur link
Be careful of when you develop locally as GitHub Pages will always add your repo name (github.io/name/repo/index.html) whereas when you develop locally on something such as LiveServer (VSCode Extension), it is going to have a root address such as 192.168.1.10/index.html
. Adding a period .
at the start of the path should solve this for you moving forward.
from react-coming-soon-template.
Thanks all for sugesting, try using netlify and the issue solved. Now we build on https://react-coming-soon-template.netlify.com/
from react-coming-soon-template.
Related Issues (15)
- Readme.md still not informative, add more knowledgeable HOT 3
- Add social media icon HOT 3
- Add new props "time" for countdown timer component HOT 2
- Add feature auto sliding image for the background HOT 4
- Add how to deploy steps HOT 1
- Github pages not load timer count down HOT 2
- Countdown timer feature HOT 3
- Add documentation how to build on netlify at readme
- Use react particleJs HOT 5
- Configurable background image HOT 3
- Unit testing for timer component
- Connect form to mailchimp HOT 2
- Testing script
- Build static site HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-coming-soon-template.