errose28 opened a new pull request, #72:
URL: https://github.com/apache/ozone-site/pull/72

   ## Description
   
   After [HDDS-9564](https://issues.apache.org/jira/browse/HDDS-9564) was 
merged, the social media preview on the staging site was still broken. The 
image would not show up and the website's tagline was not displayed.
   
   The social card was not displayed because the path to retrieve it is built 
from the `url` key in the docusaurus config, which was incorrectly set to 
`https://ozone.apache.org` instead of `https://ozone-site-v2.staged.apache.org` 
which did not match the staging domain the site is being hosted at.
   
   The tagline was not displayed due to incorrect javascript formatting in the 
homepage.
   
   See also HDDS-10313 to replace "redundant" with "reliable" which we can do 
after this is merged.
   
   ## Jira
   
   HDDS-100337
   
   ## Testing
   
   Modified the `url` config to http://localhost:300 and used [this browser 
plugin](https://chromewebstore.google.com/detail/social-media-link-preview/dlmoajpiphhokgbbfaiiekhlgpjnjfei)
 to test the preview. It looks like this:
   ![Screenshot 2024-02-08 at 2 27 25 
PM](https://github.com/apache/ozone-site/assets/33912936/dbb32af7-3c4f-4e76-babc-28dc72352d09)
   `localhost` in this image will be replaced with the website's staging domain 
when this is deployed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to