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

Added Footer Image and added community links #95

Merged
merged 5 commits into from
Jan 15, 2025

Conversation

samTime101
Copy link
Contributor

Added community links and Gnome Nepal Logo in footer of gnome docs

Changes on : docusaurus.config.js

preview

image

            items: [
              {
                label: "Discord",
                href: "https://discord.com/invite/tpsVFJN8WC",
              },
              {
                label: "Linkedin",
                href: "https://np.linkedin.com/company/gnomenepal",
              },
              {
                label: "Instagram",
                href: "https://www.instagram.com/gnomenepal/",
              },
            ],

Copy link

netlify bot commented Jan 11, 2025

👷 Deploy request for gnomenepal pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 4f8afd4

@utsavdotdev
Copy link
Collaborator

@samTime101, Can you change the GNOME Nepal logo with new one?
image

@samTime101
Copy link
Contributor Author

samTime101 commented Jan 14, 2025

@utsavdotdev, where is the new logo? which folder is it in or do i need to manually download the new logo?
This is what i have used

        logo:{
          alt:"Gnome Nepal logo",
          src :"../public/images/logo.png",
          href: "https://nepal.gnome.org/",
        },

@utsavdotdev
Copy link
Collaborator

Yes, You can download from above provided img
Make sure to add docs related image in /docusaurus/static/img folder

You docusaurus.config.js will look like this:

// code
 footer: {
        style: "dark",
        logo:{
          alt: "GNOME Nepal Logo",
          src: "img/logo.png",
          href: "https://nepal.gnome.org",
        },
// code

@samTime101
Copy link
Contributor Author

samTime101 commented Jan 14, 2025

So here are the changes

  • Added logo to static/img

Changes

        logo:{
          alt:"Gnome Nepal logo",
          src :"img/logo.png",
          href: "https://nepal.gnome.org/",
        },

Folder structure

docusaurus/static/
└── img
    ├── favicon.svg
    └── logo.png

1 directory, 2 files

Preview

image

@utsavdotdev
Copy link
Collaborator

@samTime101, Can you change the GNOME Nepal logo with new one? image

Can you use this logo instead of old one? You can download it from here

@samTime101
Copy link
Contributor Author

samTime101 commented Jan 14, 2025

Done , This is what its looking like with the new logo

image

@utsavdotdev utsavdotdev merged commit 99206fc into GNOME-Nepal:main Jan 15, 2025
@utsavdotdev
Copy link
Collaborator

Merged!, Thanks for the contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants