Skip to content

Commit

Permalink
Merge pull request #455 from MastanSayyad/dev
Browse files Browse the repository at this point in the history
 Design Dedicated "Licensing" Page Reflecting "MIT License"
  • Loading branch information
subhadeeproy3902 authored Jul 11, 2024
2 parents 3142c46 + f3b35fb commit 8a5a46e
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 1 deletion.
16 changes: 16 additions & 0 deletions src/app/licensing/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"use client";
import Licensing from "@/components/shared/licensing";
import Header from "@/components/shared/Header";
import Footer from "@/components/shared/Footer";

const Page = () => {
return (
<div>
<Header />
<Licensing />
<Footer />
</div>
);
};

export default Page;
2 changes: 1 addition & 1 deletion src/components/shared/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const Footer: React.FC = () => {
</li>
<li className="mb-4">
<a
href="https://github.com/subhadeeproy3902/BloxAI/blob/main/LICENSE"
href="/licensing"
className="hover:underline"
>
License
Expand Down
48 changes: 48 additions & 0 deletions src/components/shared/licensing.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import React from "react";

const Licensing = () => {
return (
<div className="min-h-[40rem] w-full pt-16 rounded-md flex justify-center flex-col antialiased relative overflow-hidden">
<div className="mx-auto max-w-2xl px-4 py-8">
<h1 className="text-3xl font-bold mb-4 text-foreground/75">
Licensing
</h1>
<p className="mb-4 text-muted-foreground">
Welcome to Blox AI, It is licensed under the MIT License. This page outlines the terms of the license and provide details on how you can use, modify and distribute our project.
</p>
<h2 className="text-2xl font-bold mb-4 text-foreground/75">
MIT License
</h2>
<p className="mb-4 text-muted-foreground">
Copyright (c) 2024 Subhadeep Roy & Anish Biswas
</p>
<p className="mb-4 text-muted-foreground">
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the &quot;Software&quot;), 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 className="mb-4 text-muted-foreground">
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
</p>
<p className="mb-4 text-muted-foreground">
THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, 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>
<p className="mb-4 text-muted-foreground">
For more information check: <a href="https://github.com/subhadeeproy3902/BloxAI/blob/main/LICENSE" className="hover:underline">LICENSE</a>
</p>
</div>
</div>
);
};

export default Licensing;

0 comments on commit 8a5a46e

Please sign in to comment.