From ecf09bfe4accdd8427de90fb92b247281bc55159 Mon Sep 17 00:00:00 2001 From: KIRTI13115 <192kirti@gmail.com> Date: Fri, 17 Oct 2025 19:46:28 +0530 Subject: [PATCH 1/2] Added about us page --- app.py | 5 + static/style.css | 69 +++++++ templates/about.html | 204 ++++++++++++++++++++ templates/dashboard.html | 4 +- templates/index.html | 4 +- utils/__pycache__/fetch_url.cpython-312.pyc | Bin 0 -> 1036 bytes 6 files changed, 282 insertions(+), 4 deletions(-) create mode 100644 templates/about.html create mode 100644 utils/__pycache__/fetch_url.cpython-312.pyc diff --git a/app.py b/app.py index a0fe604..3d9755e 100644 --- a/app.py +++ b/app.py @@ -57,6 +57,11 @@ def home(): def dashboard(): return render_template('dashboard.html') +@app.route('/about') +def about(): + return render_template('about.html') + + def index(): """Main route with language detection""" diff --git a/static/style.css b/static/style.css index 3243529..a539f4f 100644 --- a/static/style.css +++ b/static/style.css @@ -1403,3 +1403,72 @@ body.dark .summary-box p { color: var(--text-secondary-dark); } transform: none !important; /* remove overlapping translation */ margin-top: 0; /* spacing handled by gap */ } + +/*About us*/ +.about-card { + background: var(--card-light); + border-radius: 1.5rem; + box-shadow: var(--shadow-light); + padding: 2rem; + margin: 3rem auto; + max-width: 900px; + backdrop-filter: blur(10px); + border: 1px solid rgba(255, 255, 255, 0.2); +} +body.dark .about-card { + background: var(--card-dark); + box-shadow: var(--shadow-dark); + border-color: rgba(255, 255, 255, 0.1); +} + +.about-card h2 { + color: #6c5ce7; + font-size: 2rem; + font-weight: 800; + text-align: center; + margin-bottom: 1.5rem; +} +.about-card h3 { + color: var(--text-primary-light); + font-size: 1.25rem; + margin-top: 1.5rem; +} +.about-card p { + color: var(--text-secondary-light); + line-height: 1.6; + font-size: 1rem; +} + +.about-card { + background: var(--card-light); + border-radius: 1.5rem; + box-shadow: var(--shadow-light); + padding: 2rem; + margin: 3rem auto; + max-width: 900px; + backdrop-filter: blur(10px); + border: 1px solid rgba(255, 255, 255, 0.2); +} +body.dark .about-card { + background: var(--card-dark); + box-shadow: var(--shadow-dark); + border-color: rgba(255, 255, 255, 0.1); +} + +.about-card h2 { + color: #6c5ce7; + font-size: 2rem; + font-weight: 800; + text-align: center; + margin-bottom: 1.5rem; +} +.about-card h3 { + color: var(--text-primary-light); + font-size: 1.25rem; + margin-top: 1.5rem; +} +.about-card p { + color: var(--text-secondary-light); + line-height: 1.6; + font-size: 1rem; +} diff --git a/templates/about.html b/templates/about.html new file mode 100644 index 0000000..fbda78f --- /dev/null +++ b/templates/about.html @@ -0,0 +1,204 @@ + + + + + + About Us - Quick Fact Checker + + + + + + + + +
+
+

About Quick Fact Checker

+

+ QuickFactChecker is a machine learningโ€“based web app that helps detect whether a news article is real or fake. It uses different models (e.g., Naive Bayes, LSTM) trained on the LIAR dataset to evaluate credibility and assist users in identifying potentially misleading information.
+ This project is now an official part of GirlScript Summer of Code โ€“ GSSoC'25!
+ ๐Ÿ’ป We're thrilled to welcome contributors from all over India and beyond to collaborate, build, and grow QuickFactChecker!
+ Letโ€™s make learning and career development smarter โ€“ together! ๐ŸŒŸ
+ + ๐Ÿ‘ฉโ€๐Ÿ’ป GSSoC is one of Indiaโ€™s largest 3-month-long open-source programs that encourages developers of all levels to contribute to real-world projects ๐ŸŒ while learning, collaborating, and growing together. ๐ŸŒฑ
+ + ๐ŸŒˆ With mentorship, community support, and collaborative coding, it's the perfect platform for developers to:
+ + โœจ Improve their skills
+ ๐Ÿค Contribute to impactful projects
+ ๐Ÿ† Get recognized for their work
+ ๐Ÿ“œ Receive certificates and swag!
+

+ +

Our Mission

+

+ We aim to empower individuals to make informed decisions in an era of rapid information sharing. +

+ +

Features

+

+ โœ… Fake news classification using ML models (Naive Bayes, Logistic Regression, Random Forest, and LSTM).
+ โœ… Interactive web app built with Flask and HTML templates.
+ โœ… Automated NLTK Setup to prevent missing resource errors.
+ โœ… Preprocessed dataset included (train.tsv, test.tsv, valid.tsv).
+ โœ… Notebooks for data analysis & experimentation (liar-data-analysis.ipynb, dataset.ipynb).
+ โœ… Easy setup with requirements.txt.
+

+
+
+ + + + + + + + + + + + + diff --git a/templates/dashboard.html b/templates/dashboard.html index fd50110..42e813d 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -30,7 +30,7 @@ diff --git a/templates/index.html b/templates/index.html index 7c7ac17..75ccb7d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -361,7 +361,7 @@

Summary Insights