-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #311 from MastanSayyad/master
Added "Licensing" Page Reflecting "MIT Licence"
- Loading branch information
Showing
1 changed file
with
76 additions
and
87 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -1,100 +1,89 @@ | ||
import styled from "styled-components"; | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
const LicenseContainer = styled.div` | ||
margin: auto; | ||
max-width: 75%; | ||
overflow: auto; | ||
const Licensing = () => { | ||
return ( | ||
<div className="py-8 mb-5 sm:w-[90vw] justify-start ml-auto mr-auto mt-10"> | ||
<div className='text-center'> | ||
<LicenseWrapper className='license'> | ||
<section className='text-left'> | ||
<h1>Licensing</h1> | ||
<p> | ||
UniCollab is more than just a platform; it's a gateway to a world where students from different universities/colleges converge to collaborate, innovate, and elevate their projects. | ||
</p> | ||
</section> | ||
<section className='text-left'> | ||
<h2>MIT License</h2> | ||
<p>Copyright (c) 2024 Sugam Arora</p> | ||
<p> | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
</p> | ||
<p> | ||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
</p> | ||
<p> | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
</p> | ||
</section> | ||
<section className='text-left'> | ||
<h2>Contact Information</h2> | ||
<p> | ||
If you have any questions or concerns about this Licensing Agreement, please contact us at: | ||
<br /> | ||
<br /> | ||
Email: <CyanLink href="mailto:unicollab@gmail.com">unicollab@gmail.com</CyanLink> | ||
<br /> | ||
Contact: +91 99323 32321 | ||
</p> | ||
</section> | ||
</LicenseWrapper> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
const LicenseWrapper = styled.div` | ||
padding: 20px; | ||
border-radius: 5px; | ||
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); | ||
margin-top: 20px; | ||
font-size: 16px; | ||
max-width: 800px; | ||
margin: 0 auto; | ||
color: #333; | ||
line-height: 1.6; | ||
font-family: "Open Sans", sans-serif; | ||
text-align: justify; | ||
@media (max-width: 768px) { | ||
max-width: 90%; | ||
padding: 15px; | ||
font-size: 14px; | ||
} | ||
@media (max-width: 480px) { | ||
max-width: 95%; | ||
padding: 10px; | ||
font-size: 12px; | ||
padding-bottom: 5rem; /* Ensure enough space for the bottom bar */ | ||
h1 { | ||
font-size: 2rem; | ||
margin-bottom: 20px; | ||
color: #ff21bc; | ||
} | ||
`; | ||
const Title = styled.h2` | ||
margin-bottom: 20px; | ||
font-weight: 700; | ||
text-align: center; | ||
font-size: 28px; | ||
color: #ff21bc; | ||
`; | ||
h2 { | ||
font-size: 1.5rem; | ||
margin-top: 20px; | ||
color: #ff21bc; | ||
text-align: left; | ||
} | ||
const SubTitle = styled.h3` | ||
margin-bottom: 20px; | ||
font-weight: 700; | ||
font-size: 22px; | ||
color: #ff21bc; | ||
`; | ||
p { | ||
margin: 10px 0; | ||
} | ||
const Content = styled.p` | ||
margin-bottom: 20px; | ||
text-align: justify; | ||
`; | ||
ul { | ||
list-style-type: disc; | ||
margin-left: 20px; | ||
} | ||
const StyledUl = styled.ul` | ||
margin-bottom: 20px; | ||
list-style-type: disc; | ||
padding-left: 20px; | ||
`; | ||
li { | ||
margin: 10px 0; | ||
} | ||
const StyledLi = styled.li` | ||
margin-bottom: 20px; | ||
list-style-type: disc; | ||
margin-left: 20px; | ||
address { | ||
font-style: normal; | ||
line-height: 1.6; | ||
} | ||
`; | ||
|
||
const Strong = styled.strong` | ||
font-weight: bold; | ||
const CyanLink = styled.a` | ||
color: cyan; | ||
`; | ||
|
||
const Licensing = () => { | ||
return ( | ||
<LicenseContainer> | ||
<Title>Licensing Information</Title><br/> | ||
<Content><Strong>Last Updated:</Strong> 08-06-2024</Content> | ||
<SubTitle>Introduction</SubTitle> | ||
<Content>Welcome to UniCollab! This page provides information about the licensing of our collaborative platform, which allows students from different universities and colleges to collaborate, innovate, and elevate their projects.</Content> | ||
<SubTitle>License Grant</SubTitle> | ||
<Content>UniCollab grants you a limited, non-exclusive, non-transferable, revocable license to use our platform for personal and educational purposes, subject to your compliance with these terms.</Content> | ||
<SubTitle>Restrictions</SubTitle> | ||
<Content>You agree not to: | ||
<StyledUl> <br/> | ||
<StyledLi>Copy, modify, or create derivative works of our platform;</StyledLi> | ||
<StyledLi>Distribute, transmit, or publicly display any part of the platform;</StyledLi> | ||
<StyledLi>Reverse engineer, decompile, or disassemble the platform;</StyledLi> | ||
<StyledLi>Use the platform for any commercial purposes without prior written consent from UniCollab;</StyledLi> | ||
<StyledLi>Remove or alter any proprietary notices on the platform.</StyledLi> | ||
</StyledUl> | ||
</Content> | ||
<SubTitle>Intellectual Property</SubTitle> | ||
<Content>All intellectual property rights in the platform and its content are owned by UniCollab or its licensors. Your use of the platform does not grant you any ownership rights to the content.</Content> | ||
<SubTitle>Third-Party Content</SubTitle> | ||
<Content>Our platform may include third-party content or links to third-party websites. UniCollab does not endorse or assume any responsibility for third-party content.</Content> | ||
<SubTitle>License Termination</SubTitle> | ||
<Content>UniCollab reserves the right to terminate your license to use the platform at any time, without notice, if you breach these terms or engage in prohibited activities.</Content> | ||
<SubTitle>Changes to Licensing Terms</SubTitle> | ||
<Content>We reserve the right to modify or replace these licensing terms at any time. It is your responsibility to review these terms periodically for changes.</Content> | ||
<SubTitle>Contact Us</SubTitle> | ||
<Content style={{ marginBottom: '5rem' }}>If you have any questions or concerns about these licensing terms, please contact us at: <br/><br/> | ||
<Strong>Email: </Strong><a href="mailto:unicollab@gmail.com" style={{color: 'cyan'}}>unicollab@gmail.com</a><br/> | ||
<Strong>Contact: </Strong>+91 99323 32321 | ||
</Content> | ||
</LicenseContainer> | ||
) | ||
} | ||
|
||
export default Licensing; | ||
export default Licensing; |