Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

login revised to google auth #4

Merged
merged 24 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
REACT_APP_CLIENT_ID=742104294908-maet14jq2ohqpl0uu0ma4qpllc30t0k5.apps.googleusercontent.com
1 change: 1 addition & 0 deletions dist/assets/index-CAuUAc4S.css

Large diffs are not rendered by default.

187 changes: 0 additions & 187 deletions dist/assets/index-DVkOYyJz.js

This file was deleted.

192 changes: 192 additions & 0 deletions dist/assets/index-DX4nqaQ-.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/assets/index-wlaMX1-3.css

This file was deleted.

38 changes: 19 additions & 19 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/lscs.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="keywords" content="LSCSlinks: LSCS's official link shortener" />
<meta
name="description"
content="LSCSlinks: LSCS's official link shortener"
/>
<title>LSCS Links</title>
<script type="module" crossorigin src="/assets/index-DVkOYyJz.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-wlaMX1-3.css">
</head>
<body>
<div id="root"></div>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/lscs.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="keywords" content="LSCSlinks: LSCS's official link shortener" />
<meta
name="description"
content="LSCSlinks: LSCS's official link shortener"
/>
<title>LSCS Links</title>
<script type="module" crossorigin src="/assets/index-DX4nqaQ-.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CAuUAc4S.css">
</head>
<body>
<div id="root"></div>
</body>
</html>
151 changes: 151 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-tabs": "^1.1.0",
"@radix-ui/react-toast": "^1.2.2",
"@react-oauth/google": "^0.12.1",
"axios": "^1.7.7",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dotenv": "^16.4.5",
"jwt-decode": "^4.0.0",
"lucide-react": "^0.445.0",
"react": "^18.3.1",
"react-cookie": "^7.2.0",
Expand Down
11 changes: 8 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
import { Layout } from "./layout/Layout";
import { BrowserRouter as Router } from "react-router-dom";
import { CookiesProvider } from "react-cookie";
import { GoogleOAuthProvider } from "@react-oauth/google";
import { Toaster } from "@/components/ui/toaster";

const App = () => {
return (
<>
<CookiesProvider>
<Router>
<Layout></Layout>
</Router>
<GoogleOAuthProvider clientId="631323246333-a20r4lll1rs1k93viaobh6f2neushf2t.apps.googleusercontent.com">
<Router>
<Layout></Layout>
<Toaster />
</Router>
</GoogleOAuthProvider>
</CookiesProvider>
</>
);
Expand Down
Loading