├── .env.example ├── .eslintrc.cjs ├── .gitignore ├── .prettierrc.json ├── LICENSE ├── README.md ├── index.html ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── public ├── FAQSection │ └── arrow.svg ├── Footer │ ├── github.svg │ ├── instagram.svg │ ├── linkedin.svg │ ├── logo.svg │ ├── mail.svg │ ├── twitter.svg │ └── youtube.svg ├── HeroSection │ ├── Ellipse 24.png │ ├── Ellipse.svg │ ├── Group 36.svg │ ├── Line 6.png │ └── chevron-right.svg ├── Navbar │ ├── close1.svg │ ├── discord.svg │ ├── logo.png │ └── menu.svg ├── PartnersSection │ ├── ACM.png │ ├── ACMSIGAI.png │ ├── ALG.png │ ├── ASCE.png │ ├── FOSS.png │ ├── GDSCTCET.png │ ├── GENOSISX.jpeg │ ├── GFGTCET.jpg │ ├── HACKSQUAD.png │ ├── IEI.png │ ├── IETE.png │ ├── ISTE.png │ ├── MINDBENDERS.png │ ├── MINDSDB.jpg │ ├── MLH.svg │ ├── OWASP.png │ ├── RCTCET.png │ ├── SDST.png │ ├── SORT.png │ ├── VULTR.png │ ├── docLogo.svg │ ├── push.jpeg │ └── sponsorGradient.svg ├── RegisterSection │ ├── Ellipse24.svg │ └── register.svg ├── exploreSection │ ├── Ellipse23.svg │ └── star.svg └── tcet.svg ├── src ├── App.jsx ├── components │ ├── Example │ │ └── Example.jsx │ ├── FAQSection │ │ ├── FAQSection.jsx │ │ └── faq-data.js │ ├── Footer │ │ ├── Footer.jsx │ │ └── data.js │ ├── HeroSection │ │ └── HeroSection.jsx │ ├── MLHSection │ │ └── MLHSection.jsx │ ├── Navbar │ │ └── Navbar.jsx │ ├── PartnerSection │ │ ├── CloudSection.jsx │ │ ├── CollabSection.jsx │ │ ├── CommunitySection.jsx │ │ ├── SpecialSection.jsx │ │ ├── Sponsor.jsx │ │ ├── SponsorSection.jsx │ │ ├── SponsoredBy.jsx │ │ ├── data.js │ │ └── mlh.jsx │ ├── RegisterSection │ │ ├── RegisterSection.jsx │ │ ├── index.jsx │ │ └── registerSection.jsx │ └── exploreSection │ │ ├── data.js │ │ └── explore.jsx ├── globals.css ├── main.jsx └── pages │ ├── Home.jsx │ └── Partners.jsx ├── tailwind.config.js ├── vercel.json └── vite.config.js /.env.example: -------------------------------------------------------------------------------- 1 | VITE_GITHUB_TOKEN= 2 | -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | env: { browser: true, es2020: true }, 4 | extends: [ 5 | "eslint:recommended", 6 | "plugin:react/recommended", 7 | "plugin:react/jsx-runtime", 8 | "plugin:react-hooks/recommended", 9 | ], 10 | ignorePatterns: ["dist", ".eslintrc.cjs"], 11 | parserOptions: { ecmaVersion: "latest", sourceType: "module" }, 12 | settings: { react: { version: "18.2" } }, 13 | plugins: ["react-refresh"], 14 | rules: { 15 | "react-refresh/only-export-components": [ 16 | "warn", 17 | { allowConstantExport: true }, 18 | ], 19 | }, 20 | }; 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | .env 26 | .env.example 27 | package-lock.json 28 | pnpm-lock.yaml 29 | 30 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | How to Apply These Terms to Your New Programs 283 | 284 | If you develop a new program, and you want it to be of the greatest 285 | possible use to the public, the best way to achieve this is to make it 286 | free software which everyone can redistribute and change under these terms. 287 | 288 | To do so, attach the following notices to the program. It is safest 289 | to attach them to the start of each source file to most effectively 290 | convey the exclusion of warranty; and each file should have at least 291 | the "copyright" line and a pointer to where the full notice is found. 292 | 293 | 294 | Copyright (C) 295 | 296 | This program is free software; you can redistribute it and/or modify 297 | it under the terms of the GNU General Public License as published by 298 | the Free Software Foundation; either version 2 of the License, or 299 | (at your option) any later version. 300 | 301 | This program is distributed in the hope that it will be useful, 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 | GNU General Public License for more details. 305 | 306 | You should have received a copy of the GNU General Public License along 307 | with this program; if not, write to the Free Software Foundation, Inc., 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 | 310 | Also add information on how to contact you by electronic and paper mail. 311 | 312 | If the program is interactive, make it output a short notice like this 313 | when it starts in an interactive mode: 314 | 315 | Gnomovision version 69, Copyright (C) year name of author 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 | This is free software, and you are welcome to redistribute it 318 | under certain conditions; type `show c' for details. 319 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate 321 | parts of the General Public License. Of course, the commands you use may 322 | be called something other than `show w' and `show c'; they could even be 323 | mouse-clicks or menu items--whatever suits your program. 324 | 325 | You should also get your employer (if you work as a programmer) or your 326 | school, if any, to sign a "copyright disclaimer" for the program, if 327 | necessary. Here is a sample; alter the names: 328 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 | 332 | , 1 April 1989 333 | Ty Coon, President of Vice 334 | 335 | This General Public License does not permit incorporating your program into 336 | proprietary programs. If your program is a subroutine library, you may 337 | consider it more useful to permit linking proprietary applications with the 338 | library. If this is what you want to do, use the GNU Lesser General 339 | Public License instead of this License. 340 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Hacktoberfest 2023 2 | 3 | **Note: The Hacktober Fest page is built using React; a JavaScript library for building user interfaces and Vite; a frontend tool used for building fast and optimized web applications.** 4 | 5 | ### Powered by: 6 | mlh-logo-color 7 | 8 | 9 | ### Steps to run the site on your local system: 10 | These are the steps you need to follow to get this site on your local system. 11 | 12 | ### Install Git in your computer 13 | Follow these steps to install git in your computer. 14 | 1. Go to [https://git-scm.com/downloads](https://git-scm.com/downloads). 15 | 2. Click on Windows. Download should start. 16 | 3. Go to downloads and install the package. 17 | 18 | ### Clone the repo 19 | Open Git Bash in any folder and paste the following command 20 | 21 | ```bash 22 | git clone https://github.com/tcet-opensource/hacktober-fest.git 23 | ``` 24 | 25 | ### Install NodeJs 26 | 27 | 1. Go to [https://nodejs.org/en/download](https://nodejs.org/en/download) 28 | 2. Select Current. 29 | 3. Download the 64-bit .msi version. Follow the steps and install NodeJS. 30 | 31 | 32 | **Note: It is important to have NodeJS in your system** 33 | 34 | 35 | ### Open the folder in VS Code 36 | 1. Install [VS Code](https://code.visualstudio.com/docs/?dv=win32user) if not installed. 37 | 2. Open Windows Terminal in the folder you have cloned the repo, as done in [step 2](#clone-the-repo). 38 | 39 | ### Install Important Packages/Dependencies 40 | 41 | Install pnpm globally 42 | 43 | ```bash 44 | npm install -g pnpm 45 | ``` 46 | 47 | You can make changes to your respective files and changes will be shown once you have saved the file. 48 | 49 | ### Commands used to run locally 50 | 51 | 1. To run the commands, make sure that you have installed pnpm globally first. 52 | 2. All commands are run from the root of the project, from a terminal 53 | 54 | Here are a set of commands used to run locally: 55 | 56 | | **Command** | **Action** | 57 | | -------- | -------- | 58 | | `pnpm` | Installs dependencies | 59 | | `pnpm run dev` | Starts local dev server at `localhost:3000` | 60 | | `pnpm run build` | Build your production site to `./dist/` | 61 | | `pnpm run preview` | Preview your build locally, before deploying | 62 | 63 | ### Steps to run after a Pull / Merge: 64 | 65 | 1. To install all dependencies 66 | 67 | ```bash 68 | pnpm install 69 | ``` 70 | 2. To run local dev environment 71 | 72 | ```bash 73 | pnpm run dev 74 | ``` 75 | 76 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 12 | 13 | Hacktoberfest 2023 | TCET Open Source 14 | 15 | 16 |
17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "my-project", 3 | "private": true, 4 | "version": "0.0.0", 5 | "type": "module", 6 | "scripts": { 7 | "dev": "vite", 8 | "build": "vite build", 9 | "lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0", 10 | "preview": "vite preview" 11 | }, 12 | "dependencies": { 13 | "@octokit/core": "^5.0.0", 14 | "axios": "^1.5.0", 15 | "react": "^18.2.0", 16 | "react-dom": "^18.2.0", 17 | "react-router-dom": "^6.16.0", 18 | "typeface-inter": "^3.18.1" 19 | }, 20 | "devDependencies": { 21 | "@types/react": "^18.2.15", 22 | "@types/react-dom": "^18.2.7", 23 | "@vitejs/plugin-react-swc": "^3.3.2", 24 | "autoprefixer": "^10.4.15", 25 | "eslint": "^8.45.0", 26 | "eslint-plugin-react": "^7.32.2", 27 | "eslint-plugin-react-hooks": "^4.6.0", 28 | "eslint-plugin-react-refresh": "^0.4.3", 29 | "postcss": "^8.4.29", 30 | "prettier": "3.0.3", 31 | "tailwindcss": "^3.3.3", 32 | "vite": "^4.4.9" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /public/FAQSection/arrow.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /public/Footer/github.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/Footer/instagram.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/Footer/linkedin.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /public/Footer/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /public/Footer/mail.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/Footer/twitter.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /public/Footer/youtube.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /public/HeroSection/Ellipse 24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/HeroSection/Ellipse 24.png -------------------------------------------------------------------------------- /public/HeroSection/Ellipse.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /public/HeroSection/Line 6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/HeroSection/Line 6.png -------------------------------------------------------------------------------- /public/HeroSection/chevron-right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /public/Navbar/close1.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /public/Navbar/discord.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/Navbar/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/Navbar/logo.png -------------------------------------------------------------------------------- /public/Navbar/menu.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /public/PartnersSection/ACM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/ACM.png -------------------------------------------------------------------------------- /public/PartnersSection/ACMSIGAI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/ACMSIGAI.png -------------------------------------------------------------------------------- /public/PartnersSection/ALG.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/ALG.png -------------------------------------------------------------------------------- /public/PartnersSection/ASCE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/ASCE.png -------------------------------------------------------------------------------- /public/PartnersSection/FOSS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/FOSS.png -------------------------------------------------------------------------------- /public/PartnersSection/GDSCTCET.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/GDSCTCET.png -------------------------------------------------------------------------------- /public/PartnersSection/GENOSISX.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/GENOSISX.jpeg -------------------------------------------------------------------------------- /public/PartnersSection/GFGTCET.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/GFGTCET.jpg -------------------------------------------------------------------------------- /public/PartnersSection/HACKSQUAD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/HACKSQUAD.png -------------------------------------------------------------------------------- /public/PartnersSection/IEI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/IEI.png -------------------------------------------------------------------------------- /public/PartnersSection/IETE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/IETE.png -------------------------------------------------------------------------------- /public/PartnersSection/ISTE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/ISTE.png -------------------------------------------------------------------------------- /public/PartnersSection/MINDBENDERS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/MINDBENDERS.png -------------------------------------------------------------------------------- /public/PartnersSection/MINDSDB.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/MINDSDB.jpg -------------------------------------------------------------------------------- /public/PartnersSection/MLH.svg: -------------------------------------------------------------------------------- 1 | mlh-logo-color-dark -------------------------------------------------------------------------------- /public/PartnersSection/OWASP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/OWASP.png -------------------------------------------------------------------------------- /public/PartnersSection/RCTCET.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/RCTCET.png -------------------------------------------------------------------------------- /public/PartnersSection/SDST.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/SDST.png -------------------------------------------------------------------------------- /public/PartnersSection/SORT.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/SORT.png -------------------------------------------------------------------------------- /public/PartnersSection/VULTR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/VULTR.png -------------------------------------------------------------------------------- /public/PartnersSection/docLogo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /public/PartnersSection/push.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcet-opensource/hacktober-fest/3f1f89578d18c3e5f8300f44543790f63d35a649/public/PartnersSection/push.jpeg -------------------------------------------------------------------------------- /public/PartnersSection/sponsorGradient.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /public/RegisterSection/Ellipse24.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /public/exploreSection/Ellipse23.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /public/exploreSection/star.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/tcet.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/App.jsx: -------------------------------------------------------------------------------- 1 | import Navbar from "./components/Navbar/Navbar"; 2 | import Footer from "./components/Footer/Footer"; 3 | import { Route, Routes } from "react-router-dom"; 4 | import Home from "./pages/Home"; 5 | import Partners from "./pages/Partners"; 6 | 7 | function App() { 8 | // do not add css in this file 9 | return ( 10 |
11 | 12 | 13 | } /> 14 | } /> 15 | 16 |
17 |
18 | ); 19 | } 20 | 21 | export default App; 22 | -------------------------------------------------------------------------------- /src/components/Example/Example.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | function Example() { 4 | return ( 5 |
6 |

Do not edit this file

7 |

Everything goes into Staging Branch

8 |
9 | ); 10 | } 11 | 12 | export default Example; 13 | -------------------------------------------------------------------------------- /src/components/FAQSection/FAQSection.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import faqData from "./faq-data"; 3 | 4 | const FAQSection = () => { 5 | return ( 6 |
7 |
8 |

FAQ

9 | {faqData.map(({ id, question, answer }) => ( 10 |
18 | 19 | {question} 20 | down-arrow 25 | 26 |
27 |

{answer}

28 |
29 |
30 | ))} 31 |
32 |
33 | ); 34 | }; 35 | 36 | export default FAQSection; 37 | -------------------------------------------------------------------------------- /src/components/FAQSection/faq-data.js: -------------------------------------------------------------------------------- 1 | export default [ 2 | { 3 | id: 1, 4 | question: "Will I receive a reward for participating in Hacktoberfest?", 5 | answer: 6 | "Absolutely! By participating, you can earn a digital reward kit courtesy of DigitalOcean and our sponsors and partners. Once you have completed four accepted pull/merge requests, your digital reward will be on its way to you.", 7 | }, 8 | { 9 | id: 2, 10 | question: "How will I receive my digital reward?", 11 | answer: 12 | "You'll be notified in your Hacktoberfest profile on the Hacktoberfest website when your digital reward is ready. Additionally, you'll receive an email from Holopin with instructions on how to claim your reward.", 13 | }, 14 | { 15 | id: 3, 16 | question: "I signed up for Hacktoberfest in mid-October. Will the pull/merge requests I made earlier in October count?", 17 | answer: 18 | "Yes, they will! All pull/merge requests created between October 1 and October 31 will count towards your total, regardless of when you registered for Hacktoberfest.", 19 | }, 20 | { 21 | id: 4, 22 | question: "Do issues or commits count towards my total?", 23 | answer: 24 | "No, only pull/merge requests count towards the total.", 25 | }, 26 | { 27 | id: 5, 28 | question: "Do multiple pull/merge requests to the same repository count?", 29 | answer: 30 | "Yes, they do! Each pull/merge request is counted separately, so feel free to contribute as much as you can to the same repository.", 31 | }, 32 | ]; 33 | -------------------------------------------------------------------------------- /src/components/Footer/Footer.jsx: -------------------------------------------------------------------------------- 1 | import data from "./data"; 2 | 3 | function Footer() { 4 | return ( 5 |
6 |
7 |
8 | logo 9 |
10 |

11 | Join us - get social! 12 |

13 |
14 | {data.map((item) => { 15 | return item.imgData.map((value, i) => ( 16 | 17 | socials 22 | 23 | )); 24 | })} 25 |
26 |
27 |
28 |
29 | {data.map((item) => { 30 | return item.linkData1.map((value, i) => ( 31 | 32 |

{value.title}

33 |
34 | )); 35 | })} 36 |
37 |
38 | {data.map((item) => { 39 | return item.addressData.map((item, index) => ( 40 |
44 |

{item.title}

45 |

{item.address}

46 |
47 | )); 48 | })} 49 |
50 |
51 |
52 |
53 |

Copyright @ TCET Open Source

54 |
55 |
56 | ); 57 | } 58 | 59 | export default Footer; 60 | -------------------------------------------------------------------------------- /src/components/Footer/data.js: -------------------------------------------------------------------------------- 1 | const data = [ 2 | { 3 | imgData: [ 4 | { 5 | img: "/Footer/linkedin.svg", 6 | link: "https://www.linkedin.com/company/tcetopensource/", 7 | }, 8 | { 9 | img: "/Footer/mail.svg", 10 | link: "mailto:opensource@tcetmumbai.in", 11 | }, 12 | { 13 | img: "/Footer/youtube.svg", 14 | link: "https://www.youtube.com/@tcetopensource", 15 | }, 16 | { 17 | img: "/Footer/twitter.svg", 18 | link: "https://www.twitter.com/tcetopensource", 19 | }, 20 | { 21 | img: "/Footer/instagram.svg", 22 | link: "https://www.instagram.com/tcetopensource/", 23 | }, 24 | { 25 | img: "/Footer/github.svg", 26 | link: "https://github.com/tcet-opensource", 27 | }, 28 | ], 29 | linkData1: [ 30 | { 31 | title: "Home", 32 | link: "/", 33 | }, 34 | { 35 | title: "Docs", 36 | link: "https://opensource.tcetmumbai.in/docs/about-tcetopensource", 37 | }, 38 | { 39 | title: "About us", 40 | link: "https://opensource.tcetmumbai.in/", 41 | }, 42 | { 43 | title: "Blogs", 44 | link: "https://opensource.tcetmumbai.in/blog", 45 | }, 46 | { 47 | title: "Contact", 48 | link: "mailto:opensource@tcetmumbai.in", 49 | }, 50 | { 51 | title: "Projects", 52 | link: "https://github.com/tcet-opensource", 53 | }, 54 | ], 55 | addressData: [ 56 | { 57 | title: "Thakur College of Enginnering and Technology", 58 | address: 59 | "Thakur College Of Engineering And Technology.A-Block, Thakur Educational Campus, Shyamnarayan Thakur Marg, Thakur Village, Kandivali(E). Mumbai - 400101.", 60 | }, 61 | ], 62 | }, 63 | ]; 64 | 65 | export default data; 66 | -------------------------------------------------------------------------------- /src/components/HeroSection/HeroSection.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | const contentArray = [ 4 | { 5 | id: 1, 6 | title: "Hacktoberfest TCET-OpenSource", 7 | description: 8 | "Welcome to Hacktoberfest! Join us this October to contribute, collaborate," + 9 | "and make an impact in the open source community. Let's ignite the open source world together. Welcome aboard!" 10 | }, 11 | ]; 12 | 13 | function HeroSection() { 14 | return ( 15 |
16 | {contentArray.map((item, index) => ( 17 | 18 | 22 |
28 |
29 |

33 | {item.title.split(" ").slice(0, 1).join(" ")} 34 |
35 | {item.title.split(" ").slice(1).join(" ")} 36 |

37 | 38 |

39 | {item.description} 40 |

41 |
42 | 43 | 74 |
75 | 76 |
77 | 81 | 85 |
86 |
87 | 88 | ))} 89 |
90 | ); 91 | } 92 | 93 | export default HeroSection; 94 | 95 | 96 | // import React from "react"; 97 | 98 | // const contentArray = [ 99 | // { 100 | // id: 1, 101 | // title: "Hacktoberfest TCET-OpenSource", 102 | // description: 103 | // "TCET Open Source aims to streamline software engineering education and development into a single organization. Kindly star our repos, ...", 104 | // }, 105 | // ]; 106 | 107 | // function HeroSection() { 108 | // return ( 109 | //
110 | // {contentArray.map((item, index) => ( 111 | // 112 | //
118 | //
119 | //

123 | // {item.title.split(" ").slice(0, 1).join(" ")} 124 | //
125 | // {item.title.split(" ").slice(1).join(" ")} 126 | //

127 | 128 | //

129 | // {item.description} 130 | //

131 | //
132 | 133 | //
134 | // 137 | 138 | // 142 | //
143 | //
144 | 145 | //
146 | // 147 | //
148 | //
149 | // 150 | // ))} 151 | //
152 | // ); 153 | // } 154 | 155 | // export default HeroSection; 156 | -------------------------------------------------------------------------------- /src/components/MLHSection/MLHSection.jsx: -------------------------------------------------------------------------------- 1 | import { SponArr, MLHArr } from "../PartnerSection/data"; 2 | 3 | export default function MLHSection() { 4 | return ( 5 |
6 |
7 |
8 |

9 | Powered By 10 |

11 |
12 |
13 | {MLHArr.map((image, index) => ( 14 | 32 | ))} 33 |
34 |
35 |
36 | ); 37 | } 38 | -------------------------------------------------------------------------------- /src/components/Navbar/Navbar.jsx: -------------------------------------------------------------------------------- 1 | import { useState } from "react"; 2 | import logo from "/Navbar/logo.png"; 3 | import menu from "/Navbar/menu.svg"; 4 | import discord from "/Navbar/discord.svg"; 5 | import close1 from "/Navbar/close1.svg"; 6 | import { NavLink } from "react-router-dom"; 7 | 8 | const navLink = [ 9 | { 10 | id: 0, 11 | header: "Home", 12 | link: "/", 13 | }, 14 | { 15 | id: 1, 16 | header: "Docs", 17 | link: "https://opensource.tcetmumbai.in/docs/about-tcetopensource", 18 | }, 19 | { 20 | id: 2, 21 | header: "Achievements", 22 | link: "https://opensource.tcetmumbai.in/", 23 | }, 24 | { 25 | id: 3, 26 | header: "Projects", 27 | link: "https://opensource.tcetmumbai.in/docs/category/projects", 28 | }, 29 | { 30 | id: 4, 31 | header: "Team", 32 | link: "https://github.com/orgs/tcet-opensource/teams", 33 | }, 34 | ]; 35 | 36 | export default function Navbar() { 37 | const [toggle, setToggle] = useState(false); 38 | 39 | const handleClick = () => setToggle((prevToggle) => !prevToggle); 40 | const closeMenu = () => setToggle(false); 41 | 42 | const handleScroll = () => { 43 | const section = document.getElementById("sponserSection"); 44 | if (section) { 45 | section.scrollIntoView({ behavior: "smooth" }); 46 | } 47 | }; 48 | 49 | return ( 50 |
51 |
52 |
53 | {/* Logo */} 54 | 62 | {/* Navlinks */} 63 |
64 |
65 | {navLink.map((step) => ( 66 | 73 | {step.header} 74 | 75 | ))} 76 | 77 | 81 | Partners 82 | 83 | 84 |
85 |
86 | 87 |
88 | 100 | 109 |
110 | 111 | {/* Hamburger */} 112 |
113 | 125 |
126 |
127 |
128 | {/* Mobile Nav */} 129 | {toggle && ( 130 |
131 |
132 | {navLink.map((step) => ( 133 | 141 | {step.header} 142 | 143 | ))} 144 | 145 | 146 | 150 | Partners 151 | 152 | 153 |
154 |
155 | )} 156 |
157 | ); 158 | } 159 | -------------------------------------------------------------------------------- /src/components/PartnerSection/CloudSection.jsx: -------------------------------------------------------------------------------- 1 | import docLogo from "/PartnersSection/docLogo.svg"; 2 | import { SponArr, CloudArr } from "./data.js"; 3 | import sponsorGradient from "/PartnersSection/sponsorGradient.svg"; 4 | function CloudSection() { 5 | return ( 6 |
7 | {/* */} 8 |
9 | {SponArr.map((data, index) => ( 10 |
11 |

12 | {data.cloud} 13 |

14 |
15 | ))} 16 |
17 | {CloudArr.map((image, index) => ( 18 | 32 | ))} 33 |
34 |
35 |
36 | ); 37 | } 38 | 39 | export default CloudSection; 40 | -------------------------------------------------------------------------------- /src/components/PartnerSection/CollabSection.jsx: -------------------------------------------------------------------------------- 1 | import docLogo from "/PartnersSection/docLogo.svg"; 2 | import { SponArr, CollabArr } from "./data.js"; 3 | import sponsorGradient from "/PartnersSection/sponsorGradient.svg"; 4 | function CollabSection() { 5 | return ( 6 |
7 | {/* */} 8 |
9 | {SponArr.map((data, index) => ( 10 |
11 |

12 | {data.collab} 13 |

14 |
15 | ))} 16 |
17 | {CollabArr.map((image, index) => ( 18 | 32 | ))} 33 |
34 |
35 |
36 | ); 37 | } 38 | 39 | export default CollabSection; 40 | -------------------------------------------------------------------------------- /src/components/PartnerSection/CommunitySection.jsx: -------------------------------------------------------------------------------- 1 | import docLogo from "/PartnersSection/docLogo.svg"; 2 | import { SponArr, CommunityArr } from "./data.js"; 3 | import sponsorGradient from "/PartnersSection/sponsorGradient.svg"; 4 | function CommunitySection() { 5 | return ( 6 |
7 | {/* */} 8 |
9 | {SponArr.map((data, index) => ( 10 |
11 |

12 | {data.community} 13 |

14 |
15 | ))} 16 |
17 | {/*
*/} 18 | {CommunityArr.map((image, index) => ( 19 | 33 | ))} 34 |
35 |
36 |
37 | ); 38 | } 39 | 40 | export default CommunitySection; 41 | -------------------------------------------------------------------------------- /src/components/PartnerSection/SpecialSection.jsx: -------------------------------------------------------------------------------- 1 | import docLogo from "/PartnersSection/docLogo.svg"; 2 | import { SponArr, SpecialArr } from "./data.js"; 3 | import sponsorGradient from "/PartnersSection/sponsorGradient.svg"; 4 | function SpecialSection() { 5 | return ( 6 |
7 | {/* */} 8 |
9 | {SponArr.map((data, index) => ( 10 |
11 |

12 | {data.special} 13 |

14 |
15 | ))} 16 |
17 | {SpecialArr.map((image, index) => ( 18 | 32 | ))} 33 |
34 |
35 |
36 | ); 37 | } 38 | 39 | export default SpecialSection; 40 | -------------------------------------------------------------------------------- /src/components/PartnerSection/Sponsor.jsx: -------------------------------------------------------------------------------- 1 | import docLogo from "/PartnersSection/docLogo.svg"; 2 | import { SponArr, Spon } from "./data.js"; 3 | import sponsorGradient from "/PartnersSection/sponsorGradient.svg"; 4 | function Sponsor() { 5 | return ( 6 |
7 | {/* */} 8 |
9 | {SponArr.map((data, index) => ( 10 |
14 |

15 | {data.spon} 16 |

17 |
18 | ))} 19 |
20 | {Spon.map((image, index) => ( 21 | 39 | ))} 40 |
41 |
42 |
43 | ); 44 | } 45 | 46 | export default Sponsor; 47 | -------------------------------------------------------------------------------- /src/components/PartnerSection/SponsorSection.jsx: -------------------------------------------------------------------------------- 1 | import docLogo from "/PartnersSection/docLogo.svg"; 2 | import { SponArr, ImgArr } from "./data"; 3 | import sponsorGradient from "/PartnersSection/sponsorGradient.svg"; 4 | function PartnersSection() { 5 | return ( 6 |
7 | {/* */} 8 |
9 | {SponArr.map((data, index) => ( 10 |
11 |

12 | {data.head} 13 |

14 | 15 |

{data.subHead}

16 |

{data.contact}

17 | 23 | {data.email} 24 | 25 | 29 |
30 | ))} 31 | 32 |
33 | {ImgArr.map((image, index) => ( 34 |
38 | 44 |

{image.text}

45 |
46 | ))} 47 |
48 |
49 |
50 | ); 51 | } 52 | 53 | export default PartnersSection; 54 | 55 | -------------------------------------------------------------------------------- /src/components/PartnerSection/SponsoredBy.jsx: -------------------------------------------------------------------------------- 1 | import docLogo from "/PartnersSection/docLogo.svg"; 2 | import { SponArr, SpoArr } from "./data.js"; 3 | import sponsorGradient from "/PartnersSection/sponsorGradient.svg"; 4 | function SponsoredBy() { 5 | return ( 6 |
7 | {/* */} 8 |
9 | {SponArr.map((data, index) => ( 10 |
11 |

12 | {data.sponsors} 13 |

14 |
15 | ))} 16 |
17 | {SpoArr.map((image, index) => ( 18 |
22 | 28 |

{image.text}

29 |
30 | ))} 31 |
32 |
33 |
34 | ); 35 | } 36 | 37 | export default SponsoredBy; 38 | -------------------------------------------------------------------------------- /src/components/PartnerSection/data.js: -------------------------------------------------------------------------------- 1 | import owasp from "/PartnersSection/OWASP.png"; 2 | import foss from "/PartnersSection/FOSS.png"; 3 | import rctcet from "/PartnersSection/RCTCET.png"; 4 | import iei from "/PartnersSection/IEI.png"; 5 | import iete from "/PartnersSection/IETE.png"; 6 | import acm from "/PartnersSection/ACM.png"; 7 | import sort from "/PartnersSection/SORT.png"; 8 | import asce from "/PartnersSection/ASCE.png"; 9 | import vultr from "/PartnersSection/VULTR.png"; 10 | import mindsdb from "/PartnersSection/MINDSDB.jpg"; 11 | import hacksquad from "/PartnersSection/HACKSQUAD.png"; 12 | import alg from "/PartnersSection/ALG.png"; 13 | import genosisx from "/PartnersSection/GENOSISX.jpeg"; 14 | import mindbenders from "/PartnersSection/MINDBENDERS.png"; 15 | import iste from "/PartnersSection/ISTE.png"; 16 | import acmsigai from "/PartnersSection/ACMSIGAI.png"; 17 | import gfg from "/PartnersSection/GFGTCET.jpg"; 18 | import sdst from "/PartnersSection/SDST.png"; 19 | import MLH from "/PartnersSection/MLH.svg"; 20 | import push from "/PartnersSection/push.jpeg"; 21 | // import CloudSection from "./CloudSection.jsx"; 22 | 23 | const SponArr = [ 24 | { 25 | community: "Community Partners", 26 | collab: "Collaboration Partners", 27 | cloud: "Cloud Partner", 28 | sponsors: "Sponsors", 29 | special: "Special Partners", 30 | mlh: "Hacktoberfest Partner", 31 | spon: "Sponsors", 32 | }, 33 | ]; 34 | 35 | const MLHArr = [ 36 | { 37 | img: MLH, 38 | link: "https://mlh.io/?utm_campaign=mlh-hackers-hacktoberfest_2023_in_mumbai&utm_medium=website&utm_source=event-external", 39 | text: "Major League Hacking", 40 | width: 160, 41 | height: 120, 42 | }, 43 | ]; 44 | const CollabArr = [ 45 | { 46 | img: rctcet, 47 | link: "https://www.rc.tcetmumbai.in/", 48 | text: "Rotaract Club of TCET", 49 | width: 160, 50 | height: 120, 51 | }, 52 | // { 53 | // img: foss, 54 | // text: "FOSS Club of TCET", 55 | // width: 350, 56 | // height: 120, 57 | // }, 58 | ]; 59 | 60 | const CommunityArr = [ 61 | { 62 | img: sort, 63 | link: "https://sort.tcetmumbai.in/", 64 | text: "SORT", 65 | width: 160, 66 | height: 120, 67 | }, 68 | { 69 | img: iste, 70 | link: "https://iste.tcetmumbai.in/", 71 | text: "ISTE", 72 | width: 160, 73 | height: 120, 74 | }, 75 | { 76 | img: acm, 77 | link: "https://tcet.acm.org/", 78 | text: "ACM", 79 | width: 160, 80 | height: 120, 81 | }, 82 | { 83 | img: iete, 84 | link: "https://iete.tcetmumbai.in/", 85 | text: "IETE", 86 | width: 160, 87 | height: 120, 88 | }, 89 | { 90 | img: asce, 91 | link: "https://ascetcet.github.io/index.html", 92 | text: "ASCE", 93 | width: 160, 94 | height: 120, 95 | }, 96 | { 97 | img: mindbenders, 98 | link: "https://mbc.tcetmumbai.in/", 99 | text: "Mind Benders", 100 | width: 160, 101 | height: 120, 102 | }, 103 | { 104 | img: owasp, 105 | link: "https://owasp.org/www-chapter-thakur-college-of-engineering-and-technology/", 106 | text: "OWASP", 107 | width: 160, 108 | height: 120, 109 | }, 110 | { 111 | img: iei, 112 | text: "IEI", 113 | width: 160, 114 | height: 120, 115 | }, 116 | { 117 | img: acmsigai, 118 | text: "ACM-SigAI", 119 | width: 160, 120 | height: 120, 121 | }, 122 | { 123 | img: sdst, 124 | text: "SDST", 125 | width: 160, 126 | height: 120, 127 | }, 128 | ]; 129 | 130 | const SpecialArr = [ 131 | { 132 | img: genosisx, 133 | link: "https://github.com/Genosisx", 134 | text: "GenosisX", 135 | width: 160, 136 | height: 100, 137 | }, 138 | { 139 | img: alg, 140 | link: "https://sourceforge.net/projects/arch-linux-gui/", 141 | text: "Arch Linux GUI", 142 | width: 140, 143 | height: 120, 144 | }, 145 | // { 146 | // img: mindsdb, 147 | // link: "https://mindsdb.com/", 148 | // text: "MindsDB", 149 | // width: 220, 150 | // height: 120, 151 | // }, 152 | // { 153 | // img: hacksquad, 154 | // link: "https://www.hacksquad.dev/", 155 | // text: "HackSquad", 156 | // width: 160, 157 | // height: 100, 158 | // }, 159 | ]; 160 | 161 | const SpoArr = []; 162 | 163 | const CloudArr = [ 164 | { 165 | img: vultr, 166 | link: "https://www.vultr.com/", 167 | text: "VULTR", 168 | width: 140, 169 | height: 120, 170 | }, 171 | ]; 172 | 173 | const Spon = [ 174 | { 175 | img: push, 176 | text: "Push Protocol", 177 | width: 160, 178 | height: 120, 179 | }, 180 | ]; 181 | 182 | export { 183 | SponArr, 184 | CollabArr, 185 | CommunityArr, 186 | SpecialArr, 187 | SpoArr, 188 | CloudArr, 189 | MLHArr, 190 | Spon, 191 | }; 192 | -------------------------------------------------------------------------------- /src/components/PartnerSection/mlh.jsx: -------------------------------------------------------------------------------- 1 | import docLogo from "/PartnersSection/docLogo.svg"; 2 | import { SponArr, MLHArr } from "./data.js"; 3 | function MLH() { 4 | return ( 5 |
6 | {/* */} 7 |
8 | {SponArr.map((data, index) => ( 9 |
10 |

11 | {data.mlh} 12 |

13 |
14 | ))} 15 |
16 | {MLHArr.map((image, index) => ( 17 | 33 | ))} 34 |
35 |
36 |
37 | ); 38 | } 39 | 40 | export default MLH; 41 | -------------------------------------------------------------------------------- /src/components/RegisterSection/RegisterSection.jsx: -------------------------------------------------------------------------------- 1 | import register from "/RegisterSection/register.svg"; 2 | 3 | function RegisterSection() { 4 | return ( 5 |
6 |
12 | Rocket 13 |
14 |

15 | {"Find out about"} 16 |
17 | {"Hacktober Fest"} 18 |

19 |

20 | {"Lorem ipsum dolor sit amet consectetur."} 21 |
22 | {"Tellus cringissim amet ultricies lobortis nunc egestas amet id."} 23 |

24 | 27 |
28 |
29 |
30 | ); 31 | } 32 | 33 | export default RegisterSection; 34 | -------------------------------------------------------------------------------- /src/components/RegisterSection/index.jsx: -------------------------------------------------------------------------------- 1 | export default function RegisterSection() { 2 | return ( 3 |
4 |
10 |
11 |

12 | Find out about 13 |
14 | Hacktober Fest 15 |

16 |

17 | "Hacktoberfest: Code, collaborate, conquer!" 18 |
19 | Join us, make your mark, win rewards by contributing to open-source 20 | projects through GitHub pull requests. 21 |

22 | 27 | 30 | 31 |
32 |
33 |
34 | ); 35 | } 36 | -------------------------------------------------------------------------------- /src/components/RegisterSection/registerSection.jsx: -------------------------------------------------------------------------------- 1 | import register from "/RegisterSection/register.svg"; 2 | 3 | function RegisterSection() { 4 | return ( 5 |
6 |
12 | Rocket 13 |
14 |

15 | {"Find out about"} 16 |
17 | {"Hacktober Fest"} 18 |

19 |

20 | {"Lorem ipsum dolor sit amet consectetur."} 21 |
22 | {"Tellus cringissim amet ultricies lobortis nunc egestas amet id."} 23 |

24 | 27 |
28 |
29 |
30 | ); 31 | } 32 | 33 | export default RegisterSection; 34 | -------------------------------------------------------------------------------- /src/components/exploreSection/data.js: -------------------------------------------------------------------------------- 1 | const repos = [ 2 | { 3 | name: "resume-screener", 4 | }, 5 | { 6 | name: "tcet-linux", 7 | }, 8 | { 9 | name: "erp-backend", 10 | }, 11 | { 12 | name: "documentation", 13 | }, 14 | { 15 | name: "resume-screener-frontend", 16 | }, 17 | { 18 | name: "tcet-linux-website", 19 | }, 20 | { 21 | name: "Activity-Dekho", 22 | }, 23 | { 24 | name: "fillmycycle", 25 | }, 26 | { 27 | name: "tnp-website", 28 | }, 29 | { 30 | name: "tcet-website", 31 | }, 32 | ]; 33 | 34 | export default repos; 35 | 36 | -------------------------------------------------------------------------------- /src/components/exploreSection/explore.jsx: -------------------------------------------------------------------------------- 1 | import { useEffect, useState } from "react"; 2 | import { Octokit } from "@octokit/core"; 3 | import reposData from "./data"; 4 | 5 | const token = import.meta.env.VITE_GITHUB_TOKEN; 6 | 7 | function Explore() { 8 | const [repos, setRepos] = useState([]); 9 | const [displayedCount, setDisplayedCount] = useState(6); 10 | const [windowWidth, setWindowWidth] = useState(window.innerWidth); 11 | const [error, setError] = useState(null); 12 | const [isDataFetched, setIsDataFetched] = useState(false); 13 | 14 | useEffect(() => { 15 | const fetchData = async () => { 16 | try { 17 | const storedData = sessionStorage.getItem("githubData"); 18 | 19 | if (storedData) { 20 | const parsedData = JSON.parse(storedData); 21 | setRepos(parsedData); 22 | setIsDataFetched(true); 23 | } else { 24 | const org = "tcet-opensource"; 25 | const octokit = new Octokit({ 26 | auth: token, 27 | baseUrl: "https://api.github.com", 28 | userAgent: "Hacktober-Fest", 29 | request: { 30 | headers: { 31 | accept: "application/vnd.github.v3+json", 32 | }, 33 | }, 34 | }); 35 | 36 | const repoNames = reposData.map((repo) => repo.name); 37 | 38 | const repositoriesToFetch = []; 39 | 40 | for (const repoName of repoNames) { 41 | const repoResponse = await octokit.request( 42 | "GET /repos/{owner}/{repo}", 43 | { 44 | owner: org, 45 | repo: repoName, 46 | }, 47 | ); 48 | repositoriesToFetch.push(repoResponse.data); 49 | } 50 | 51 | const repositoriesWithDetails = await Promise.all( 52 | repositoriesToFetch.map(async (repo) => { 53 | try { 54 | const collaboratorsResponse = await octokit.request( 55 | "GET /repos/{owner}/{repo}/collaborators", 56 | { 57 | owner: org, 58 | repo: repo.name, 59 | }, 60 | ); 61 | const collaborators = collaboratorsResponse.data; 62 | 63 | const languagesResponse = await octokit.request( 64 | "GET /repos/{owner}/{repo}/languages", 65 | { 66 | owner: org, 67 | repo: repo.name, 68 | }, 69 | ); 70 | const languages = languagesResponse.data; 71 | const firstLanguage = Object.keys(languages)[0] || null; 72 | 73 | return { ...repo, collaborators, firstLanguage }; 74 | } catch (error) { 75 | console.error(`Error fetching data for ${repo.name}:`, error); 76 | return { ...repo, collaborators: [], firstLanguage: null }; 77 | } 78 | }), 79 | ); 80 | 81 | sessionStorage.setItem( 82 | "githubData", 83 | JSON.stringify(repositoriesWithDetails), 84 | ); 85 | 86 | setRepos(repositoriesWithDetails); 87 | setIsDataFetched(true); 88 | } 89 | } catch (error) { 90 | console.error("Error fetching data from GitHub API:", error); 91 | setError(error); 92 | } 93 | }; 94 | 95 | fetchData(); 96 | }, []); 97 | 98 | useEffect(() => { 99 | const handleResize = () => { 100 | setWindowWidth(window.innerWidth); 101 | }; 102 | window.addEventListener("resize", handleResize); 103 | return () => { 104 | window.removeEventListener("resize", handleResize); 105 | }; 106 | }, []); 107 | 108 | const handleShowMoreClick = () => { 109 | if (displayedCount >= repos.length) { 110 | setDisplayedCount(6); 111 | } else { 112 | setDisplayedCount(displayedCount + 3); 113 | } 114 | }; 115 | 116 | const displayedRepos = repos 117 | ? windowWidth > 640 118 | ? repos.slice(0, displayedCount) 119 | : repos.slice(0, displayedCount - 3) 120 | : windowWidth < 640 121 | ? repos.slice(0, displayedCount) 122 | : repos.slice(0, displayedCount); 123 | 124 | return ( 125 |
126 |

127 | Explore Open-Source Repo 128 |

129 |
130 | 135 |
136 | 137 |
138 | {displayedRepos.map((repo) => ( 139 |
147 |
148 | 153 |

154 | {repo.name} 155 |

156 |
157 |

158 | {repo.description} 159 |

160 |
161 |
162 |
163 | Star Icon 168 | {repo.stargazers_count} 169 | 170 | {repo.firstLanguage ? ( 171 |
172 | {" "} 173 |

174 | {" "} 175 | {repo.firstLanguage} 176 |

{" "} 177 |
178 | ) : null} 179 |
180 |
181 | {repo.collaborators && 182 | repo.collaborators.length > 0 && 183 | repo.collaborators 184 | .slice(0, 3) 185 | .map((collaborator) => ( 186 | {`${collaborator.login}'s 192 | ))} 193 |
194 |
195 |
196 | ))} 197 |
198 | {isDataFetched && repos && ( 199 |
200 | 217 |
218 | )} 219 |
220 | ); 221 | } 222 | 223 | export default Explore; 224 | -------------------------------------------------------------------------------- /src/globals.css: -------------------------------------------------------------------------------- 1 | @import url('https://fonts.googleapis.com/css2?family=Spline+Sans:wght@300;400;500;600;700&display=swap'); 2 | @tailwind base; 3 | @tailwind components; 4 | @tailwind utilities; 5 | 6 | 7 | ::-webkit-scrollbar { 8 | display: none; 9 | } 10 | 11 | html { 12 | background-color: #0e0b23; 13 | } 14 | 15 | .button-bg { 16 | background-color: rgb(76, 88, 254); 17 | } 18 | 19 | .spline-sans { 20 | font-family: 'Spline Sans', sans-serif; 21 | } 22 | 23 | .title-color{ 24 | color:rgba(224, 226, 255, 1); 25 | } 26 | 27 | .bg-image{ 28 | background-image: url('/RegSec.svg'); 29 | background-repeat: no-repeat; 30 | background-size: cover; 31 | 32 | } 33 | 34 | a { 35 | text-align: center; 36 | } 37 | -------------------------------------------------------------------------------- /src/main.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import ReactDOM from "react-dom/client"; 3 | import App from "./App.jsx"; 4 | import "./globals.css"; 5 | import { BrowserRouter as Router } from "react-router-dom"; 6 | 7 | ReactDOM.createRoot(document.getElementById("root")).render( 8 | 9 | 10 | 11 | , 12 | , 13 | ); 14 | -------------------------------------------------------------------------------- /src/pages/Home.jsx: -------------------------------------------------------------------------------- 1 | import HeroSection from "../components/HeroSection/HeroSection"; 2 | import FAQSection from "../components/FAQSection/FAQSection"; 3 | // import Sponsors from "./pages/SponsorSection/Sponsors.jsx"; 4 | import Explore from "../components/exploreSection/explore"; 5 | import RegisterSection from "../components/RegisterSection/index.jsx"; 6 | import MLHSection from "../components/MLHSection/MLHSection"; 7 | 8 | function Home() { 9 | // do not add css in this file 10 | return ( 11 |
12 | 13 | 14 | 15 | 16 | 17 |
18 | ); 19 | } 20 | 21 | export default Home; 22 | -------------------------------------------------------------------------------- /src/pages/Partners.jsx: -------------------------------------------------------------------------------- 1 | import CommunitySection from "../components/PartnerSection/CommunitySection.jsx"; 2 | import CollabSection from "../components/PartnerSection/CollabSection.jsx"; 3 | import SpecialSection from "../components/PartnerSection/SpecialSection.jsx"; 4 | import MLH from "../components/PartnerSection/mlh.jsx"; 5 | import Sponsor from "../components/PartnerSection/Sponsor.jsx"; 6 | // import SponsoredBy from "../components/PartnerSection/SponsoredBy.jsx"; 7 | // import CloudSection from "../components/PartnerSection/CloudSection.jsx"; 8 | function Partners() { 9 | return ( 10 |
11 | 12 | 13 | {/**/} 14 | 15 | 16 | {/* */} 17 | 18 |
19 | ); 20 | } 21 | 22 | export default Partners; 23 | -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"], 4 | theme: { 5 | extend: { 6 | boxShadow: { 7 | "sponserShadow": "0px 1px 2px 0px rgba(158, 165, 255, 0.7) inset, 0px -1px 2px 0px #454dc2 inset;", 8 | }, 9 | fontFamily: { 10 | "spline": ["Spline Sans", "sans-serif"], 11 | }, 12 | backgroundImage: { 13 | "gradient-explore": "linear-gradient(108deg, #161136 5.21%, #0e0b23 98.76%)", 14 | }, 15 | }, 16 | }, 17 | plugins: [], 18 | }; 19 | 20 | -------------------------------------------------------------------------------- /vercel.json: -------------------------------------------------------------------------------- 1 | { 2 | "routes": [ 3 | { 4 | "src": "/[^.]+", 5 | "dest": "/", 6 | "status": 200 7 | } 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from "vite"; 2 | import react from "@vitejs/plugin-react-swc"; 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }); 8 | --------------------------------------------------------------------------------