-
-
Notifications
You must be signed in to change notification settings - Fork 1
add snowflake widget #8
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request enhances the index.html layout by adding a Snowflake widget from Tor Project and improving the overall content structure for better responsiveness. The changes focus on embedding new functionality while maintaining clean code formatting.
- Added Snowflake widget iframe for Tor Project integration
- Restructured iframe layout with flex container for improved responsive design
- Enhanced code readability through better line formatting and attribute organization
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| referrerpolicy="no-referrer" allowfullscreen> | ||
| </iframe> | ||
| <iframe src="https://snowflake.torproject.org/embed.html" width="320" frameborder="0" class="kafel" | ||
| scrolling="no"></iframe> |
Copilot
AI
Oct 3, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Snowflake iframe is missing required accessibility attributes. Add a title attribute to describe the iframe's purpose for screen readers.
| scrolling="no"></iframe> | |
| title="Tor Snowflake proxy embed" scrolling="no"></iframe> |
| allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" | ||
| referrerpolicy="no-referrer" allowfullscreen> | ||
| </iframe> | ||
| <iframe src="https://snowflake.torproject.org/embed.html" width="320" frameborder="0" class="kafel" |
Copilot
AI
Oct 3, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The frameborder attribute is deprecated in HTML5. Use CSS border: none; instead or remove it since modern browsers default to no border.
| <iframe src="https://snowflake.torproject.org/embed.html" width="320" frameborder="0" class="kafel" | |
| <iframe src="https://snowflake.torproject.org/embed.html" width="320" class="kafel" |
| id="YouTubevideoplayer" frameborder="0" class="kafel" | ||
| allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" | ||
| referrerpolicy="no-referrer" allowfullscreen> | ||
| </iframe> | ||
| <iframe src="https://snowflake.torproject.org/embed.html" width="320" frameborder="0" class="kafel" |
Copilot
AI
Oct 3, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The frameborder attribute is deprecated in HTML5. Use CSS border: none; instead or remove it since modern browsers default to no border.
| id="YouTubevideoplayer" frameborder="0" class="kafel" | |
| allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" | |
| referrerpolicy="no-referrer" allowfullscreen> | |
| </iframe> | |
| <iframe src="https://snowflake.torproject.org/embed.html" width="320" frameborder="0" class="kafel" | |
| id="YouTubevideoplayer" class="kafel" | |
| allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" | |
| referrerpolicy="no-referrer" allowfullscreen> | |
| </iframe> | |
| <iframe src="https://snowflake.torproject.org/embed.html" width="320" class="kafel" |
This pull request updates the
index.htmllayout to improve content structure and add new features. The most significant changes include adding a new embedded iframe, improving the layout for responsiveness and clarity, and making minor code formatting improvements.Layout and Feature Enhancements:
id(YouTubevideoplayer) to the YouTube iframe and updated related CSS to target this ID for layout purposes. [1] [2]Code Formatting and Readability:
srcattributes. [1] [2]