lcrojano / Giphy_Explorer

Search any gif from Giphy API

Home Page:https://lcrojano.github.io/Giphy_Explorer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix github image

lcrojano opened this issue · comments

Issue Description:

The GitHub icon is not loading.

Possible Solution

To fix this issue, you can consider one of the following solutions:

Modify the image source from src="/assets/images/github-mark-white.png" to src="assets/images/github-mark-white.png" (remove the leading '/').
or

Update the image source to a direct path to the file, like this: GitHub Icon. you should use "https://raw.githubusercontent.com/username/repository/branch/path/to/file"

Please make the necessary adjustments to ensure the GitHub icon loads correctly.
Screenshot
image

This is intended to be a short issue.

Hi there, are you interested in working on this issue? @CapedCrusader

Hi @lcrojano assign it to me

@lcrojano added mr here #40

The GitHub icon is not being loaded because it is st up as a relative path.

Possible Solution

You could fix it by adding a direct path to the file: https://github.com/lcrojano/Giphy_Explorer/blob/main/assets/images/github-mark-white.png

Screenshot

image

@CapedCrusader

this url cant be used as a source

@r0ld3x my MR has the correct URL.

Hi! The pull request was created to help newcomers achieve their first commit for Hacktoberfest. It was specifically created for @CapedCrusader. If we don't receive a response or if no longer interested in solving this issue within a couple of days, we will accept the first pull request.

to fix the issue you could remove the "/"

<img src="/assets/images/github-mark-white.png" alt="GitHub">
to
<img src="assets/images/github-mark-white.png" alt="GitHub">

Also, I've created #42 so anyone can work on this new issue.

Hi! The pull request was created to help newcomers achieve their first commit for Hacktoberfest. It was specifically created for @CapedCrusader. If we don't receive a response or if no longer interested in solving this issue within a couple of days, we will accept the first pull request.

to fix the issue you could remove the "/"

<img src="/assets/images/github-mark-white.png" alt="GitHub">

to

<img src="assets/images/github-mark-white.png" alt="GitHub">

Also, I've created #42 so anyone can work on this new issue.

Sorry for the late reply @lcrojano yes i would love to work on this issue😇