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 artist.css 404 and inquire form css #5060

Merged
merged 1 commit into from
Feb 15, 2020
Merged

Conversation

damassi
Copy link
Member

@damassi damassi commented Feb 15, 2020

Fixes longstanding 404 issue around artist.css. File didn't exist in assets since we build our css in a new way now in reaction via styled-components; however, our legacy pages expect an asset that matches the js file. This is no longer an issue in the new client-side-routing scheme of things.

Also, fixes the unstyled inquire form on artist page in client-side routing context by importing legacy inquire form css (built with backbone) into the main layout css file.

This is the only old .js I believe we're using in our new pages, but for reference I moved the file import from here to here. If we ever encounter the need to access old js in new pages and that js has an associated stylesheet we'll need to do something similar.

@damassi damassi self-assigned this Feb 15, 2020
@damassi damassi merged commit 2286c09 into artsy:master Feb 15, 2020
@damassi damassi deleted the fix-styles branch February 15, 2020 06:57
@artsy-peril artsy-peril bot mentioned this pull request Feb 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant