diff --git a/farmfolio resp/farmfolio resp/app.py b/farmfolio resp/farmfolio resp/app.py new file mode 100644 index 00000000..bb0061ff --- /dev/null +++ b/farmfolio resp/farmfolio resp/app.py @@ -0,0 +1,46 @@ +from flask import Flask, render_template + +app = Flask(__name__) + +@app.route('/') +def index(): + return 'Welcome to my website!' + +@app.route('/about') +def about(): + return 'This is the about page.' + +@app.route('/contact') +def contact(): + return 'Contact us at example@example.com' + +@app.route('/blog') +def blog(): + return 'Check out our latest blog posts.' + +@app.route('/product/') +def product(product_id): + return f'This is product {product_id} page.' + +@app.route('/category/') +def category(category_name): + return f'You are viewing category: {category_name}' + +@app.route('/user/') +def user(username): + return f'Hello, {username}!' + +@app.route('/services') +def services(): + return 'We offer a variety of services.' + +@app.route('/portfolio') +def portfolio(): + return 'Explore our portfolio.' + +@app.route('/faq') +def faq(): + return 'Frequently Asked Questions' + +if __name__ == '__main__': + app.run(debug=True) diff --git a/farmfolio resp/farmfolio resp/farmfolio db.sql b/farmfolio resp/farmfolio resp/farmfolio db.sql new file mode 100644 index 00000000..39fe3034 --- /dev/null +++ b/farmfolio resp/farmfolio resp/farmfolio db.sql @@ -0,0 +1,11 @@ +CREATE DATABASE IF NOT EXISTS farmfolio_db; + +USE farmfolio_db; + +CREATE TABLE IF NOT EXISTS users ( + id INT AUTO_INCREMENT PRIMARY KEY, + username VARCHAR(50) UNIQUE NOT NULL, + password VARCHAR(100) NOT NULL +); + +INSERT INTO users (username, password) VALUES ('sonu', '$2b$12$EaEZ1U16tR9M.DxgWGThl.yX3rXN5b1Em.nILpdWBp3kg1Ae8N2.y'), ('bhumi', '$2b$12$EaEZ1U16tR9M.DxgWGThl.yX3rXN5b1Em.nILpdWBp3kg1Ae8N2.y'); diff --git a/farmfolio resp/farmfolio resp/image/3dinfograph2.jpg b/farmfolio resp/farmfolio resp/image/3dinfograph2.jpg new file mode 100644 index 00000000..781684a3 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/3dinfograph2.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/Agricultural 3D infographics.jpg b/farmfolio resp/farmfolio resp/image/Agricultural 3D infographics.jpg new file mode 100644 index 00000000..71e1d3fe Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/Agricultural 3D infographics.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/Brewing infographics.jpg b/farmfolio resp/farmfolio resp/image/Brewing infographics.jpg new file mode 100644 index 00000000..781684a3 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/Brewing infographics.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/Russia World Expo 2015 in Milano - Photoshop 3D Visuals.jpg b/farmfolio resp/farmfolio resp/image/Russia World Expo 2015 in Milano - Photoshop 3D Visuals.jpg new file mode 100644 index 00000000..384054dd Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/Russia World Expo 2015 in Milano - Photoshop 3D Visuals.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/SonuSignW.png b/farmfolio resp/farmfolio resp/image/SonuSignW.png new file mode 100644 index 00000000..bcd80701 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/SonuSignW.png differ diff --git a/farmfolio resp/farmfolio resp/image/amanSignW.png b/farmfolio resp/farmfolio resp/image/amanSignW.png new file mode 100644 index 00000000..8528b007 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/amanSignW.png differ diff --git a/farmfolio resp/farmfolio resp/image/android-chrome-192x192.png b/farmfolio resp/farmfolio resp/image/android-chrome-192x192.png new file mode 100644 index 00000000..77b78c22 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/android-chrome-192x192.png differ diff --git a/farmfolio resp/farmfolio resp/image/android-chrome-512x512.png b/farmfolio resp/farmfolio resp/image/android-chrome-512x512.png new file mode 100644 index 00000000..f8cc3486 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/android-chrome-512x512.png differ diff --git a/farmfolio resp/farmfolio resp/image/apple-touch-icon.png b/farmfolio resp/farmfolio resp/image/apple-touch-icon.png new file mode 100644 index 00000000..7833e00e Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/apple-touch-icon.png differ diff --git a/farmfolio resp/farmfolio resp/image/bhumiSignW.png b/farmfolio resp/farmfolio resp/image/bhumiSignW.png new file mode 100644 index 00000000..364ad622 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/bhumiSignW.png differ diff --git a/farmfolio resp/farmfolio resp/image/bio.jpg b/farmfolio resp/farmfolio resp/image/bio.jpg new file mode 100644 index 00000000..42380b9b Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/bio.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/bioFer.jpg b/farmfolio resp/farmfolio resp/image/bioFer.jpg new file mode 100644 index 00000000..0700e715 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/bioFer.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/favicon-16x16.png b/farmfolio resp/farmfolio resp/image/favicon-16x16.png new file mode 100644 index 00000000..f85e311f Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/favicon-16x16.png differ diff --git a/farmfolio resp/farmfolio resp/image/favicon-32x32.png b/farmfolio resp/farmfolio resp/image/favicon-32x32.png new file mode 100644 index 00000000..47057128 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/favicon-32x32.png differ diff --git a/farmfolio resp/farmfolio resp/image/favicon.ico b/farmfolio resp/farmfolio resp/image/favicon.ico new file mode 100644 index 00000000..42cb5989 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/favicon.ico differ diff --git a/farmfolio resp/farmfolio resp/image/img 1.jpg b/farmfolio resp/farmfolio resp/image/img 1.jpg new file mode 100644 index 00000000..fbcfe48c Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/img 1.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/img 2.png b/farmfolio resp/farmfolio resp/image/img 2.png new file mode 100644 index 00000000..c7cc6470 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/img 2.png differ diff --git a/farmfolio resp/farmfolio resp/image/img 3.jpg b/farmfolio resp/farmfolio resp/image/img 3.jpg new file mode 100644 index 00000000..ea5ad63c Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/img 3.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/img 4.jpg b/farmfolio resp/farmfolio resp/image/img 4.jpg new file mode 100644 index 00000000..8624ba22 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/img 4.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/img 5.jpg b/farmfolio resp/farmfolio resp/image/img 5.jpg new file mode 100644 index 00000000..4ba6a64b Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/img 5.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/img 6.jpg b/farmfolio resp/farmfolio resp/image/img 6.jpg new file mode 100644 index 00000000..c5c0f794 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/img 6.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/img 7.jpg b/farmfolio resp/farmfolio resp/image/img 7.jpg new file mode 100644 index 00000000..2fa9e974 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/img 7.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/img 8.jpg b/farmfolio resp/farmfolio resp/image/img 8.jpg new file mode 100644 index 00000000..c6cdaca6 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/img 8.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/img 9.jpg b/farmfolio resp/farmfolio resp/image/img 9.jpg new file mode 100644 index 00000000..7d4f3b5a Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/img 9.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/landingPgBg.jpg b/farmfolio resp/farmfolio resp/image/landingPgBg.jpg new file mode 100644 index 00000000..17c1c149 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/landingPgBg.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/logoB.png b/farmfolio resp/farmfolio resp/image/logoB.png new file mode 100644 index 00000000..05317cc2 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/logoB.png differ diff --git a/farmfolio resp/farmfolio resp/image/logoG.png b/farmfolio resp/farmfolio resp/image/logoG.png new file mode 100644 index 00000000..0bdb4b51 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/logoG.png differ diff --git a/farmfolio resp/farmfolio resp/image/logoW.png b/farmfolio resp/farmfolio resp/image/logoW.png new file mode 100644 index 00000000..03434bf3 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/logoW.png differ diff --git a/farmfolio resp/farmfolio resp/image/plantFertlizer.jpg b/farmfolio resp/farmfolio resp/image/plantFertlizer.jpg new file mode 100644 index 00000000..2b4f7ba8 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/plantFertlizer.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/sachinSignW.png b/farmfolio resp/farmfolio resp/image/sachinSignW.png new file mode 100644 index 00000000..732890ec Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/sachinSignW.png differ diff --git a/farmfolio resp/farmfolio resp/image/smartFarming.jpg b/farmfolio resp/farmfolio resp/image/smartFarming.jpg new file mode 100644 index 00000000..e401627c Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/smartFarming.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/srchIcon.svg b/farmfolio resp/farmfolio resp/image/srchIcon.svg new file mode 100644 index 00000000..486585f4 --- /dev/null +++ b/farmfolio resp/farmfolio resp/image/srchIcon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/farmfolio resp/farmfolio resp/image/tree.jpg b/farmfolio resp/farmfolio resp/image/tree.jpg new file mode 100644 index 00000000..9c6962bd Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/tree.jpg differ diff --git a/farmfolio resp/farmfolio resp/image/wheat.jpg b/farmfolio resp/farmfolio resp/image/wheat.jpg new file mode 100644 index 00000000..4ebbea55 Binary files /dev/null and b/farmfolio resp/farmfolio resp/image/wheat.jpg differ diff --git a/farmfolio resp/farmfolio resp/index.html b/farmfolio resp/farmfolio resp/index.html new file mode 100644 index 00000000..b7780f9e --- /dev/null +++ b/farmfolio resp/farmfolio resp/index.html @@ -0,0 +1,160 @@ + + + + + + Farmfolio + + + + + + + + + + + + + + +
+
+ Slide 1 + Slide 2 + Slide 3 + Slide 4 + Slide 5 +
+
+ + + +
+
+ +
+ +

Organic Farming Guide

+ +

+

+ Biofertilizers are natural supplements containing living microorganisms, which when applied to soil or plants, enhance nutrient availability and uptake, ultimately promoting plant growth and health.

+ Learn more +
+
+ +
+
+ + +
+ +

Smart Farming

+ +

+

+ Explore the frontier of agriculture with Smart Farming, where technology meets tradition to revolutionize crop management and increase efficiency. Discover how data-driven insights, automation, and IoT are reshaping farming practices for a sustainable and prosperous future.

+ Learn more +
+
+ +
+
+ +
+ +

Healthy Farming

+ +

+

+ Nurture thriving crops sustainably with Healthy Farming. Explore innovative techniques for a healthier harvest and a greener planet. Join us in cultivating a brighter, healthier future.

+ Learn more +
+
+ +
+ + +
+ +

Quality Assurance Systems

+ +

+

+ Discover the backbone of agricultural excellence with Quality Assurance Systems. From rigorous inspections to meticulous record-keeping, these systems ensure that every step of the farming process meets stringent quality standards. Learn how farmers uphold integrity, safety, and consumer trust through effective quality control measures.

+ Learn more +
+
+ + + +
+

Government Scheme

+ +
+

we are working on it

+
+ + +
+ + + + + + + +
+ + + + + + diff --git a/farmfolio resp/farmfolio resp/login/app.py b/farmfolio resp/farmfolio resp/login/app.py new file mode 100644 index 00000000..738873e2 --- /dev/null +++ b/farmfolio resp/farmfolio resp/login/app.py @@ -0,0 +1,44 @@ +from flask import Flask, render_template, request, jsonify, redirect, url_for +from flask_mysqldb import MySQL +import bcrypt + +app = Flask(__name__) + + +app.config['MYSQL_HOST'] = 'localhost' +app.config['MYSQL_USER'] = 'your_username' +app.config['MYSQL_PASSWORD'] = 'your_password' +app.config['MYSQL_DB'] = 'farmfolio_db' +app.config['MYSQL_CURSORCLASS'] = 'DictCursor' + +mysql = MySQL(app) + +@app.route('/') +def index(): + return render_template('login.html') + +@app.route('/login', methods=['POST']) +def login(): + username = request.form['username'] + password = request.form['password'] + + cur = mysql.connection.cursor() + cur.execute("SELECT * FROM users WHERE username = %s", (username,)) + user = cur.fetchone() + cur.close() + + if user: + stored_password = user['password'].encode('utf-8') + if bcrypt.checkpw(password.encode('utf-8'), stored_password): + + return jsonify({'redirect_url': url_for('home')}) + + return jsonify({'message': 'Invalid username or password'}) + +@app.route('/home') +def home(): + + return render_template('index.html') + +if __name__ == '__main__': + app.run(debug=True) diff --git a/farmfolio resp/farmfolio resp/login/image/fbLogo1.png b/farmfolio resp/farmfolio resp/login/image/fbLogo1.png new file mode 100644 index 00000000..5fdfab21 Binary files /dev/null and b/farmfolio resp/farmfolio resp/login/image/fbLogo1.png differ diff --git a/farmfolio resp/farmfolio resp/login/image/googleLogo1.png b/farmfolio resp/farmfolio resp/login/image/googleLogo1.png new file mode 100644 index 00000000..877294cf Binary files /dev/null and b/farmfolio resp/farmfolio resp/login/image/googleLogo1.png differ diff --git a/farmfolio resp/farmfolio resp/login/login.css b/farmfolio resp/farmfolio resp/login/login.css new file mode 100644 index 00000000..c11f1825 --- /dev/null +++ b/farmfolio resp/farmfolio resp/login/login.css @@ -0,0 +1,73 @@ + +body, html { + margin: 0; + padding: 0; + height: 100%; + font-family: Arial, sans-serif; +} + +.bg-image { + background: linear-gradient(to bottom, #85D860, #4CAF50); + height: 100%; + background-position: center; + background-repeat: no-repeat; + background-size: cover; + position: relative; +} + +.container { + width: 300px; + position: absolute; + top: 25%; + left: 40%; + text-align: center; + padding: 20px; + background-color: rgba(255, 255, 255, 0.8); + border-radius: 10px; +} + +input[type="text"], input[type="password"] { + width: 250px; + padding: 10px; + margin: 10px; + border-radius: 5px; + border: 1px solid #ccc; + font-size: 16px; +} +input:focus { + outline: none; +} + +#submit{ + + width: 100px; + padding: 8px; + margin: 1px; + border-radius: 5px; + border: none; + background-color: #4CAF50; + color: white; + font-size: 15px; + cursor: pointer; + +} + + +a { + color: blue; + text-decoration: none; +} + +.altrnativ:hover { + text-decoration: underline; +} + +.social-login { + margin-top: 20px; +} + +.social-icon { + width: 25px; + margin: 0 5px; + cursor: pointer; +} \ No newline at end of file diff --git a/farmfolio resp/farmfolio resp/login/login.html b/farmfolio resp/farmfolio resp/login/login.html new file mode 100644 index 00000000..f10bfcf2 --- /dev/null +++ b/farmfolio resp/farmfolio resp/login/login.html @@ -0,0 +1,32 @@ + + + + + + + Login Page + + + +
+
+

Login

+
+
+
+ + + +
+

Create a new account

+

Forgot password?

+ +
+
+ + + \ No newline at end of file diff --git a/farmfolio resp/farmfolio resp/login/newAcc.html b/farmfolio resp/farmfolio resp/login/newAcc.html new file mode 100644 index 00000000..34dbcb9f --- /dev/null +++ b/farmfolio resp/farmfolio resp/login/newAcc.html @@ -0,0 +1,20 @@ + + + + + + Register + + + +
+

Register

+
+
+
+ +
+
+ + + diff --git a/farmfolio resp/farmfolio resp/login/newAccount.js b/farmfolio resp/farmfolio resp/login/newAccount.js new file mode 100644 index 00000000..3a787652 --- /dev/null +++ b/farmfolio resp/farmfolio resp/login/newAccount.js @@ -0,0 +1,14 @@ +// Function to handle form submission +document.getElementById("registerForm").addEventListener("submit", function(event) { + event.preventDefault(); // Prevent the form from submitting + + // Get the new username and password entered by the user + var newUsername = document.getElementById("newUsername").value; + var newPassword = parseInt(document.getElementById("newPassword").value); + + // Add the new user to the users array in the parent window (login page) + window.opener.users.push({ username: newUsername, password: newPassword }); + + // Close the registration window + window.close(); +}); diff --git a/farmfolio resp/farmfolio resp/login/script.js b/farmfolio resp/farmfolio resp/login/script.js new file mode 100644 index 00000000..7cb79552 --- /dev/null +++ b/farmfolio resp/farmfolio resp/login/script.js @@ -0,0 +1,38 @@ +var users = []; + +document.getElementById("loginForm").addEventListener("submit", function(event) { + event.preventDefault(); + + // Get the username and password entered by the user + var username = document.getElementById("username").value; + var password = parseInt(document.getElementById("password").value); + + // Check if the entered username and password match any user-password pair + var isAuthenticated = users.some(function(user) { + return user.username === username && user.password === password; + }); + + // If authentication succeeds, redirect the user to another page + if (isAuthenticated) { + // Redirect the user to the home page + window.location.href = "../homePage/index.html"; + } else { + // If authentication fails, display an error message + alert("Incorrect username or password. Please try again."); + } +}); + +// Function to handle new account creation +document.getElementById("createAccount").addEventListener("click", function(event) { + event.preventDefault(); // Prevent the default link behavior + + // Prompt the user to create a new account + var newUsername = prompt("Enter a new username:"); + var newPassword = parseInt(prompt("Enter a numeric password:")); + + // Add the new user to the users array + users.push({ username: newUsername, password: newPassword }); + + // Log a message to the console indicating that the account has been created + console.log("New account created:", newUsername); +}); diff --git a/farmfolio resp/farmfolio resp/orgFet/image/1.jpg b/farmfolio resp/farmfolio resp/orgFet/image/1.jpg new file mode 100644 index 00000000..910dd113 Binary files /dev/null and b/farmfolio resp/farmfolio resp/orgFet/image/1.jpg differ diff --git a/farmfolio resp/farmfolio resp/orgFet/image/2.jpg b/farmfolio resp/farmfolio resp/orgFet/image/2.jpg new file mode 100644 index 00000000..5356aa7d Binary files /dev/null and b/farmfolio resp/farmfolio resp/orgFet/image/2.jpg differ diff --git a/farmfolio resp/farmfolio resp/orgFet/image/3.jpg b/farmfolio resp/farmfolio resp/orgFet/image/3.jpg new file mode 100644 index 00000000..8cee193e Binary files /dev/null and b/farmfolio resp/farmfolio resp/orgFet/image/3.jpg differ diff --git a/farmfolio resp/farmfolio resp/orgFet/image/4.jpg b/farmfolio resp/farmfolio resp/orgFet/image/4.jpg new file mode 100644 index 00000000..76d42a10 Binary files /dev/null and b/farmfolio resp/farmfolio resp/orgFet/image/4.jpg differ diff --git a/farmfolio resp/farmfolio resp/orgFet/image/5.jpg b/farmfolio resp/farmfolio resp/orgFet/image/5.jpg new file mode 100644 index 00000000..f7b1defd Binary files /dev/null and b/farmfolio resp/farmfolio resp/orgFet/image/5.jpg differ diff --git a/farmfolio resp/farmfolio resp/orgFet/index.html b/farmfolio resp/farmfolio resp/orgFet/index.html new file mode 100644 index 00000000..2c45590f --- /dev/null +++ b/farmfolio resp/farmfolio resp/orgFet/index.html @@ -0,0 +1,146 @@ + + + + + + + + + + + bio fertilizer + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + +

Make organic fertilozer at home

+

+ +

Step 1: Collect Organic Materials

+
+ +

Gather organic materials that can be used to make compost. This can include:

+
+ +
    +
  • Kitchen scraps (fruit and vegetable peels, coffee grounds, eggshells)
  • +
  • Yard waste (grass clippings, leaves, small branches)
  • +
  • Livestock manure (if available)
  • +
  • Hay or straw
  • +
+ +

+ + + +

+

Step 2: Choose a Location for Composting

+

+

Select a suitable location for your compost pile. It should be:

+
+
    +
  • Well-drained
  • +
  • Partially shaded to prevent excessive drying out
  • +
  • Convenient for adding materials and turning the compost pile
  • +
+

+ + +

+ +

Step 3: Build or Prepare a Compost Bin

+

You can use a variety of containers for composting,
including a dedicated compost bin, a pile enclosed with wire mesh,
or a simple heap on the ground.
Make sure it's large enough to accommodate the amount of organic material you have.

+ +

+ + +

+

Step 4: Layer Organic Materials

+
+

Start by creating a bottom layer of coarse materials like
straw or small branches to promote airflow. Then,
alternate layers of green materials (nitrogen-rich) and brown materials (carbon-rich).

+
+
    +
  • - Green materials: Kitchen scraps, grass clippings, and manure
  • +
  • - Brown materials: Dry leaves, straw, and shredded newspaper
  • +
+ +

+

Step 5: Maintain Moisture and Aeration

+
+

Keep the compost pile moist, like a wrung-out sponge.
Water it periodically, especially during dry periods.
Turn the compost pile every few weeks to aerate it and speed up decomposition.
This helps ensure that all materials decompose evenly.

+ +

+ + +

+

Step 6: Monitor and Adjust

+
+

Monitor the compost pile regularly. It should heat up as decomposition occurs.
If it starts to smell bad or becomes too wet, add more brown materials
and turn the pile to improve airflow. If it's too dry, add water.

+ +

+

Step 7: Harvest Finished Compost

+
+

After several weeks to several months, depending on conditions and materials used,
the compost will be ready. It should be dark, crumbly, and have an earthy smell.
Use a screen or simply hand-pick larger debris to separate the finished compost from any remaining materials.

+

+ + +

+

Step 8: Use Compost in Your Garden

+
+

Apply the finished compost to your garden beds or
around plants as a nutrient-rich soil amendment. It improves soil structure, adds beneficial microorganisms,
and provides essential nutrients for healthy plant growth.

+ +

+ + +. + + + +
+
+ + + + + + + diff --git a/farmfolio resp/farmfolio resp/orgFet/style.css b/farmfolio resp/farmfolio resp/orgFet/style.css new file mode 100644 index 00000000..6bb5beec --- /dev/null +++ b/farmfolio resp/farmfolio resp/orgFet/style.css @@ -0,0 +1,203 @@ + +/* this css page is for how to make organic fertilizer */ + + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: Arial, sans-serif; + overflow-x: hidden; +} + +nav { + height: 70px; + width: 100%; + background-color: #6f964b; + position: fixed; + top: 0; + z-index: 20; +} + +.logo img { + position: fixed; + top: 0; + margin: 0 30px; + height: 80px; +} + + +#language{ + float: right; + display: flex; + align-items: center; + height: 70px; + margin: 0 50px; + height: 45px; + width: 170px; + position: fixed; + top: 10px; + left: 820px; + border-radius: 10px; + background-color: white; +} +#language a{ + color: green; + text-decoration: none; + padding: 5px; + font-size: 20px; +} +#language i{ + align-items: center; + justify-content: center; + float: left; + display: flex; + height: 45px; + width: 35px; + font-size: 30px; + +} + +#lngtxt{ + align-items: center; + justify-content: center; + height: 45px; + width: 100px; + position: relative; + display: flex; + float: right; + font-weight: bold; +} + + +#notification{ + float: right; + display: flex; + align-items: center; + height: 70px; + margin: 0 50px; + height: 45px; + width: 170px; + position: fixed; + top: 10px; + left: 1010px; + border-radius: 10px; + background-color: white; +} +#notification a{ + height: 40px; + position: fixed; + color: green; + text-decoration: none; + padding: 0 5px; + font-size: 20px; +} +#notification i{ + align-items: center; + justify-content: center; + float: left; + display: flex; + height: 45px; + width: 35px; + font-size: 30px; +} + +#notitxt{ + align-items: center; + justify-content: center; + height: 45px; + width: 100px; + font-weight: bold; + position: relative; + display: flex; + float: right; +} + +.sign{ + height: 100px; + width: 800px; + display: flex; + align-items: center; + justify-content: center; + float: right; + margin: 100px 50px; +} + +.sign img{ height: 70px; } + +#login{ + background-color: white; + top: 10px; + position: fixed; + right: 100px; + color: green; + border: none; + height: 45px; + width: 170px; + font-size: 25px; + padding: 10px 30px; + border-radius: 10px; + font-size: 15px; + font-weight: bold; + cursor: pointer; +} + +.srchIcon{ + height: 45px; + width: 60px; + position: fixed; + top: 10px; + left: 350px; + border-radius: 10px 0px 0px 10px; + background-color: darkgreen; + display: flex; + align-items: center; + justify-content: center; +} + +#searchIcon{ + color: white; + margin-right: 10px; + font-size: 30px; +} + +#srch{ + height: 45px; + padding: 10px 30px; + border-radius: 0px 10px 10px 0px; + border: none; + top: 10px; + left: 400px; + width: 450px; + position: fixed; + outline: none; +} +input[type="search"]::-webkit-search-cancel-button { display: none; } + + +.video{ + height: 100vh; + width: 100vw; + display: flex; + justify-content: center; + margin-top: 50px; +} + +.artical{ + height: 100vh; + width: 100vw; + margin: 20px; + padding: 30px; +} +.second{ + height: 100vh; + width: 100vw; + margin: 20px; + padding: 30px; +} +#i2{ + height: 300px; +} \ No newline at end of file diff --git a/farmfolio resp/farmfolio resp/scripts.js b/farmfolio resp/farmfolio resp/scripts.js new file mode 100644 index 00000000..cb2ea747 --- /dev/null +++ b/farmfolio resp/farmfolio resp/scripts.js @@ -0,0 +1,103 @@ + +// login +document.getElementById("login").addEventListener("click", function() { + window.open("login/login.html", "_blank");}); + + +// bio artical + +document.getElementById("bioFert").addEventListener("click", function() { + window.open("orgFet/index.html", "_blank");}); + + +function toggleMenuLayout() { + const navLinks = document.getElementById("navLinks"); + const burgerMenu = document.querySelector(".threeLine"); + + + + if (window.innerWidth <= 768) { + navLinks.classList.add("column-layout"); + burgerMenu.style.display = "flex"; + navLinks.style.display = "none"; + } else { + navLinks.classList.remove("column-layout"); + burgerMenu.style.display = "none"; + navLinks.style.display = "flex"; + } +} + + +function toggleMenu() { + const navLinks = document.getElementById("navLinks"); + const burgerMenu = document.querySelector(".threeLine"); + + navLinks.classList.toggle("active"); + + if (navLinks.classList.contains("active")) { + navLinks.style.display = "flex"; + burgerMenu.classList.add("active"); + } else { + navLinks.style.display = "none"; + } +} + + +window.addEventListener("load", toggleMenuLayout); +window.addEventListener("resize", toggleMenuLayout); + + +function toggleMenu() { + const navLinks = document.getElementById("navLinks"); + const burgerMenu = document.querySelector(".threeLine"); + + navLinks.classList.toggle("active"); + + if (navLinks.classList.contains("active")) { + navLinks.style.display = "flex"; + burgerMenu.classList.add("active"); + } else { + navLinks.style.display = "none"; + burgerMenu.classList.remove("active"); + } +} +document.getElementById("login").addEventListener("click", function() { + window.location.href = "login/index.html"; +}); + + +// image sliding +function slideImages() { + const slider = document.querySelector('.slider'); + let slides = document.querySelectorAll('.slider img'); + let currentIndex = 0; + const slideWidth = 600; + const intervalDuration = 3000; + + + function nextSlide() { + currentIndex++; + if (currentIndex === slides.length) { + currentIndex = 0; + + slider.style.transition = "none"; + slider.style.transform = `translateX(0)`; + + setTimeout(() => { + slider.style.transition = "transform 2s ease-in-out"; + slider.style.transform = `translateX(-${currentIndex * slideWidth}px)`; + }, 100); + } else { + slider.style.transition = "transform 2s ease-in-out"; + slider.style.transform = `translateX(-${currentIndex * slideWidth}px)`; + } + } + + setTimeout(() => { + nextSlide(); + setInterval(nextSlide, intervalDuration); + }, intervalDuration); +} + +window.addEventListener('load', slideImages); + diff --git a/farmfolio resp/farmfolio resp/styles.css b/farmfolio resp/farmfolio resp/styles.css new file mode 100644 index 00000000..32d9b8a8 --- /dev/null +++ b/farmfolio resp/farmfolio resp/styles.css @@ -0,0 +1,467 @@ + + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: Arial, sans-serif; + overflow-x: hidden; +} + +nav { + height: 70px; + width: 100%; + background-color: #6f964b; + position: fixed; + top: 0; + z-index: 20; +} + +.container { + display: flex; + justify-content: space-between; + align-items: center; + padding: 20px; + position: relative; +} + +.logo img { + position: fixed; + top: 0; + margin: 0 30px; + height: 80px; + /* background-color: rebeccapurple; */ +} + +.srchIcon{ + height: 45px; + width: 60px; + position: fixed; + top: 10px; + left: 350px; + border-radius: 10px 0px 0px 10px; + background-color: darkgreen; + display: flex; + align-items: center; + justify-content: center; + +} + + +.threeLine { + display: none; + flex-direction: column; + cursor: pointer; + position: absolute; + top: 50%; + right: 20px; + transform: translateY(-50%); / +} + +.line1, .line2, .line3 { + width: 25px; + height: 3px; + background-color: #fff; + margin: 3px; + transition: all 0.3s ease; +} + +.active .line1 { + transform: rotate(-45deg) translate(-3px, 6px); +} + +.active .line2 { + opacity: 0; +} + +.active .line3 { + transform: rotate(45deg) translate(-3px, -6px); +} + + + +@media screen and (max-width: 768px) { + nav { + height: 100px; + } + + .main { + display: flex; + justify-content: space-between; + align-items: center; + padding: 10px; + } + + .logo img { + height: 100px; + } + + #language, #notitxt, #notification, #search, #login{ + display: none; + } + + .srchIcon{ + color: red; + } + +} + + + + +.hero { + + display: inline-block; + vertical-align: top; + height: 400px; + width: 100%; + overflow: hidden; + margin-right: 20px; +} + +.slider { + position: relative; + top: 10px; + display: flex; + width: 770px; + height: 650px; + gap: 10px; + animation: slide 10s infinite; + position: relative; +} + +.slider img { + width: 100%; + height: 100%; + object-fit: cover; +} + +*/ + + +#language{ + float: right; + display: flex; + align-items: center; + height: 70px; + margin: 0 50px; + height: 45px; + width: 170px; + position: fixed; + top: 10px; + left: 820px; + border-radius: 10px; + background-color: white; +} +#language a{ + color: green; + text-decoration: none; + padding: 5px; + font-size: 20px; +} +#language i{ + align-items: center; + justify-content: center; + float: left; + display: flex; + height: 45px; + width: 35px; + font-size: 30px; + +} + +#lngtxt{ + align-items: center; + justify-content: center; + height: 45px; + width: 100px; + position: relative; + display: flex; + float: right; + font-weight: bold; +} + + +#notification{ + float: right; + display: flex; + align-items: center; + height: 70px; + margin: 0 50px; + height: 45px; + width: 170px; + position: fixed; + top: 10px; + left: 1010px; + border-radius: 10px; + background-color: white; +} +#notification a{ + height: 40px; + position: fixed; + color: green; + text-decoration: none; + padding: 0 5px; + font-size: 20px; +} +#notification i{ + align-items: center; + justify-content: center; + float: left; + display: flex; + height: 45px; + width: 35px; + font-size: 30px; + +} + +#notitxt{ + align-items: center; + justify-content: center; + height: 45px; + width: 100px; + font-weight: bold; + position: relative; + display: flex; + float: right; + +} + +.bioFertilizer{ + height: 250px; + width: 65%; + margin: 10px 10px; + display: flex; + align-items: center; + float: left; + padding: 65px; +} +.bioFertilizer img{ + height: 200px; + border: 2px solid black; + +} +#wheatImage{ + height: 200px; + width: 450px; +} + +.bioFertilizer h3{ + width: 250px; + +} +.bioFertilizer a{ + text-decoration: none; +} +.artical{ + margin: 0 20px; + position: relative; + +} + + +#image1{background-image: url(./image/bioFer.jpg);} + +#image2{background-image: url(./image/smartFarming.jpg); +border: 2px solid black; +width: 1250px; +height: 200px; +background-repeat: no-repeat; +background-size: cover; +background-position: center center; + +} + +#image3{background-image: url(./image/plantFertlizer.jpg);} + +#image1, #image3{ +border: 2px solid black; +width: 800px; +height: 200px; +background-repeat: no-repeat; +background-size: cover; +background-position: center center; +} + +.alert{ + + height: 1000px; + width: 450px; + display: flex; + justify-content: center; + position: sticky; + margin: 60px; + border: 2px solid black; + +} + +.alert h2{ + margin: 50px 0; + height: 100px; + width: 100%; + padding: 50px 100px; + position: absolute; +} + +.aleartmsg{ + height: 50px; + width: 100%; + position: absolute; +} + +#tree{ + height: 800px; + width: 400px; + margin-top: 175px; + background-image: url(./image/tree.jpg); + background-position: center; + background-repeat: no-repeat; + background-size: cover; +} + +footer{ + background-color: rgb(19, 17, 17); + height: 500px; + width: 100%; + position: absolute; + display: flex; + justify-content: space-between; + +} + + +.dev{ + height: 70px; + width: 390px; + position: absolute; + right: 300px; + top: 27px; + display: flex; + align-items: center; + justify-content: center; + font-size: 20px; + color: white; + float: right; +} + + + + + +#login{ + background-color: white; + top: 10px; + position: fixed; + right: 100px; + color: green; + border: none; + height: 45px; + width: 170px; + font-size: 25px; + padding: 10px 30px; + border-radius: 10px; + font-size: 15px; + font-weight: bold; + cursor: pointer; +} + + +#searchIcon{ + color: white; + margin-right: 10px; + font-size: 30px; + +} + +#srch{ + height: 45px; + padding: 10px 30px; + border-radius: 0px 10px 10px 0px; + border: none; + top: 10px; + left: 400px; + width: 450px; + position: fixed; + outline: none; +} + +input[type="search"]::-webkit-search-cancel-button { + display: none; + } + +.feedback{ + border: 2px solid white; + height: 400px; + width: 400px; + margin: 40px 70px; + border-radius: 10px 10px 15px 15px; + justify-content: center; + display: flex; + flex-direction: column; + float: left; +} + +.feedback h3{ + color: white; + margin-top: 20px; + font-size: 30px; + height: 40px; + width: 100%; + padding-left: 120px; + position: relative; +} + +#nameInFeedbox{ + height: 30px; + width: 80%; + margin: 10px 30px; + color: black; +} + +#emailInFeedbox{ + height: 30px; + width: 80%; + margin: 10px 30px; + color: black; +} +.nameFeed, .emailFeed, .msg{ + color: white; + margin-left: 30px; +} +.terms{ + color: white; + width: 90%; + font-size: 15px; + display: flex; + float: right; + margin-left: 20px; + margin-bottom: 10px; + margin-top: 10px; + gap: 5px; + +} +.terms a{ + color: white; +} + +#submit{ + background-color: white; + color: black; + text-transform: uppercase; + height: 50px; + overflow: hidden; + font-size: 20px; + font-weight: bold; + border: none; + border-radius: 0 0 10px 10px; + cursor: pointer; +} +#feedMsg{ + height: 100px; + width: 80%; + margin-left: 30px; +} +