Skip to content
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

Added a description abt our prj to the overview README.md #1

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# DocAI
# DocAI

#### DocAI is an AI-powered website designed to provide college students with quick medical diagnoses and efficiently locate nearby healthcare facilities.
3 changes: 3 additions & 0 deletions docai/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
Expand Down Expand Up @@ -39,5 +41,6 @@
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->

</body>
</html>
Binary file added docai/public/logoAbout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 3 additions & 16 deletions docai/src/App.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
import logo from './logo.svg';
import './App.css';
import React from 'react';
import About from './components/About/about';

function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
<About />
</div>
);
}
Expand Down
108 changes: 108 additions & 0 deletions docai/src/components/About/about.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
.about {
font-family: Outfit, sans-serif;
color: #fff;
background-color: #001a66;
text-align: center;
padding: 20px;
}

.about-header {
display: flex;
justify-content: space-between;
align-items: center;
/* padding: 10px 20px; */
padding: 0 4rem; /* This adds 4rem padding to left and right */

}

.about-header h1 {
font-size: 24px;
}

.about-header nav ul {
list-style: none;
display: flex;
gap: 15px;
}

.about-header nav ul li {
display: inline;
}

.about-header h1 a, nav ul li a {
color: #fff;
text-decoration: none;
}

.logo-container {
position: relative;
display: flex;
margin-left: 33.33%;
}


.about-main {
margin: 30px 0;
}

.logo-section {
display: flex;
align-items: center;
justify-content: center;
gap: 0px;
padding: 0px 300px;
margin: 0 auto; /* This will position it 1/3rd from the left */
}

.logo {
width: 80px;
}

.vision h3 {
font-size: 20px;
}

.features {
display: flex;
justify-content: space-around;
margin-top: 20px;
}

.feature-box {
width: 30%;
background-color: #002080;
border-radius: 10px;
padding: 15px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.feature-box .icon {
font-size: 30px;
margin-bottom: 10px;
}

.pill-icon::before {
content: '💊';
}

.heart-icon::before {
content: '❤️';
}

.pharmacy-icon::before {
content: '➕';
}

.container {
display: flex;
align-items: center;
gap: 5rem; /* Adjusts space between logo and text */
}

.text-block {
color: white;
}

.text-block p {
margin-bottom: 0.5rem;
}
48 changes: 48 additions & 0 deletions docai/src/components/About/about.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import React from 'react';
import './about.css';



function About() {
return (
<div className="about">
<header className="about-header">
<h1><a href="#docAI">DocAI</a></h1>
<nav>
<ul>
<li><a href="#faqs">FAQs</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</header>

<section className="about-main">
<div className="logo-section">
<img src="/logoAbout.png" alt="DocAI Logo" className="logo" style={{ width: '300px', height: 'auto' }} />
</div>

</section>

<section className="features">
<div className="feature-box">
<span className="icon pill-icon"></span>
<p>DocAI can identify symptoms based on what the user inputs and suggest a diagnosis and treatment based on this.</p>
</div>
<div className="feature-box">
<span className="icon heart-icon"></span>
<p>DocAI provides quick and accessible healthcare support at no added cost by providing an immediate list of suggested medications.</p>
</div>
<div className="feature-box">
<span className="icon pharmacy-icon"></span>
<p>DocAI also includes the option to locate nearby pharmacies in order to purchase the necessary medications.</p>
</div>
</section>


</div>
);
}

export default About;