scoop-bucket icon indicating copy to clipboard operation
scoop-bucket copied to clipboard

Replace the Logo of Layer5 with Meshery in config.yml workflow

Open ShivangShandilya opened this issue 1 year ago • 7 comments

Description

Currently, we are using the Logo of Layer5 instead of Meshery. This repository is under the organization Meshery, so, there should be an image of Meshery.

How to resolve this

  • Go to .github and replace this welcome image with the new one:

  • Make sure to display the images conditionally, based on the theme selected by user. Here's the sample code:

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/GiorgosXou/Random-stuff/main/Programming/StackOverflow/Answers/70200610_11465149/w.png">
  <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/GiorgosXou/Random-stuff/main/Programming/StackOverflow/Answers/70200610_11465149/b.png">
  <img alt="Meshery Logo" src="">
</picture>

New images are:

image

image

  • Download these images, and upload with an appropriate name. Make sure to use conditional rendering as described above.

  • After uploading the image, and removing the previous image, go to .github/config.yml folder and update the reference to previous image to the new image in the following part:

firstPRMergeComment: >
  Thanks for your contribution to the Layer5 and Meshery community! :tada:
   
  ![Congrats!](https://raw.githubusercontent.com/meshery/meshery.io/master/.github/welcome/Layer5-celebration.png)
  &nbsp; &#9; &nbsp; &#9;  &nbsp; &#9;  &nbsp; &#9; :star: Please leave a [star on the project](../stargazers). :smile:

Here, replace ![Congrats!](https://raw.githubusercontent.com/meshery/meshery.io/master/.github/welcome/Layer5-celebration.png) with the code

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/GiorgosXou/Random-stuff/main/Programming/StackOverflow/Answers/70200610_11465149/w.png">
  <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/GiorgosXou/Random-stuff/main/Programming/StackOverflow/Answers/70200610_11465149/b.png">
  <img alt="Shows a black logo in light color mode and a white one in dark color mode." src="https://user-images.githubusercontent.com/25423296/163456779-a8556205-d0a5-45e2-ac17-42d089e3c3f8.png">
</picture>

make sure to change the image sources with the path to image in the folder where you upload it.

  • That's it.

ShivangShandilya avatar Apr 12 '23 14:04 ShivangShandilya

@ShivangShandilya Can you assign this task to me??

Layak-Ali avatar Aug 24 '23 17:08 Layak-Ali

go ahead @Layak-Ali :rocket:

ShivangShandilya avatar Aug 24 '23 17:08 ShivangShandilya

@ShivangShandilya Am i supposed to change the following in meshery.io repo? because i can't find any config.yml file here. I am just starting out so i don't know how this works.

Layak-Ali avatar Aug 24 '23 17:08 Layak-Ali

Hey @ShivangShandilya this issue was closed ?

harish343 avatar Aug 31 '23 07:08 harish343

Hey @ShivangShandilya ! Is anyone working on this issue?

Adarsh-jaiss avatar Oct 11 '23 20:10 Adarsh-jaiss

  • Hey @leecalcote, I couldn't find the .github/config.yml file. Should I create a new config.yaml file? if yes, then can you please provide me a reference to which config.yaml file to use?

Adarsh-jaiss avatar Apr 13 '24 12:04 Adarsh-jaiss

See the meshery/meshery repo as a source from which to copy.

leecalcote avatar Apr 13 '24 12:04 leecalcote