Question about Static

brianh ・

Oct 14th, 2023 01:28 PM

Hi Guys,

Really enjoying Static and exploring all it has to offer.

I do, as always, have a really dumb question. I am trying to change the logo of the Stone theme to my own logo.

Here is what I have changed in the header.html under includes>header.html

        <div class="flex">
            <a href="/" class="rounded-md focus-visible:outline-primary-950 dark:group-focus-visible:outline-primary-200 focus-visible:outline focus-visible:outline-2">
                <img class="w-auto h-8" width="65" height="40" :src="$store.theme.isDark ? '/assets/images/brm-white.svg' : '/assets/images/brm-black.svg'" alt="Stone" />

The problem is that this does not work and I get 404 not found in the console.

What is the process here?

brianh ・

Oct 15th, 2023 04:08 AM


Best Answer

Sort of figured it out.

You have to hard reload the dev environment. Close your terminal that you used to run static dev and rerun the command in a new terminal in the folder or your IDE.

bobbyiliev ・

Oct 16th, 2023 01:08 AM

Hey Brian,

Hope you had a nice weekend!

Thank you for reporting that! We'll look into this and see if we could replicate this and possibly improve the user experience!

Let us know if anything else pops up!

brianh ・

Oct 16th, 2023 10:59 AM

Hey Bobby!

Had a great weekend thanks! South Africa beat France so I had an amazing time. Hope all is well your side.

Will keep my eye out. Had a few odd issues here or there but still taking a look to see if it is me or an actual issue.