-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: teams table on admin dashboard (#222)
Co-authored-by: Jaisal Patel <70134418+GhostOf0days@users.noreply.github.com> Co-authored-by: GhostOf0days <jaisal.patel45@gmail.com>
- Loading branch information
1 parent
905fe18
commit 3024dac
Showing
156 changed files
with
10,146 additions
and
9,172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
{ | ||
"bracketSpacing": true, | ||
"printWidth": 80, | ||
"proseWrap": "preserve", | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"tabWidth": 4, | ||
"useTabs": true, | ||
"arrowParens": "always", | ||
"endOfLine": "lf", | ||
"overrides": [ | ||
{ | ||
"files": "*.json", | ||
"options": { | ||
"singleQuote": false | ||
} | ||
}, | ||
{ | ||
"files": ".*rc", | ||
"options": { | ||
"singleQuote": false, | ||
"parser": "json" | ||
} | ||
} | ||
] | ||
} | ||
"bracketSpacing": true, | ||
"printWidth": 80, | ||
"proseWrap": "preserve", | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"tabWidth": 4, | ||
"useTabs": true, | ||
"arrowParens": "always", | ||
"endOfLine": "lf", | ||
"overrides": [ | ||
{ | ||
"files": "*.json", | ||
"options": { | ||
"singleQuote": false | ||
} | ||
}, | ||
{ | ||
"files": ".*rc", | ||
"options": { | ||
"singleQuote": false, | ||
"parser": "json" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
const backends = { | ||
local: "http://localhost:4000", | ||
development: "https://dev.backend.tartanhacks.com", | ||
staging: "https://stg.backend.tartanhacks.com", | ||
production: "https://backend.tartanhacks.com" | ||
} | ||
local: 'http://localhost:4000', | ||
development: 'https://dev.backend.tartanhacks.com', | ||
staging: 'https://stg.backend.tartanhacks.com', | ||
production: 'https://backend.tartanhacks.com', | ||
}; | ||
module.exports = { | ||
poweredByHeader: false, | ||
reactStrictMode: false, | ||
env: { | ||
BACKEND_URL: backends[process.env.APP_ENV || "development"] | ||
} | ||
} | ||
poweredByHeader: false, | ||
reactStrictMode: false, | ||
env: { | ||
BACKEND_URL: backends[process.env.APP_ENV || 'development'], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,51 @@ | ||
import { StyledEngineProvider, ThemeProvider } from "@mui/material" | ||
import type { AppProps } from "next/app" | ||
import Head from "next/head" | ||
import { ReactElement } from "react" | ||
import { Provider } from "react-redux" | ||
import Script from "next/script" | ||
import store from "src/store" | ||
import { theme } from "src/themes/theme" | ||
import "styles/globals.scss" | ||
import { StyledEngineProvider, ThemeProvider } from '@mui/material'; | ||
import type { AppProps } from 'next/app'; | ||
import Head from 'next/head'; | ||
import { ReactElement } from 'react'; | ||
import { Provider } from 'react-redux'; | ||
import Script from 'next/script'; | ||
import store from 'src/store'; | ||
import { theme } from 'src/themes/theme'; | ||
import 'styles/globals.scss'; | ||
|
||
const App = ({ Component, pageProps }: AppProps): ReactElement => { | ||
return ( | ||
<> | ||
<Head> | ||
<title>TartanHacks</title> | ||
{/* Disable cache control */} | ||
<meta | ||
httpEquiv="Cache-Control" | ||
content="no-cache, no-store, must-revalidate" | ||
/> | ||
<meta httpEquiv="Pragma" content="no-cache" /> | ||
<meta httpEquiv="Expires" content="0" /> | ||
<meta name="description" content="Register for TartanHacks" /> | ||
<link rel="icon" href="/favicon.png" /> | ||
<Script | ||
async | ||
src={`https://www.googletagmanager.com/gtag/js?id=${process.env.GOOGLE_ANALYTICS_ID}`} | ||
></Script> | ||
<Script id="google-analytics" strategy="afterInteractive"> | ||
{` | ||
return ( | ||
<> | ||
<Head> | ||
<title>TartanHacks</title> | ||
{/* Disable cache control */} | ||
<meta | ||
httpEquiv="Cache-Control" | ||
content="no-cache, no-store, must-revalidate" | ||
/> | ||
<meta httpEquiv="Pragma" content="no-cache" /> | ||
<meta httpEquiv="Expires" content="0" /> | ||
<meta name="description" content="Register for TartanHacks" /> | ||
<link rel="icon" href="/favicon.png" /> | ||
<Script | ||
async | ||
src={`https://www.googletagmanager.com/gtag/js?id=${process.env.GOOGLE_ANALYTICS_ID}`} | ||
></Script> | ||
<Script id="google-analytics" strategy="afterInteractive"> | ||
{` | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
gtag('config', '${process.env.GOOGLE_ANALYTICS_ID}', { | ||
page_path: window.location.pathname, | ||
}); | ||
`} | ||
</Script> | ||
</Head> | ||
<ThemeProvider theme={theme}> | ||
<Provider store={store}> | ||
<StyledEngineProvider injectFirst> | ||
<Component {...pageProps} /> | ||
</StyledEngineProvider> | ||
</Provider> | ||
</ThemeProvider> | ||
</> | ||
) | ||
} | ||
</Script> | ||
</Head> | ||
<ThemeProvider theme={theme}> | ||
<Provider store={store}> | ||
<StyledEngineProvider injectFirst> | ||
<Component {...pageProps} /> | ||
</StyledEngineProvider> | ||
</Provider> | ||
</ThemeProvider> | ||
</> | ||
); | ||
}; | ||
|
||
export default App | ||
export default App; |
Oops, something went wrong.