-
Notifications
You must be signed in to change notification settings - Fork 160
Add MIT license and contribution guidelines #180
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
Changes from all commits
0c50af1
adf0fcd
3aff06f
cdf0b9c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # Contributing to DebateAI | ||
|
|
||
| Thank you for your interest in contributing to **DebateAI**! | ||
| We welcome contributions from everyone. | ||
|
|
||
| --- | ||
|
|
||
| ## How to Contribute | ||
|
|
||
| ### 1. Fork the Repository | ||
| - Fork the repository on GitHub. | ||
| - Clone your fork locally: | ||
|
|
||
| ```bash | ||
| git clone https://github.com/your-username/DebateAI.git | ||
| cd DebateAI | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| MIT License | ||
|
|
||
| Copyright (c) 2026 AOSSIE | ||
|
|
||
| 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: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
|
|
||
| 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. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -109,3 +109,8 @@ | |
| .animate-floating { | ||
| animation: floatUp 2s ease-out forwards; | ||
| } | ||
|
|
||
| body { | ||
| margin: 0; | ||
| font-family: 'Outfit', sans-serif; | ||
| } | ||
|
Comment on lines
+113
to
+116
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. 🛠️ Refactor suggestion | 🟠 Major Remove redundant body styling. This body rule is redundant because:
Defining body styles outside of Tailwind's layer system can cause specificity conflicts and makes the styling harder to maintain. Since Tailwind config handles the font and preflight handles the margin, this entire block can be removed. 🔎 Proposed fix: Remove redundant body rule-.animate-floating {
- animation: floatUp 2s ease-out forwards;
-}
-
-body {
- margin: 0;
- font-family: 'Outfit', sans-serif;
-}
+.animate-floating {
+ animation: floatUp 2s ease-out forwards;
+}
🤖 Prompt for AI Agents |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,61 +1,66 @@ | ||
| /** @type {import('tailwindcss').Config} */ | ||
| export default { | ||
| darkMode: ["class"], | ||
| content: [ | ||
| darkMode: ["class"], | ||
| content: [ | ||
| "./index.html", | ||
| "./src/**/*.{js,ts,jsx,tsx}", | ||
| ], | ||
| theme: { | ||
| extend: { | ||
| borderRadius: { | ||
| lg: 'var(--radius)', | ||
| md: 'calc(var(--radius) - 2px)', | ||
| sm: 'calc(var(--radius) - 4px)' | ||
| }, | ||
| colors: { | ||
| background: 'hsl(var(--background))', | ||
| foreground: 'hsl(var(--foreground))', | ||
| card: { | ||
| DEFAULT: 'hsl(var(--card))', | ||
| foreground: 'hsl(var(--card-foreground))' | ||
| }, | ||
| popover: { | ||
| DEFAULT: 'hsl(var(--popover))', | ||
| foreground: 'hsl(var(--popover-foreground))' | ||
| }, | ||
| primary: { | ||
| DEFAULT: 'hsl(var(--primary))', | ||
| foreground: 'hsl(var(--primary-foreground))' | ||
| }, | ||
| secondary: { | ||
| DEFAULT: 'hsl(var(--secondary))', | ||
| foreground: 'hsl(var(--secondary-foreground))' | ||
| }, | ||
| muted: { | ||
| DEFAULT: 'hsl(var(--muted))', | ||
| foreground: 'hsl(var(--muted-foreground))' | ||
| }, | ||
| accent: { | ||
| DEFAULT: 'hsl(var(--accent))', | ||
| foreground: 'hsl(var(--accent-foreground))' | ||
| }, | ||
| destructive: { | ||
| DEFAULT: 'hsl(var(--destructive))', | ||
| foreground: 'hsl(var(--destructive-foreground))' | ||
| }, | ||
| border: 'hsl(var(--border))', | ||
| input: 'hsl(var(--input))', | ||
| ring: 'hsl(var(--ring))', | ||
| chart: { | ||
| '1': 'hsl(var(--chart-1))', | ||
| '2': 'hsl(var(--chart-2))', | ||
| '3': 'hsl(var(--chart-3))', | ||
| '4': 'hsl(var(--chart-4))', | ||
| '5': 'hsl(var(--chart-5))' | ||
| } | ||
| } | ||
| } | ||
| extend: { | ||
| fontFamily: { | ||
| sans: ["Outfit", "sans-serif"], | ||
| }, | ||
| borderRadius: { | ||
| lg: 'var(--radius)', | ||
| md: 'calc(var(--radius) - 2px)', | ||
| sm: 'calc(var(--radius) - 4px)', | ||
| }, | ||
| colors: { | ||
| background: 'hsl(var(--background))', | ||
| foreground: 'hsl(var(--foreground))', | ||
| card: { | ||
| DEFAULT: 'hsl(var(--card))', | ||
| foreground: 'hsl(var(--card-foreground))', | ||
| }, | ||
| popover: { | ||
| DEFAULT: 'hsl(var(--popover))', | ||
| foreground: 'hsl(var(--popover-foreground))', | ||
| }, | ||
| primary: { | ||
| DEFAULT: 'hsl(var(--primary))', | ||
| foreground: 'hsl(var(--primary-foreground))', | ||
| }, | ||
| secondary: { | ||
| DEFAULT: 'hsl(var(--secondary))', | ||
| foreground: 'hsl(var(--secondary-foreground))', | ||
| }, | ||
| muted: { | ||
| DEFAULT: 'hsl(var(--muted))', | ||
| foreground: 'hsl(var(--muted-foreground))', | ||
| }, | ||
| accent: { | ||
| DEFAULT: 'hsl(var(--accent))', | ||
| foreground: 'hsl(var(--accent-foreground))', | ||
| }, | ||
| destructive: { | ||
| DEFAULT: 'hsl(var(--destructive))', | ||
| foreground: 'hsl(var(--destructive-foreground))', | ||
| }, | ||
| border: 'hsl(var(--border))', | ||
| input: 'hsl(var(--input))', | ||
| ring: 'hsl(var(--ring))', | ||
| chart: { | ||
| '1': 'hsl(var(--chart-1))', | ||
| '2': 'hsl(var(--chart-2))', | ||
| '3': 'hsl(var(--chart-3))', | ||
| '4': 'hsl(var(--chart-4))', | ||
| '5': 'hsl(var(--chart-5))', | ||
| }, | ||
| }, | ||
| }, | ||
| }, | ||
| plugins: [require("tailwindcss-animate"), require('tailwind-scrollbar-hide') ], | ||
| plugins: [ | ||
| require("tailwindcss-animate"), | ||
| require("tailwind-scrollbar-hide"), | ||
| ], | ||
| } | ||
|
|
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.
🧩 Analysis chain
🏁 Script executed:
Repository: AOSSIE-Org/DebateAI
Length of output: 522
Complete CONTRIBUTING.md with proper formatting and all essential sections.
CONTRIBUTING.md is incomplete and ends abruptly with an unclosed code block (line 14). After the fork and clone instructions, the file requires:
Complete the file to provide contributors with comprehensive guidance.
🤖 Prompt for AI Agents