Skip to content

Commit efb9914

Browse files
committed
Added "MIT License" Page
1 parent 5220f7b commit efb9914

File tree

2 files changed

+112
-0
lines changed

2 files changed

+112
-0
lines changed

docusaurus.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,12 @@ const config = {
343343
label: "Cookie Policy",
344344
to: "/cookie-policy",
345345
},
346+
347+
{
348+
label: "Licensing",
349+
to: "/License/",
350+
},
351+
346352
],
347353
},
348354
{

src/pages/License/index.tsx

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
import Layout from "@theme/Layout";
2+
import React from "react";
3+
4+
import styled from "styled-components";
5+
6+
const LicensingContainer = styled.div`
7+
max-width: 800px;
8+
margin: 0 auto;
9+
padding: 20px;
10+
border-radius: 5px;
11+
12+
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
13+
margin-top: 20px;
14+
15+
margin-bottom: 20px;
16+
font-size: 16px;
17+
line-height: 1.6;
18+
font-family: "Open Sans", sans-serif;
19+
text-align: justify;
20+
`;
21+
22+
23+
const Title = styled.h2`
24+
margin-bottom: 24px;
25+
26+
font-family: "Open Sans", sans-serif;
27+
font-weight: 700;
28+
29+
line-height: 1.6;
30+
text-align: center;
31+
font-size : 27px;
32+
`;
33+
34+
const SubTitle = styled.h3`
35+
margin-bottom: 20px;
36+
font-weight: 700;
37+
38+
`;
39+
40+
const Content = styled.p`
41+
margin-bottom: 20px;
42+
43+
`;
44+
45+
const Licensing: React.FC = () => {
46+
return (
47+
<Layout
48+
49+
title={"Licensing"}
50+
description="Licensing information for CodeHarborHub"
51+
52+
>
53+
<LicensingContainer>
54+
55+
<Title>Licensing</Title>
56+
57+
Welcome to CodeHarborHub, This project is licensed under the MIT License. This page outlines the terms of the
58+
license and provides details on how you can use, modify and distribute our project.
59+
60+
<Content>
61+
<SubTitle>MIT License</SubTitle>
62+
<Content>
63+
64+
<strong>Copyright (c) 2024 CodeHarborHub</strong>
65+
<br />
66+
<br />
67+
68+
Permission is hereby granted, free of charge, to any person obtaining a copy
69+
of this software and associated documentation files (the "Software"), to deal
70+
in the Software without restriction, including without limitation the rights
71+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
72+
copies of the Software, and to permit persons to whom the Software is
73+
furnished to do so, subject to the following conditions:
74+
75+
<br />
76+
<br />
77+
78+
The above copyright notice and this permission notice shall be included in all
79+
copies or substantial portions of the Software.
80+
<br />
81+
<br />
82+
83+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
84+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
85+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
86+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
87+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
88+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
89+
SOFTWARE.
90+
<br />
91+
<br />
92+
</Content>
93+
94+
</Content>
95+
</LicensingContainer>
96+
97+
</Layout>
98+
99+
100+
);
101+
};
102+
103+
104+
105+
106+
export default Licensing;

0 commit comments

Comments
 (0)