Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: updates SIL logo for keyman.com #463

Merged
merged 17 commits into from
Oct 10, 2024
Merged

Conversation

Meng-Heng
Copy link
Collaborator

@Meng-Heng Meng-Heng commented Aug 13, 2024

@Meng-Heng Meng-Heng added this to the A18S8 milestone Aug 13, 2024
@Meng-Heng Meng-Heng requested a review from mcdurdin August 13, 2024 07:36
@darcywong00
Copy link
Contributor

From the issue history

Changed my mind -- it is pretty straightforward to implement (in PHP probably) to render one of 5 images.

Is it possible to have the PHP randomize one of the 5 Logos?

@Meng-Heng
Copy link
Collaborator Author

Yes, I can do that.

@Meng-Heng
Copy link
Collaborator Author

I was looking into randomizing the logo on about.md page as well but I am not sure if it is possible. I will look into it until I got a definite answer.

@mcdurdin
Copy link
Member

I was looking into randomizing the logo on about.md page as well

It's possible in theory but probably not worth the effort 😁

@Meng-Heng
Copy link
Collaborator Author

Yes, thank you! 😄

Copy link
Member

@mcdurdin mcdurdin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking good -- I haven't done a full review but before I do I think we should make sure that the ImageRandomizer is in the shared repo (@darcywong00 can help with that)

cdn/dev/img/sil-logos-2024/sil-logo-abbysinica.png Outdated Show resolved Hide resolved
_includes/2020/ImageRandomizer.php Outdated Show resolved Hide resolved
@darcywong00 darcywong00 modified the milestones: A18S8, A18S9 Aug 17, 2024
}
}

?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This along with the png's will be removed once keymanapp/shared-sites#21 is approved and merged.

It will affect the use / require_once paths below too.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's now merged and available in shared-sites v0.9

If you change this line to v0.9

readonly BOOTSTRAP_VERSION=v0.8

and run ./build.sh configure, it should pull in the image randomizer.

Copy link
Collaborator Author

@Meng-Heng Meng-Heng Aug 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@darcywong00, do I only need to change the version, and keep everything else the same?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, just the version number

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

./build.sh configure means you can also remove the ImageRandomizer.php file and all the .png files on this PR.

@Meng-Heng Meng-Heng requested a review from darcywong00 August 29, 2024 06:01
about/index.md Outdated
@@ -14,7 +14,7 @@ Keyboard layouts are distributed through an open catalog to all major desktop an
## About SIL Global

<!--div style=style='float:left; margin: 0 16px 0 0'-->
![](/cdn/dev/img/sil-logo-blue-2017_1.png)
![](/cdn/dev/img/sil-logo-abbysinica-293-159.png)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These paths will now point to / _common/assets/... from keymanapp/shared-sites#21

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @darcywong00.
May I keep the current path? The logo from _common/assets/ is big
image

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

![](/cdn/dev/img/sil-logo-abbysinica-293-159.png)
image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My concern is having multiple copies of the logo making it hard to maintain.

I saw the footer is using width=50%. Maybe we just use HTML in the Markdown

<img id="sil-logo" src="/_common/assets/sil-logos-2024/sil-logo-abbysinica.png" width="50%" alt='SIL' />

@darcywong00 darcywong00 modified the milestones: A18S9, A18S10 Aug 31, 2024
@darcywong00 darcywong00 modified the milestones: A18S10, A18S11 Sep 14, 2024
@Meng-Heng Meng-Heng marked this pull request as draft September 16, 2024 06:41
@Meng-Heng Meng-Heng marked this pull request as ready for review September 20, 2024 01:58
@darcywong00 darcywong00 modified the milestones: A18S11, A18S12 Sep 28, 2024
@mcdurdin mcdurdin merged commit 655ccb4 into keymanapp:master Oct 10, 2024
2 checks passed
@Meng-Heng Meng-Heng deleted the sil-logos branch December 12, 2024 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore: update SIL logo on keyman.com and other sites
3 participants