Skip to content

Commit

Permalink
project that suggests homeopathic medicines (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
rijulsarji authored Oct 19, 2022
1 parent 0fdb961 commit fbad9bb
Show file tree
Hide file tree
Showing 25 changed files with 16,738 additions and 0 deletions.
23 changes: 23 additions & 0 deletions PROJECTS/granny-advice/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
1 change: 1 addition & 0 deletions PROJECTS/granny-advice/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[Link to my website: ](https://grannys-advice.netlify.app/)
16,218 changes: 16,218 additions & 0 deletions PROJECTS/granny-advice/package-lock.json

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions PROJECTS/granny-advice/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"name": "granny-advice",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"web-vitals": "^1.1.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
Binary file added PROJECTS/granny-advice/public/Grannys-Advice.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added PROJECTS/granny-advice/public/favicon.ico
Binary file not shown.
43 changes: 43 additions & 0 deletions PROJECTS/granny-advice/public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/Grannys_Advice_Transparent.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Want to get home remedies? You have come to the right place!"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/Grannys-Advice.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Granny's Advice</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
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 PROJECTS/granny-advice/public/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PROJECTS/granny-advice/public/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions PROJECTS/granny-advice/public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
3 changes: 3 additions & 0 deletions PROJECTS/granny-advice/public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
196 changes: 196 additions & 0 deletions PROJECTS/granny-advice/src/App.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');

body {
background: rgb(208, 222, 252);
}

#hack_logo{
display: block;
width: 75px;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
background: rgb(255, 255, 255);
border-radius: 8px;
box-shadow: 1px 1px 25px rgb(0, 0, 0);
}
#logo {
display: block;
width: 150px;
margin-left: auto;
margin-right: auto;
}

#body {
/* border: 2px solid; */
width: 75vw;
height: 60vh;
margin-top: 30px;
margin-left: auto;
margin-right: auto;
background: rgb(155, 194, 253);
box-shadow: 0px 0px 45px rgb(0, 35, 110);
}

#title {
/* border: 1px solid; */
width: 80%;
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
font-size: 30px;
padding-top: 25px;
color: rgb(0, 52, 163);
font-family: 'Josefin Sans', cursive;
}

#form {
/* display: none; */
width: 80%;
/* border: 1px solid; */
margin-left: auto;
margin-right: auto;
padding-top: 20px;
}

#input {
display: block;
font-size: 25px;
margin-left: auto;
margin-right: auto;
background: rgb(221, 233, 255);
color:rgb(0, 35, 110);
font-family: 'Roboto', sans-serif;
}
#button {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 25px;
font-size: 20px;
border-radius: 10px;
padding: 5px;
background: rgb(48, 67, 173);
color: white;
}

.outputDiv {
/* border: 1px solid; */
/* width: 80%; */
margin-left: auto;
margin-right: auto;
text-align: center;
padding-top: 25px;
font-size: 15px;
color: rgb(0, 52, 163);
font-weight: bold;
line-height: 25px;
font-family: 'Ubuntu', sans-serif;
}
.output {
color: rgb(2, 0, 102);
text-decoration: underline;

}

/* phone view */

@media screen and (max-width: 1080px) {
body {
background: rgb(208, 222, 252);
}

#logo {
display: block;
width: 130px;
margin-left: auto;
margin-right: auto;
}

#body {
/* border: 2px solid; */
width: 75vw;
height: 60vh;
margin-top: 30px;
margin-left: auto;
margin-right: auto;
background: rgb(155, 194, 253);
box-shadow: 0px 0px 45px rgb(0, 35, 110);
}
#title {
/* border: 1px solid; */
width: 80%;
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
font-size: 25px;
padding-top: 25px;
color: rgb(0, 52, 163);
font-family: 'Josefin Sans', cursive;
}

#form {
/* display: none; */
width: 80%;
/* border: 1px solid; */
margin-left: auto;
margin-right: auto;
padding-top: 15px;
}

#input {
display: block;
font-size: 15px;
margin-left: auto;
margin-right: auto;
background: rgb(221, 233, 255);
color:rgb(0, 35, 110);
font-family: 'Roboto', sans-serif;
}
#button {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 25px;
font-size: 12px;
border-radius: 5px;
padding: 5px;
background: rgb(48, 67, 173);
color: white;
}

.outputDiv {
/* border: 1px solid; */
width: 95%;
margin-left: auto;
margin-right: auto;
text-align: center;
padding-top: 25px;
font-size: 15px;
color: rgb(0, 52, 163);
font-weight: bold;
line-height: 25px;
font-family: 'Ubuntu', sans-serif;
}
.output {
color: rgb(2, 0, 102);
text-decoration: underline;

}
#hack_logo{
display: block;
width: 40px;
margin-top: 30px;
margin-left: auto;
margin-right: auto;
background: rgb(255, 255, 255);
border-radius: 8px;
box-shadow: 1px 1px 25px rgb(0, 0, 0);
}

}

Loading

1 comment on commit fbad9bb

@vercel
Copy link

@vercel vercel bot commented on fbad9bb Oct 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.