Coder Social home page Coder Social logo

Comments (2)

samuelsycamore avatar samuelsycamore commented on July 18, 2024 2

Thanks for reporting this @nipunHabilelabs! I did some digging and discovered that the random Unsplash photo URL is no longer functional.

backgroundImage: 'url(https://source.unsplash.com/random?wallpapers)',

I found this reddit comment that explains what happened:

Thank you for reaching out to us about source.unsplash.com! We do want to let you know that source.unsplash.com was created before the Unsplash API. Unfortunately, Unsplash no longer provides any support for source.unsplash.com. We only left up this option for legacy developers who had been using source.unsplash.com before the Unsplash API was created. If you plan to use Unsplash images, it can only be through the Unsplash API since that is all we support at this time.

The blog template which also uses the random photo URL is also busted: https://mui.com/material-ui/getting-started/templates/blog/

So it appears that this is no longer a viable option for inserting random photos into the templates. I think adding API calls for this purpose is unnecessary. The templates are currently getting a complete overhaul but it's still not a good look for these to be broken. I guess the simplest solution would be to just hardcode some Unsplash photo URLs that look nice, and update the screenshots on the Templates page accordingly. @danilo-leal what do you think?

from material-ui.

danilo-leal avatar danilo-leal commented on July 18, 2024 2

I agree, yeah! Regarding the sign-in side, specifically, @zanivan tackled this already; just waiting to resolve the tests there so we can merge the fix. Maybe it'd also be good to fix the blog in the meantime, too. This issue is also actually a dupe of #42649 😃 So, closing this one in favor of the first.

from material-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.