StreetCommunityProgrammer / metaphore

Story as Code. Public Collections of Metaphore our Freestyler accross the world. Gain knowledge with unusual perspective from our Punk members.
https://metaphore.vercel.app
GNU General Public License v3.0
26 stars 5 forks source link

Add Go language and new story template link to language page #38

Closed darkterminal closed 1 year ago

darkterminal commented 1 year ago

πŸ““ What Your Metaphor

This PR (pull request) appears to be adding a new programming language (Go) to the list of languages in the Metaphore web application. Specifically, it adds a new JavaScript file, data.js, to the src/components/quotes directory, which contains an array of quotes about Go. It also adds a new case to the switch statement in the quotePicker.js file, so that when the language parameter is set to 'golang', it returns the array of Go quotes from the new data.js file. Finally, it adds a reference to the golang array in the RandomQuote component in the index.js file for the language page, allowing for Go quotes to be displayed on the page.

Additionally, the PR includes an update to the message displayed when there are no stories available for a particular language. The new message includes a link to create a new story template for the given language, which is directed to GitHub.

βœ”οΈ Check List (Check all the applicable boxes)

πŸ“· What Your Punk Signature?

image Go/Golang Stories

image the message displayed when there are no stories available for a particular language.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated
metaphore βœ… Ready (Inspect) Visit Preview πŸ’¬ Add your feedback Mar 24, 2023 at 1:30PM (UTC)
github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.2.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: