Skip to content

Commit

Permalink
change origin
Browse files Browse the repository at this point in the history
  • Loading branch information
Nahid4306053 committed Dec 3, 2023
0 parents commit e95d249
Show file tree
Hide file tree
Showing 120 changed files with 12,038 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
settings: { react: { version: '18.2' } },
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!-- PROJECT NAME -->
# Donation Campaign

[![Project Screenshot](https://github.com/programming-hero-web-course-4/b8a8-donation-campaign-Nahid4306053/blob/main/public/images/web_preview.jpg)](https://ph-donation-campion.netlify.app/)

## Features

🌟 Users can select any charity for donation and access comprehensive information about the chosen charity by clicking on its card.

🔎 Users can search for charities by category to easily find their desired charity for donation.

📜 In the donation page, users can track how many charities they have contributed to and see their donation history.

✉️ When users make a donation to a charity, they will receive a confirmation message. If a previously selected charity is chosen again, an error message will be displayed to prevent duplicate donations.

📊 Users can monitor their donation progress and see the percentage of their donations compared to the total donation in the Statistics page.

🖥️ The website is responsive, ensuring users can access and track their donation status seamlessly on their laptops, desktops, Android devices, and tablets.




2 changes: 2 additions & 0 deletions dotenv.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import dotenv from 'dotenv';
dotenv.config();
20 changes: 20 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!doctype html>
<html data-theme="light" lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="favicon" href="/images/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Jost:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.3.0/css/all.css">
<link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.3.0/css/sharp-solid.css">
<link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.3.0/css/sharp-regular.css">

<title>NahidER School</title>
</head>
<body style="font-family: 'Jost', sans-serif;">
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading

0 comments on commit e95d249

Please sign in to comment.