Skip to content

Commit

Permalink
fix: prod fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalCodes committed Apr 9, 2024
1 parent 10707aa commit 2c61cf3
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 31 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/MilanCommunity/Milan)](https://github.com/MilanCommunity/Milan/releases) ![GitHub repo size](https://img.shields.io/github/repo-size/MilanCommunity/Milan)

# What is NGOWorld ?
# What is NgoWorld ?

NGOWorld is a hub to **connect** NGOs, Charities, and the world to **collaborate** and **build** a better tomorrow. Sign up as an organization/user and be a cause for change. Don't forget to drop a star ⭐.
NgoWorld is a hub to **connect** NGOs, Charities, and the world to **collaborate** and **build** a better tomorrow. Sign up as an organization/user and be a cause for change. Don't forget to drop a star ⭐.

<br/>

Expand All @@ -16,7 +16,7 @@ NGOWorld is a hub to **connect** NGOs, Charities, and the world to **collaborate

</div>

<img alt="NGOWorld Readme Banner" src="./src/assets/pictures/readme/MilanBanner.png" width="700px"/>
<img alt="NgoWorld Readme Banner" src="./src/assets/pictures/readme/MilanBanner.png" width="700px"/>

</div>

Expand Down Expand Up @@ -46,11 +46,11 @@ NGOWorld is a hub to **connect** NGOs, Charities, and the world to **collaborate

</br>

# Contributing to NGOWorld 🔐
# Contributing to NgoWorld 🔐

Remember, Good PR makes you a Good contributor !

We at NGOWorld work hard to maintain the structure, and [use conventional Pull](https://github.com/MilanCommunity/Milan/blob/main/CONTRIBUTING.md#pull-request-title-format-) request titles and commits. Without a proper template for the PR, not following the guidelines and spam might get the pull request closed, or banned.
We at NgoWorld work hard to maintain the structure, and [use conventional Pull](https://github.com/MilanCommunity/Milan/blob/main/CONTRIBUTING.md#pull-request-title-format-) request titles and commits. Without a proper template for the PR, not following the guidelines and spam might get the pull request closed, or banned.

## 1️. Setting up the project locally

Expand All @@ -67,7 +67,7 @@ We at NGOWorld work hard to maintain the structure, and [use conventional Pull](

# License 👮

NGOWorld is Licensed under the <a href="./LICENSE">MIT License</a>. Please go through the License at least once before contributing.
NgoWorld is Licensed under the <a href="./LICENSE">MIT License</a>. Please go through the License at least once before contributing.

# Support 🙏

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
If you find a security error please **DONOT** make an issue /discussion out of it, talk about it publicly, instead report it with the most details possible to [Tamal Das](https://twitter.com/tamalCodes). You can expect an update within the next **36 hours** - if not please be patient.

Thankyou.
Team NGOWorld.
Team NgoWorld.
2 changes: 1 addition & 1 deletion cypress/e2e/milanTest.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Cypress.env("CI", false);

describe("Checking if the backend is working properly or not", () => {
it("GET request for users", () => {
cy.request("https://api.milanhub.org/display/users").then((response) => {
cy.request("https://api.ngoworld.org/display/users").then((response) => {
expect(response.body.length).to.be.greaterThan(100);
});
});
Expand Down
16 changes: 8 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description"
content="Welcome to NGOWorld, we are a hub to connect NGOs, Charities, and the world to collaborate and build a better tommorow."
content="Welcome to NgoWorld, we are a hub to connect NGOs, Charities, and the world to collaborate and build a better tommorow."
data-rh="true" />
<meta name="google-site-verification" content="ISkkPcMaQwANRR5_0CPjjxQJ3SyWzUt94nSP7wc1JdA" />

Expand All @@ -19,29 +19,29 @@
<meta name="apple-mobile-web-app-status-bar-style" content="#ff5b31" />

<!-- Primary Meta Tags -->
<meta name="title" content="NGOWorld" />
<meta name="title" content="NgoWorld" />
<meta name="language" content="en">
<meta name="author" content="Tamal Das">
<meta name="robots" content="index, follow">
<meta name="revisit-after" content="7 days">
<meta name="keywords"
content="NGOWorld, hub, connect, user collaboration, charities, NGO, support, social impact,community">
content="NgoWorld, hub, connect, user collaboration, charities, NGO, support, social impact,community">

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://milanhub.org/" />
<meta property="og:title" content="NGOWorld" />
<meta property="og:title" content="NgoWorld" />
<meta property="og:description"
content="Welcome to NGOWorld, we are a hub to connect NGOs, Charities, and the world to collaborate and build a better tommorow." />
content="Welcome to NgoWorld, we are a hub to connect NGOs, Charities, and the world to collaborate and build a better tommorow." />
<meta property="og:image"
content="https://raw.githubusercontent.com/MilanCommunity/Milan/main/src/assets/pictures/Banner/MilanSEO.svg" />

<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://milanhub.org/" />
<meta property="twitter:title" content="NGOWorld" />
<meta property="twitter:title" content="NgoWorld" />
<meta property="twitter:description"
content="Welcome to NGOWorld, we are a hub to connect NGOs, Charities, and the world to collaborate and build a better tommorow." />
content="Welcome to NgoWorld, we are a hub to connect NGOs, Charities, and the world to collaborate and build a better tommorow." />
<meta property="twitter:image"
content="https://raw.githubusercontent.com/MilanCommunity/Milan/main/src/assets/pictures/Banner/MilanSEO.svg" />

Expand All @@ -65,7 +65,7 @@
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap"
rel="stylesheet">

<title>NGOWorld</title>
<title>NgoWorld</title>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "Tamal Das",
"email": "[email protected]"
},
"description": "The frontend for Milan webapp.",
"description": "The frontend for NgoWorld webapp.",
"license": "MIT",
"homepage": "https://milanhub.vercel.app/",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/private/infoBanner/Landing.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const Landing = () => {

{windowWidth > 430 ? (
<h2>
NGOWorld is an OpenSource platform to <span>connect</span> NGOs,
NgoWorld is an OpenSource platform to <span>connect</span> NGOs,
Charities, and you to <span>collaborate</span> and{" "}
<span>build</span> a better tomorrow.
</h2>
Expand Down
2 changes: 1 addition & 1 deletion src/components/private/landing/Landing.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Landing = () => {

{windowWidth > 430 ? (
<p>
Welcome to <span>NGOWorld</span>, a platform to connect and
Welcome to <span>NgoWorld</span>, a platform to connect and
support NGOs, charities and you to build a better tomorrow.
</p>
) : (
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ const Home = () => {
return (
<>
<Helmet>
<title>NGOWorld</title>
<title>NgoWorld</title>
<meta
name="description"
content="Welcome to the homepage of NGOWorld, a hub for Users to collaborate with NGOs, Charities and more."
content="Welcome to the homepage of NgoWorld, a hub for Users to collaborate with NGOs, Charities and more."
/>
<link rel="canonical" href="/" />
</Helmet>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/auth/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const Login = () => {
return (
<>
<Helmet>
<title>NGOWorld | Login</title>
<title>NgoWorld | Login</title>
<meta
name="description"
content="Welcome to the Club's login page. Provide all the needed credentials and join us."
Expand Down
2 changes: 1 addition & 1 deletion src/pages/auth/SignUp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const SignUp = () => {
return (
<>
<Helmet>
<title>NGOWorld | SignUp</title>
<title>NgoWorld | SignUp</title>
<meta
name="description"
content="Welcome to the Club's registration page. Provide all the needed credentials and join us."
Expand Down
2 changes: 1 addition & 1 deletion src/pages/donate/Donate.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const Donate = () => {
return (
<>
<Helmet>
<title>NGOWorld | Donations</title>
<title>NgoWorld | Donations</title>
<meta
name="description"
content="Welcome to the donations page, even a small amount can help folks struggling out there."
Expand Down
8 changes: 4 additions & 4 deletions src/utils/ComponentHelmet.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ import { Helmet } from "react-helmet-async";
function ComponentHelmet({ type }) {
return type == "Clubs" ? (
<Helmet>
<title>NGOWorld | {type}</title>
<title>NgoWorld | {type}</title>
<meta
name="description"
content="This is the clubs page of NGOWorld, where you can find all the clubs in the community."
content="This is the clubs page of NgoWorld, where you can find all the clubs in the community."
/>
<link rel="canonical" href="/" />
</Helmet>
) : type == "Events" ? (
<Helmet>
<title>NGOWorld | Events </title>
<title>NgoWorld | Events </title>
<meta
name="description"
content="This is the events page of NGOWorld, where you can find all the events happening in the community."
content="This is the events page of NgoWorld, where you can find all the events happening in the community."
/>
<link rel="canonical" href="/" />
</Helmet>
Expand Down
6 changes: 3 additions & 3 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export default defineConfig({
includeAssets: ["favicon.svg", "robots.txt"],
injectRegister: "auto",
manifest: {
short_name: "NGOWorld",
name: "NGOWorld",
short_name: "NgoWorld",
name: "NgoWorld",
start_url: "./",
display: "standalone",
theme_color: "#000000",
Expand Down Expand Up @@ -109,7 +109,7 @@ export default defineConfig({
},
},
{
urlPattern: new RegExp("^https://api.milanhub.org/(.*)"),
urlPattern: new RegExp("^https://api.ngoworld.org/(.*)"),
handler: "StaleWhileRevalidate",
options: {
cacheName: "api",
Expand Down

0 comments on commit 2c61cf3

Please sign in to comment.