Skip to content

docs: bring in main site content to dev site #646

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

Merged
merged 24 commits into from
Jun 16, 2020
Merged

Conversation

lazd
Copy link
Member

@lazd lazd commented Mar 16, 2020

Description

This PR brings the dev site up to snuff with the content on the existing public site.

Screenshots

image

image

To-do list

  • If my change impacts other components, I have tested to make sure they don't break.
  • If my change impacts documentation, I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • Fixup layout differences
  • Add Adobe footer
  • Find a way to run JS on FastLoad
  • [ ] See if there is a less disgusting way to do code samples in Get Started page
  • Design review by Spectrum Team
    • Give screenshot a min/max height on Get started page
    • Dark theme for syntax highlighted colors
  • This pull request is ready to merge.

@jianliao jianliao added the documentation Because documentation is important and shouldn't be broken label Mar 23, 2020
@lazd
Copy link
Member Author

lazd commented May 11, 2020

@GarthDB any insight on the easiest way to add the Adobe footer here?

@jianliao
Copy link
Contributor

@lazd Did you resolve the adobe footer issue? If not, I can help.

@lazd
Copy link
Member Author

lazd commented May 18, 2020

@jianliao I did not, go ahead and push commits directly to this branch! Thank you!

@jianliao
Copy link
Contributor

jianliao commented May 18, 2020

@lazd Please check latest dev site build to see the footer. There are some options to customize the footer. Let me know if there is anything you want to change.

theme:{
    backgroundColor:'#FFFFFF',
    columnTitleColor: '#00FF00',
    linkColor: '#4B4B4B',
    linkHoverColor: '#2C2C2C',
    separatorColor: '',
    caretColor: ''
}

But you have to deploy the site to *.adobe.com to see the change.

@jianliao
Copy link
Contributor

@lazd I found that we need to move global footer out of the spectrum-Site-mainContainer as the footer script does not work well with fast-load. So I created a div with class spectrum-Site-footerContainer to wrapper the entire footer and move it out of the mainContainer. But I could not figure out how to make spectrum-Site-footerContainer display under the mainContainer. Please see my inline comment on components/site/index.css

@lazd
Copy link
Member Author

lazd commented May 19, 2020

Hmm @jianliao seeing the footer appear on the right side of the screen on the latest devsite docs
image

@lazd lazd marked this pull request as draft June 9, 2020 18:00
* also, fix search reference
* was staying around when switching from dark -> darkest -> light
@jianliao jianliao marked this pull request as ready for review June 16, 2020 17:50
@jianliao jianliao merged commit 12833ba into master Jun 16, 2020
@GarthDB GarthDB deleted the devsitemainsite branch June 16, 2020 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Because documentation is important and shouldn't be broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants