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 Social Media Icons to Introduction Page #311

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Kgkunal
Copy link

@Kgkunal Kgkunal commented Sep 16, 2023

What type of PR is this?

/kind enhancement

What this PR does / why we need it:
This PR enhances the Introduction page of the SODA Foundation's documentation by adding social media icons (Twitter, Slack, LinkedIn, etc.) alongside the existing textual links. This improvement aims to provide a more visually appealing and user-friendly experience, allowing users to easily access the foundation's social media channels.

Which issue(s) this PR fixes:
Fixes #83

Test Report Added?:

/kind TESTED

Test Report:
Tested the changes locally by rendering the markdown file with the added icons and verified that the icons display correctly and link to the respective social media channels.

Test Preview:

image_2023-09-17_012803383

Special notes for your reviewer:
No special notes at this time.

@Kgkunal
Copy link
Author

Kgkunal commented Sep 16, 2023

Hi @rajat-soda and @anvithks,

I'd like to kindly request your review of this PR. It enhances the Introduction page of our documentation by adding social media icons for improved user experience. Your feedback and insights would be greatly appreciated.

Thank you in advance for taking the time to review.....

@anvithks
Copy link
Member

@Kgkunal This is how the page looks with your changes
image

You can check out the same in the deploy preview here

The alignment seems to be off. The logo size is very small as well. Could you try to fix these ?

@Kgkunal
Copy link
Author

Kgkunal commented Sep 17, 2023

Hi @anvithks,

Thank you for your feedback and for pointing out the alignment and logo size issues. I apologize for any inconvenience this may have caused.

I've taken your feedback into account, and I understand that the differences you observed between the VS Code preview and the deploy preview are due to the way the VS Code extension renders Markdown files versus how they appear in the deployed environment. VS Code may have some variations in rendering, and the deploy preview provides a more accurate representation of how the changes will appear on the actual website.

I appreciate your understanding and patience as we work to align the changes with the desired standards. I'll prioritize addressing the alignment and logo size issues to ensure they meet the requirements for the deployed site.

Once the adjustments are made, I will update the PR for your review.

@Kgkunal
Copy link
Author

Kgkunal commented Sep 17, 2023

@anvithks please guide me how can I check deployment preview of the page in my system. In my VSCode setup.. preview is different.

@anvithks
Copy link
Member

@anvithks please guide me how can I check deployment preview of the page in my system. In my VSCode setup.. preview is different.

Hey @Kgkunal to setup the documentation on your local environment you can run the ./install_local.sh script and follow the on screen instructions.

This script works on Ubuntu but you can setup the documentation on other OS by installing the pre-requistes.

  • Hugo
  • Learn theme for Hugo.

All of this is taken care by the install_local.sh script

@Kgkunal
Copy link
Author

Kgkunal commented Sep 19, 2023

@anvithks hello ,
I've resolved the alignment and icon size issues, and I've tested the changes locally. Everything looks good on my end, and the social media icons are rendering correctly. Please review and merge the PR at your earliest convenience.

Thank you.....

Preview :
image_2023-09-20_043113700

Copy link
Member

@anvithks anvithks left a comment

Choose a reason for hiding this comment

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

Thanks @Kgkunal.
Some minor review comments.
Please check.

- [SODA Twitter](https://twitter.com/sodafoundation)
- [SODA Mailing List](https://lists.sodafoundation.io)
- [SODA LinkedIn](https://www.linkedin.com/company/sodafoundation/)
<ul style="list-style: none; ">
Copy link
Member

Choose a reason for hiding this comment

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

Avoid using inline styles.
You can use classes and add custom styles to this file documentation/static/css/theme-opensds.css
This is the custom theme file that is being used for the website.

Copy link
Author

Choose a reason for hiding this comment

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

Thanks for the feedback! I'll make the changes you suggested to the theme-opensds.css file .

go.mod Outdated
@@ -1,3 +1,5 @@
module github.com/sodafoundation/documentation
Copy link
Member

Choose a reason for hiding this comment

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

No need to check in this file.

go.sum Outdated
@@ -0,0 +1,2 @@
github.com/soda-cdm/documentation v0.0.0-20230525043849-2b985763d78d h1:3xzxcT2yHfhVJWOvnVstPMU9lx3yzZ24RAojwVvHC6I=
Copy link
Member

Choose a reason for hiding this comment

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

No need to check in this file

Copy link
Member

Choose a reason for hiding this comment

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

Seems like this file is still checked in.
Since you had it pushed it to the fork already you will have to delete the file and push the changes again.

@@ -6,16 +6,18 @@ disableToc: false
---

## Introduction

Copy link
Member

Choose a reason for hiding this comment

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

Just trying to understand why the newline here and spaces throughout the document have been added.
Was it done by a prettifier plugin?

Copy link
Author

Choose a reason for hiding this comment

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

Yes, the newlines and spaces were added by a prettifier plugin automatically, and I wasn't aware of it. I'll ensure it's disabled to maintain the original formatting.

@Kgkunal
Copy link
Author

Kgkunal commented Sep 22, 2023

Hi @anvithks ,

I've made the requested changes in response to your feedback. Here's a summary of the updates:

  1. Removed inline styling for the social media links in the markdown file.
  2. Added classes to the links for external stylesheet styling.
  3. Removed the unnecessary go.mod file.
  4. Addressed the issue with newline characters and spaces throughout the document, which were not intentional.

I've tested these changes locally, and they appear to work as expected. Please review the updates and let me know if there are any additional changes or improvements needed.

Thank you for your guidance and feedback!

- [SODA Mailing List](https://lists.sodafoundation.io)
- [SODA LinkedIn](https://www.linkedin.com/company/sodafoundation/)
<ul class="social-list">
<li class="social-list-item"><a href="https://sodafoundation.io/the-foundation/join/"><i class="fas fa-globe"></i> SODA Website</a></li>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please make this link points to - https://www.sodafoundation.io/

Copy link
Member

Choose a reason for hiding this comment

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

@skdwriting I think the link was supposed to point to the Join page. May be the title of the link should be "Join SODA".
After all these links there is a line (line#113) which points to the SODA Website.

<li class="social-list-item"><a href="https://lists.sodafoundation.io"><i class="fas fa-envelope"></i> SODA Mailing List</a></li>
<li class="social-list-item"><a href="https://www.linkedin.com/company/sodafoundation/"><i class="fab fa-linkedin"></i> SODA LinkedIn</a></li>
</ul>

Copy link
Collaborator

Choose a reason for hiding this comment

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

We can also add a new link:
To know the introduction and how to contribute, you can refer SODA Starter

Copy link
Member

@anvithks anvithks left a comment

Choose a reason for hiding this comment

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

@Kgkunal please remove the go.mod and go.sum file and check in again. Please check @skdwriting comments as well.

- [SODA Mailing List](https://lists.sodafoundation.io)
- [SODA LinkedIn](https://www.linkedin.com/company/sodafoundation/)
<ul class="social-list">
<li class="social-list-item"><a href="https://sodafoundation.io/the-foundation/join/"><i class="fas fa-globe"></i> SODA Website</a></li>
Copy link
Member

Choose a reason for hiding this comment

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

@skdwriting I think the link was supposed to point to the Join page. May be the title of the link should be "Join SODA".
After all these links there is a line (line#113) which points to the SODA Website.

go.sum Outdated
@@ -0,0 +1,2 @@
github.com/soda-cdm/documentation v0.0.0-20230525043849-2b985763d78d h1:3xzxcT2yHfhVJWOvnVstPMU9lx3yzZ24RAojwVvHC6I=
Copy link
Member

Choose a reason for hiding this comment

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

Seems like this file is still checked in.
Since you had it pushed it to the fork already you will have to delete the file and push the changes again.

@Kgkunal
Copy link
Author

Kgkunal commented Oct 9, 2023

Hello @skdwriting and @anvithks ,

I hope you're doing well. I wanted to address the request to remove the go.mod and go.sum files in the pull request.

I attempted to remove these files as requested, and it resulted in all the checks failing. if there's a different approach you'd like me to take, please let me know.....

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.

Add Icon for Twitter / GitHub / Linked etc.. icons on Introduction page.
3 participants