Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24,701 changes: 24,309 additions & 392 deletions package-lock.json

Large diffs are not rendered by default.

17 changes: 12 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"homepage": "https://hudi304.github.io/clujwho23",
"name": "clujwho23",
"homepage": ".",
"name": "clujwho",
"version": "0.1.0",
"private": false,
"dependencies": {
"@emotion/react": "^11.4.1",
"@emotion/styled": "^11.3.0",
"@mui/icons-material": "^5.1.1",
"@heroicons/react": "^1.0.6",
"@mui/icons-material": "^5.3.1",
"@mui/material": "^5.0.2",
"@reduxjs/toolkit": "^1.6.0",
"@testing-library/jest-dom": "^5.12.0",
Expand All @@ -23,11 +24,16 @@
"lodash": "^4.17.21",
"material-ui-icons": "^1.0.0-beta.36",
"prettier": "^2.3.1",
"qrcode.react": "^3.0.0",
"react": "^17.0.2",
"react-color-palette": "^6.2.0",
"react-color-picker": "^4.0.2",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-intersection-observer": "^8.32.1",
"react-qr-code": "^2.0.3",
"react-redux": "^7.2.4",
"react-router-dom": "^5.2.0",
"react-router-dom": "^6.2.2",
"react-scripts": "^4.0.3",
"react-swipeable-views": "^0.14.0",
"redux-saga": "^1.1.3",
Expand All @@ -40,7 +46,7 @@
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"start": "react-scripts start",
"start": "react-scripts --openssl-legacy-provider start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
Expand All @@ -64,6 +70,7 @@
]
},
"devDependencies": {
"@types/react-helmet": "^6.1.5",
"@types/react-router-dom": "^5.1.7",
"@typescript-eslint/eslint-plugin": "^3.9.0",
"@typescript-eslint/parser": "^3.9.0",
Expand Down
Binary file modified public/favicon.ico
Binary file not shown.
28 changes: 5 additions & 23 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,22 @@
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app" />
<meta name="description"
content="Cluj World Health Organization is the first student-led organisation in Eastern Europe whose mission is to educate students and professionals on health issues." />
<meta name="apple-mobile-web-app-capable" content="yes" />

<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->

<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
<meta name="google-site-verification" content="79cXqfnHwQNmbh_rsrixFkX5fIgPbfFbhjsqvQ16VxM" />

Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>ClujWHO</title>
</head>

<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.

You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.

To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>

</html>
12 changes: 12 additions & 0 deletions secrets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"type": "service_account",
"project_id": "molten-acumen-335611",
"private_key_id": "9a4e4d1a5a3407be7f02e3972b38064d7d8f0219",
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC2KHgOQgq9WHPK\nUIDT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VulqieGdzDNthg47rCMxh3WHmPCn9pTI\nYU8g/7vI114bG7heoajjI8CeULucmc8j2BukQhufIrx9eebmeMkV33KbMnn3J94G\niUcOzVUmQRV0dxN4CAeWjmg/h4vMNMY1zMduq1lsgv77UKT/LwlnEWlvAoGACYQp\nh8XsQNtYNlEiyN4fBkqm/3YwpbPXmPS8fiQt7DPbH7EkKVMG7xykH9RqNAj3eglY\nfiSQKjEX6NrGsIEqty0Ni5C5jXQlW45G9jtsSalNZFroqSJSo/9s2mEh5p4bcg6V\na2ZsP1wZiMTy9BkOBsAIu19yNc7JLt6Ftu5LDNUCgYEAxlxfZB9BESf6qsJCkZU2\nAoVx3BQco8bu4tSJs2J9346sPqLXAz8ulEnaNHv1PxECaCPN4Mf8ZVIxyLBoWvAS\nNuPFKMuw3emR8S4GWWFyfQNl8/7qmlHKuyD2eWZFns5UJ7hGvaaxHECByVc00gcu\nzyOhzFc5yE46tvWluvDjl0E=\n-----END PRIVATE KEY-----\n",
"client_email": "clujwho-notifications@molten-acumen-335611.iam.gserviceaccount.com",
"client_id": "106340644725848258260",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/clujwho-notifications%40molten-acumen-335611.iam.gserviceaccount.com"
}
33 changes: 33 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,36 @@
grid-template-rows: repeat(4, auto);
background-color: #FFFFFF;
}

/* Hide scrollbar for Chrome, Safari and Opera */
/* body::-webkit-scrollbar {
display: none;
} */
.app{
overflow: hidden;
width: 100vw;
}


/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.app {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}

body{
overflow: visible;
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none;
}

@-moz-document url-prefix() { /* Disable scrollbar Firefox */
html{
scrollbar-width: none;
}
}
76 changes: 21 additions & 55 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import './App.css'

import { BrowserRouter, HashRouter, Route, Switch } from 'react-router-dom'
// import { HashRouter, BrowserRouter, Route, Redirect } from 'react-router-dom'
import { AboutUs } from './pages/about_us/about-us-component'
import { ApplyNow } from './pages/appy-now/apply-now-page'
import { Committees } from './pages/committees/committees-component'
Expand All @@ -10,63 +10,29 @@ import { OurTeam } from './pages/our-team/our-team-component'
import { Resources } from './pages/resources/resources-component'
import { Sponsors } from './pages/sponsors/sponsors-component'
import { Schedule } from './pages/schedule/schedule-coponent'
import { HomePage2 } from './pages/home/home-component'
import { QrCodeGeneratorTool } from './pages/qr-code-generator/qr-code-generator'

import { BrowserRouter, Navigate, Route, Routes } from 'react-router-dom'

function App(): JSX.Element {
return (
<div>
{/* <BrowserRouter>
<Route path={'/'} component={MainPage} />
</BrowserRouter> */}

{/* <BrowserRouter>
<Route exact path="/clujwho23/">
<HomePage />
</Route>

<Route path="/clujwho23/apply_now/">
<ApplyNow />
</Route>

<Route path="/clujwho23/about_us/">
<AboutUs />
</Route>

<Route path="/clujwho23/schedule/">
<Schedule />
</Route>

<Route path="/clujwho23/committees/">
<Committees />
</Route>

<Route path="/clujwho23/our_team/">
<OurTeam />
</Route>

<Route path="/clujwho23/resources/">
<Resources />
</Route>

<Route path="/clujwho23/contact/">
<Contact />
</Route>

<Route path="/clujwho23/sponsors/">
<Sponsors />
</Route>
</BrowserRouter> */}

<HashRouter>
<Route exact path="/" component={HomePage} />
<Route path="/apply_now" component={ApplyNow} />
<Route path="/about_us" component={AboutUs} />
<Route path="/schedule" component={Schedule} />
<Route path="/committees" component={Committees} />
<Route path="/our_team" component={OurTeam} />
<Route path="/resources" component={Resources} />
<Route path="/contact" component={Contact} />
<Route path="/sponsors" component={Sponsors} />
</HashRouter>
<div className="app">
<BrowserRouter>
<Routes>
<Route path="/home" element={<HomePage2 />} />
<Route path="/apply_now" element={<ApplyNow />} />
<Route path="/about_us" element={<AboutUs />} />
<Route path="/qr_code" element={<QrCodeGeneratorTool />} />
<Route path="/schedule" element={<Schedule />} />
<Route path="/committees" element={<Committees />} />
<Route path="/our_team" element={<OurTeam />} />
<Route path="/resources" element={<Resources />} />
<Route path="/contact" element={<Contact />} />
<Route path="/sponsors" element={<Sponsors />} />
<Route path="*" element={<Navigate replace to="/home" />} />
</Routes>
</BrowserRouter>
</div>
)
}
Expand Down
Binary file added src/assets/ClujWho/Catedrala.jfif
Binary file not shown.
Binary file added src/assets/ClujWho/Catedrala.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/ClujWho/Catedrala.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/ClujWho/Catedrala1080p_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/ClujWho/Catedrala1080p_logo.xcf
Binary file not shown.
1 change: 1 addition & 0 deletions src/assets/ClujWho/ClujWHO_sigla.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/ClujWho/ClujWHOsiglaSquare.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading