-
Notifications
You must be signed in to change notification settings - Fork 260
Adding Info Page for Community Channels #616
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
Open
omsuneri
wants to merge
19
commits into
sugarlabs:master
Choose a base branch
from
omsuneri:InfoPage-Channel
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
72c5118
Adding Info Page for Community Channels
omsuneri d7503de
removing the css of community page from airspace
omsuneri 838a832
Adding CSS of the Community page
omsuneri 2905893
removing unwanted images
omsuneri 6c47327
removing unwanted images
omsuneri de2efa5
removing unwanted images
omsuneri 0513b0a
removing unwanted images
omsuneri af3ea97
removing unwanted images
omsuneri 3014457
Elements create account interface
omsuneri f65b098
Discord create account interface
omsuneri 0448257
Discord create account interface
omsuneri 9aab731
Creating Chat with the community page
omsuneri 3c44a02
connecting the footer with the community page
omsuneri 55580bf
removing the counter js script
omsuneri 332d7b8
Merge branch 'master' into InfoPage-Channel
omsuneri da95aba
Merge branch 'master' into InfoPage-Channel
omsuneri c575929
changing the footer link title
omsuneri 83bf561
CHANGING THE HEADLINE
omsuneri f2ab0a4
Update airspace.css
omsuneri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
omsuneri marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,94 @@ | ||
| --- | ||
| layout: default | ||
| title: Music Blocks - Sugar Labs | ||
| permalink: /chat-with-us-on-matrix/index.html | ||
| --- | ||
| <!-- Title section --> | ||
| <div class="section-title1" > | ||
| <span class="tag tag-regular">Join the Community</span> | ||
| </div> | ||
|
|
||
| <!-- Matrix Elements --> | ||
| <section id="testimonial" class="zeroMarPadBtm"> | ||
| <div class="container"> | ||
| <div class="row"> | ||
| <div class="col-md-12" > | ||
| <div class="row justify-content-center"> | ||
| <div class="col-md-8 col-md-push-2" > | ||
| <div class="section-title text-center"> | ||
| <h2>SUGARLABS ON MATRIX ELEMENTS</h2> | ||
omsuneri marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <br> | ||
| <p class="customParagraphStyle">Element is a secure messaging and collaboration application built on the Matrix protocol, an open standard for decentralized communication. It offers end-to-end encryption, ensuring that conversations remain private and secure. Element supports features such as group chats, file sharing, voice and video calls, and integrates with various other communication platforms through bridging. It's available as a web application and has desktop versions for Windows, macOS, and Linux, as well as mobile apps for Android and iOS.</p> | ||
| <br><a class="join-mat" href="https://matrix.to/#/#sugar:matrix.org" target="_blank">Join us on Matrix</a> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </section> | ||
| <!-- Discord --> | ||
| <section id="testimonial" class="zeroMarPadBtm"> | ||
| <div class="container"> | ||
| <div class="row"> | ||
| <div class="col-md-12" > | ||
| <div class="row justify-content-center"> | ||
| <div class="col-md-8 col-md-push-2" > | ||
| <div class="section-title text-center"> | ||
| <h2>SUGARLABS ON DISCORD</h2> | ||
omsuneri marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <br> | ||
| <p class="customParagraphStyle">Discord is a popular communication platform that combines the features of chat lobbies, message boards, and VoIP chat systems. It allows users to create and join servers—dedicated spaces for communities or groups—where they can participate in text channels, voice calls, video calls, and share media and files. While Discord provides various privacy settings and safety features, concerns have been raised about data collection and user privacy. The platform collects user data, including messages and IP logs, which are retained for up to two years.</p> | ||
| <br><a class="join-mat" href="https://discord.com/channels/1078051575580336249/1078051576284975226" target="_blank">Join us on Discord</a> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </section> | ||
|
|
||
| <!-- Slideshow --> | ||
| <section id="intro" class="zeroMarPadBtm"> | ||
| <div class="container" > | ||
| <div class="row"> | ||
| <div class="col-md-12" > | ||
| <div class="row justify-content-center"> | ||
| <div class="col-md-8 col-md-push-2"> | ||
| <div class="testimonial-carousel"> | ||
| <div id="testimonial-slider1" class="owl-carousel"> | ||
| <div> | ||
| <img src="{{ site.baseurl }}/assets/chat1.png" alt="Sugarlabs Community Channel" class="customImageStyle"> | ||
| </div> | ||
| <div> | ||
| <img src="{{ site.baseurl }}/assets/chat2.png" alt="Sugarlabs Community Channel" class="customImageStyle"> | ||
| </div> | ||
| <div> | ||
| <img src="{{ site.baseurl }}/assets/chat3.png" alt="Sugarlabs Community Channel" class="customImageStyle"> | ||
| </div> | ||
| <div> | ||
| <img src="{{ site.baseurl }}/assets/chat4.png" alt="Sugarlabs Community Channel" class="customImageStyle"> | ||
| </div> | ||
| <div> | ||
| <img src="{{ site.baseurl }}/assets/chat5.png" alt="Sugarlabs Community Channel" class="customImageStyle"> | ||
| </div> | ||
|
|
||
| </div> | ||
| </div> | ||
| </div> | ||
| <br><p style="text-align: center;">Sugarlabs Community channel on <a href ="https://matrix.to/#/#sugar:matrix.org">Matrix Elements</a> and <a href ="https://discord.com/channels/1078051575580336249/1078051576284975226">Discord</a>.</p> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </section> | ||
|
|
||
| <!-- "Return to main page" --> | ||
| <section id="call-to-action"> | ||
| <div class="container"> | ||
| <div class="row"> | ||
| <div class="col-md-12" > | ||
| <a href="{{ site.baseurl }}/" ><button type="button" class="btn bt-raised btn-custom bt lastButtonMargin" >Return to main page</button></a> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </section> | ||
omsuneri marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2778,6 +2778,28 @@ font-size:30px; | |
| top:0.1em; | ||
| color: #fff !important; | ||
| } | ||
| .join-mat { | ||
| display:inline-block; | ||
| padding:0.7em 1.4em; | ||
| margin:0 0.3em 0.3em 0; | ||
| border-radius:0.15em; | ||
| box-sizing: border-box; | ||
| text-decoration:none; | ||
| font-family:'Roboto',sans-serif; | ||
| text-transform:uppercase; | ||
| font-weight:400; | ||
| color:#FFFFFF !important; | ||
| background-color:#00a40e; | ||
| box-shadow:inset 0 -0.6em 0 -0.35em rgba(0,0,0,0.17); | ||
| text-align:center; | ||
| position:relative; | ||
| transition: all 0.3s cubic-bezier(.25,.8,.25,1); | ||
| font-size: 1.5em; | ||
| } | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. unintended change |
||
| .join-mat:active { | ||
| top:0.1em; | ||
| color: #fff !important; | ||
| } | ||
omsuneri marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| table, th, td { | ||
| border: 1px solid black; | ||
| border-collapse: collapse; | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,54 +17,48 @@ function toggleAnswer(answerId, element) { | |
| // Counter Animation of the home page | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah changes on this file are just not required |
||
| document.addEventListener('DOMContentLoaded', () => { | ||
| const counters = document.querySelectorAll('.count'); | ||
|
|
||
| // Function to animate the counter | ||
| function animateCounter(counter) { | ||
| const target = +counter.getAttribute('data-target'); | ||
| const speed = 200; | ||
| const speed = 200; | ||
|
|
||
| const updateCount = () => { | ||
| const current = +counter.innerText; | ||
| const increment = target / speed; | ||
| const current = +counter.innerText.replace(/,/g, ''); | ||
| const increment = Math.ceil(target / speed); | ||
|
|
||
| if (current < target) { | ||
| counter.innerText = Math.ceil(current + increment); | ||
| setTimeout(updateCount, 10); // Repeat every 10ms | ||
| counter.innerText = Math.min(current + increment, target).toLocaleString(); | ||
| setTimeout(updateCount, 10); | ||
| } else if (target === 170) { | ||
| counter.innerText = target.toLocaleString(); | ||
| } else { | ||
|
|
||
| if (target === 170) { | ||
| counter.innerText = `${target}`; | ||
| } else { | ||
| counter.innerText = `${target}+`; | ||
| } | ||
|
|
||
| counter.innerText = target.toLocaleString() + '+'; | ||
omsuneri marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| } | ||
| }; | ||
|
|
||
| updateCount(); | ||
| } | ||
|
|
||
| // Use IntersectionObserver to detect when the element comes into view | ||
| const observerOptions = { | ||
| root: null, | ||
| threshold: 0.3 | ||
| root: null, | ||
| threshold: 0.3 | ||
| }; | ||
|
|
||
| const observer = new IntersectionObserver((entries, observer) => { | ||
| entries.forEach(entry => { | ||
| if (entry.isIntersecting) { | ||
| animateCounter(entry.target); // Start animation | ||
| observer.unobserve(entry.target); // Stop observing after animation starts | ||
| animateCounter(entry.target); | ||
| observer.unobserve(entry.target); | ||
| } | ||
| }); | ||
| }, observerOptions); | ||
|
|
||
| counters.forEach(counter => { | ||
| observer.observe(counter); // Observe each counter | ||
| observer.observe(counter); | ||
| }); | ||
|
|
||
| }); | ||
|
|
||
|
|
||
| //Donation Banner | ||
| // Ensures that the buttons have loaded correctly before executing code | ||
| document.addEventListener('DOMContentLoaded', () => { | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.