diff --git a/README.md b/README.md index 1a7d008..acb67e4 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This repository contains the common source code of two websites, Chowdhary.org and Chowdhary.co. It uses React with Next.js and Tailwind CSS. -## Repository Structure +## Repository Structure ```sh └── website/ @@ -42,12 +42,12 @@ This repository contains the common source code of two websites, Chowdhary.org a └── tsconfig.json ``` -## Modules +## Modules
. | File | Summary | -| --- | --- | +| --------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [next.config.js](https://github.com/chowdhary-org/website/blob/master/next.config.js) | Enables static site generation and image optimization with export output and unoptimized images in Next.js project. | | [tailwind.config.ts](https://github.com/chowdhary-org/website/blob/master/tailwind.config.ts) | Customizes Tailwind CSS settings for the websites responsive typography, colors, and layouts, utilizing Tailwinds theming capabilities and third-party plugins. Enhances the overall user interface design by defining font sizes, colors, border radii, and maximum widths. | | [prettier.config.js](https://github.com/chowdhary-org/website/blob/master/prettier.config.js) | Enforce consistent coding style by configuring Prettier with single quotes, no semicolons, and a Tailwind CSS plugin. | @@ -61,7 +61,7 @@ This repository contains the common source code of two websites, Chowdhary.org a
public | File | Summary | -| --- | --- | +| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | [CNAME](https://github.com/chowdhary-org/website/blob/master/public/CNAME) | Maps domain chowdhary.org to the website, enabling access to the site via the custom domain. This file plays a critical role in directing incoming traffic to the correct web content in the parent repository's architecture. | | [.nojekyll](https://github.com/chowdhary-org/website/blob/master/public/.nojekyll) | Enables hosting static assets by preventing Jekyll processing on GitHub Pages, ensuring proper rendering of files like icons, logos, and manifest files in the projects public directory. | | [site.webmanifest](https://github.com/chowdhary-org/website/blob/master/public/site.webmanifest) | Defines branding and display properties for Chowdhary.org when saved to a users mobile device. Specifies icons, colors, and display mode for a personalized web app experience. | @@ -72,7 +72,7 @@ This repository contains the common source code of two websites, Chowdhary.org a
.github.workflows | File | Summary | -| --- | --- | +| --------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [dispatch.yml](https://github.com/chowdhary-org/website/blob/master/.github/workflows/dispatch.yml) | Orchestrates CI/CD workflows through GitHub Actions.-Triggers build and deployment pipelines.-Enhances automation and streamlines development processes.-Integrates seamlessly with the repositorys architecture. |
@@ -80,7 +80,7 @@ This repository contains the common source code of two websites, Chowdhary.org a
src.app | File | Summary | -| --- | --- | +| ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [layout.tsx](https://github.com/chowdhary-org/website/blob/master/src/app/layout.tsx) | Defines metadata and layout for Chowdhary.org, incorporating custom fonts and essential styling. Maintains consistent branding and content structure across the website. | | [not-found.tsx](https://github.com/chowdhary-org/website/blob/master/src/app/not-found.tsx) | Defines a NotFound UI component structure without footer, displaying a 404 message and offering a button to return home. It utilizes foundational components within the websites architecture for consistent styling and layout. | @@ -89,7 +89,7 @@ This repository contains the common source code of two websites, Chowdhary.org a
src.app.foundation | File | Summary | -| --- | --- | +| ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [layout.tsx](https://github.com/chowdhary-org/website/blob/master/src/app/foundation/layout.tsx) | Defines MainLayout component to render children within Layout component, facilitating consistent page structure across the website repository. | | [page.tsx](https://github.com/chowdhary-org/website/blob/master/src/app/foundation/page.tsx) | Combines Hero, Schedule, Projects, Sponsors, and Newsletter components to compose the Home page of the website. This file orchestrates the layout and content structure critical for the foundation of the parent repositorys frontend architecture. | @@ -98,7 +98,7 @@ This repository contains the common source code of two websites, Chowdhary.org a
src.app.foundation.components | File | Summary | -| --- | --- | +| ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | [Projects.tsx](https://github.com/chowdhary-org/website/blob/master/src/app/foundation/components/Projects.tsx) | Illustrates project highlights creatively with images and narratives, inviting engagement. Displays a curated collection of impactful initiatives and their stories, connecting users with the organizations vision and founder. | | [Newsletter.tsx](https://github.com/chowdhary-org/website/blob/master/src/app/foundation/components/Newsletter.tsx) | Implements a newsletter section for grant applications with inputs for name, email, topic selection, and message submission functionality. Designed with a visually appealing layout using Tailwind CSS classes. | | [Hero.tsx](https://github.com/chowdhary-org/website/blob/master/src/app/foundation/components/Hero.tsx) | Illustrates a Hero section on the Chowdhary.org website, showcasing the organizations mission. Utilizes BackgroundImage, Button, and Container components to present the technology-focused narrative and encourage grant applications. | @@ -118,7 +118,7 @@ This repository contains the common source code of two websites, Chowdhary.org a
src.app.holdings | File | Summary | -| --- | --- | +| ---------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [layout.tsx](https://github.com/chowdhary-org/website/blob/master/src/app/holdings/layout.tsx) | Defines MainLayout component in the holdings section, import Layout from @/app/holdings/components/Layout. It renders children within Layout component. Key for structuring content in the website repository. | | [page.tsx](https://github.com/chowdhary-org/website/blob/master/src/app/holdings/page.tsx) | Displays hero section, schedule, projects, sponsors, and newsletter on the homepage, contributing to the functionality of the holdings page in the website repository. | @@ -127,7 +127,7 @@ This repository contains the common source code of two websites, Chowdhary.org a
src.app.holdings.components | File | Summary | -| --- | --- | +| --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [Projects.tsx](https://github.com/chowdhary-org/website/blob/master/src/app/holdings/components/Projects.tsx) | Illustrates project descriptions with status labels, URLs, and summaries rendered in a dynamic grid layout. Prominently displays a tech entrepreneurs visionary message alongside a curated list of ventures, reflecting the repositorys UI component integration within a funding platform's web page. | | [Newsletter.tsx](https://github.com/chowdhary-org/website/blob/master/src/app/holdings/components/Newsletter.tsx) | Implements a newsletter section for investment applications and community event sponsorship. Allows users to submit names, emails, topics, and messages through a form. Designed to accelerate humanitys progress through technological change. | | [Hero.tsx](https://github.com/chowdhary-org/website/blob/master/src/app/holdings/components/Hero.tsx) | Defines a Hero component rendering a prominent title and message in the websites holdings section, conveying the accelerators mission and values. Incorporated with a background image, styled container, and an actionable call-to-action button for potential investors. | @@ -147,18 +147,18 @@ This repository contains the common source code of two websites, Chowdhary.org a
src.styles | File | Summary | -| --- | --- | +| -------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [tailwind.css](https://github.com/chowdhary-org/website/blob/master/src/styles/tailwind.css) | Enhances styling consistency by applying Tailwind CSS utilities and base styles. Defines a layout rule for full-width parent-relative links, contributing to a unified design language across the website. |
-## Getting Started +## Getting Started **System Requirements:** -* **TypeScript**: `version x.y.z` +- **TypeScript**: `version x.y.z` -### Installation +### Installation

From source

@@ -169,26 +169,28 @@ This repository contains the common source code of two websites, Chowdhary.org a > ``` > > 2. Change to the project directory: +> > ```console > $ cd website > ``` > > 3. Install the dependencies: +> > ```console > $ npm install > ``` -### Usage +### Usage

From source

> Run website using the command below: +> > ```console > $ npm run dev > ``` - -## Contributing +## Contributing Contributions are welcome! Here are several ways you can contribute: diff --git a/public/.nojekyll b/public/.nojekyll deleted file mode 100644 index e69de29..0000000 diff --git a/public/android-chrome-192x192.png b/public/android-chrome-192x192.png deleted file mode 100644 index 2868ee8..0000000 Binary files a/public/android-chrome-192x192.png and /dev/null differ diff --git a/public/android-chrome-512x512.png b/public/android-chrome-512x512.png deleted file mode 100644 index 88edef1..0000000 Binary files a/public/android-chrome-512x512.png and /dev/null differ diff --git a/public/favicon-16x16.png b/public/favicon-16x16.png deleted file mode 100644 index 506c958..0000000 Binary files a/public/favicon-16x16.png and /dev/null differ diff --git a/public/favicon-32x32.png b/public/favicon-32x32.png deleted file mode 100644 index 440dd99..0000000 Binary files a/public/favicon-32x32.png and /dev/null differ diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100644 index d5da57e..0000000 Binary files a/public/favicon.ico and /dev/null differ diff --git a/public/foundation/android-chrome-192x192.png b/public/foundation/android-chrome-192x192.png new file mode 100644 index 0000000..f67aeb5 Binary files /dev/null and b/public/foundation/android-chrome-192x192.png differ diff --git a/public/foundation/android-chrome-512x512.png b/public/foundation/android-chrome-512x512.png new file mode 100644 index 0000000..3c90f62 Binary files /dev/null and b/public/foundation/android-chrome-512x512.png differ diff --git a/public/foundation/apple-touch-icon.png b/public/foundation/apple-touch-icon.png new file mode 100644 index 0000000..b1572a0 Binary files /dev/null and b/public/foundation/apple-touch-icon.png differ diff --git a/public/browserconfig.xml b/public/foundation/browserconfig.xml similarity index 82% rename from public/browserconfig.xml rename to public/foundation/browserconfig.xml index 748e845..2516e3a 100644 --- a/public/browserconfig.xml +++ b/public/foundation/browserconfig.xml @@ -3,7 +3,7 @@ - #ff0000 + #15b8a6 diff --git a/public/foundation/favicon-16x16.png b/public/foundation/favicon-16x16.png new file mode 100644 index 0000000..487ef02 Binary files /dev/null and b/public/foundation/favicon-16x16.png differ diff --git a/public/foundation/favicon-32x32.png b/public/foundation/favicon-32x32.png new file mode 100644 index 0000000..b45da38 Binary files /dev/null and b/public/foundation/favicon-32x32.png differ diff --git a/public/foundation/favicon.ico b/public/foundation/favicon.ico new file mode 100644 index 0000000..5589e13 Binary files /dev/null and b/public/foundation/favicon.ico differ diff --git a/public/foundation/googlef8a032d646066bf7.html b/public/foundation/googlef8a032d646066bf7.html new file mode 100644 index 0000000..805a0c4 --- /dev/null +++ b/public/foundation/googlef8a032d646066bf7.html @@ -0,0 +1 @@ +google-site-verification: googlef8a032d646066bf7.html diff --git a/public/logo.svg b/public/foundation/logo.svg similarity index 100% rename from public/logo.svg rename to public/foundation/logo.svg diff --git a/public/foundation/mstile-144x144.png b/public/foundation/mstile-144x144.png new file mode 100644 index 0000000..e57faf0 Binary files /dev/null and b/public/foundation/mstile-144x144.png differ diff --git a/public/foundation/mstile-150x150.png b/public/foundation/mstile-150x150.png new file mode 100644 index 0000000..f7c3bc6 Binary files /dev/null and b/public/foundation/mstile-150x150.png differ diff --git a/public/foundation/mstile-310x150.png b/public/foundation/mstile-310x150.png new file mode 100644 index 0000000..1b96dfd Binary files /dev/null and b/public/foundation/mstile-310x150.png differ diff --git a/public/foundation/mstile-310x310.png b/public/foundation/mstile-310x310.png new file mode 100644 index 0000000..d39f2e0 Binary files /dev/null and b/public/foundation/mstile-310x310.png differ diff --git a/public/foundation/mstile-70x70.png b/public/foundation/mstile-70x70.png new file mode 100644 index 0000000..fa77c78 Binary files /dev/null and b/public/foundation/mstile-70x70.png differ diff --git a/public/foundation/safari-pinned-tab.svg b/public/foundation/safari-pinned-tab.svg new file mode 100644 index 0000000..852940a --- /dev/null +++ b/public/foundation/safari-pinned-tab.svg @@ -0,0 +1,3464 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + + + + + + + + + + + + + + + diff --git a/public/site.webmanifest b/public/foundation/site.webmanifest similarity index 59% rename from public/site.webmanifest rename to public/foundation/site.webmanifest index 678e408..b3fa4ac 100644 --- a/public/site.webmanifest +++ b/public/foundation/site.webmanifest @@ -3,17 +3,17 @@ "short_name": "Chowdhary.org", "icons": [ { - "src": "/assets/android-chrome-192x192.png", + "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" }, { - "src": "/assets/android-chrome-512x512.png", + "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" } ], - "theme_color": "#ffffff", - "background_color": "#ffffff", + "theme_color": "#15b8a6", + "background_color": "#15b8a6", "display": "standalone" } diff --git a/public/googlef8a032d646066bf7.html b/public/googlef8a032d646066bf7.html deleted file mode 100644 index be6f467..0000000 --- a/public/googlef8a032d646066bf7.html +++ /dev/null @@ -1 +0,0 @@ -google-site-verification: googlef8a032d646066bf7.html \ No newline at end of file diff --git a/public/holdings/android-chrome-192x192.png b/public/holdings/android-chrome-192x192.png new file mode 100644 index 0000000..7887d9f Binary files /dev/null and b/public/holdings/android-chrome-192x192.png differ diff --git a/public/holdings/android-chrome-512x512.png b/public/holdings/android-chrome-512x512.png new file mode 100644 index 0000000..b482295 Binary files /dev/null and b/public/holdings/android-chrome-512x512.png differ diff --git a/public/apple-touch-icon.png b/public/holdings/apple-touch-icon.png similarity index 57% rename from public/apple-touch-icon.png rename to public/holdings/apple-touch-icon.png index b0089c8..bde7905 100644 Binary files a/public/apple-touch-icon.png and b/public/holdings/apple-touch-icon.png differ diff --git a/public/holdings/browserconfig.xml b/public/holdings/browserconfig.xml new file mode 100644 index 0000000..61edffb --- /dev/null +++ b/public/holdings/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #0ca5e9 + + + diff --git a/public/holdings/favicon-16x16.png b/public/holdings/favicon-16x16.png new file mode 100644 index 0000000..03001b0 Binary files /dev/null and b/public/holdings/favicon-16x16.png differ diff --git a/public/holdings/favicon-32x32.png b/public/holdings/favicon-32x32.png new file mode 100644 index 0000000..a8356d6 Binary files /dev/null and b/public/holdings/favicon-32x32.png differ diff --git a/public/holdings/favicon.ico b/public/holdings/favicon.ico new file mode 100644 index 0000000..c35e293 Binary files /dev/null and b/public/holdings/favicon.ico differ diff --git a/public/holdings/mstile-144x144.png b/public/holdings/mstile-144x144.png new file mode 100644 index 0000000..b57cb28 Binary files /dev/null and b/public/holdings/mstile-144x144.png differ diff --git a/public/holdings/mstile-150x150.png b/public/holdings/mstile-150x150.png new file mode 100644 index 0000000..b5f62f4 Binary files /dev/null and b/public/holdings/mstile-150x150.png differ diff --git a/public/holdings/mstile-310x150.png b/public/holdings/mstile-310x150.png new file mode 100644 index 0000000..9b4cf51 Binary files /dev/null and b/public/holdings/mstile-310x150.png differ diff --git a/public/holdings/mstile-310x310.png b/public/holdings/mstile-310x310.png new file mode 100644 index 0000000..16db686 Binary files /dev/null and b/public/holdings/mstile-310x310.png differ diff --git a/public/holdings/mstile-70x70.png b/public/holdings/mstile-70x70.png new file mode 100644 index 0000000..0efd02a Binary files /dev/null and b/public/holdings/mstile-70x70.png differ diff --git a/public/holdings/safari-pinned-tab.svg b/public/holdings/safari-pinned-tab.svg new file mode 100644 index 0000000..852940a --- /dev/null +++ b/public/holdings/safari-pinned-tab.svg @@ -0,0 +1,3464 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + + + + + + + + + + + + + + + diff --git a/public/holdings/site.webmanifest b/public/holdings/site.webmanifest new file mode 100644 index 0000000..d12945a --- /dev/null +++ b/public/holdings/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "Chowdhary.co", + "short_name": "Chowdhary.co", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#0ca5e9", + "background_color": "#0ca5e9", + "display": "standalone" +} diff --git a/public/mstile-150x150.png b/public/mstile-150x150.png deleted file mode 100644 index dacaf8e..0000000 Binary files a/public/mstile-150x150.png and /dev/null differ diff --git a/public/safari-pinned-tab.svg b/public/safari-pinned-tab.svg deleted file mode 100644 index 87d7921..0000000 --- a/public/safari-pinned-tab.svg +++ /dev/null @@ -1,3450 +0,0 @@ - - - - -Created by potrace 1.14, written by Peter Selinger 2001-2017 - - - - - - - - - - - - - - - - diff --git a/src/app/foundation/components/BackgroundImage.tsx b/src/app/foundation/components/BackgroundImage.tsx index cab55c2..42e921c 100644 --- a/src/app/foundation/components/BackgroundImage.tsx +++ b/src/app/foundation/components/BackgroundImage.tsx @@ -10,7 +10,7 @@ export function BackgroundImage({ return (
diff --git a/src/app/foundation/components/Button.tsx b/src/app/foundation/components/Button.tsx index 9fa6f43..cd6f42b 100644 --- a/src/app/foundation/components/Button.tsx +++ b/src/app/foundation/components/Button.tsx @@ -14,17 +14,17 @@ export function Button({ className, children, ...props }: ButtonProps) { return typeof props.href === 'undefined' ? (
) : (
- + {children} - +
) diff --git a/src/app/foundation/components/Footer.tsx b/src/app/foundation/components/Footer.tsx index 0b124f0..ff6f9aa 100644 --- a/src/app/foundation/components/Footer.tsx +++ b/src/app/foundation/components/Footer.tsx @@ -6,7 +6,7 @@ export function Footer() { return (