enzostvs HF Staff commited on
Commit
990a158
·
1 Parent(s): 0b4acc5
app/api/auth/route.ts CHANGED
@@ -2,6 +2,7 @@ import { NextRequest, NextResponse } from "next/server";
2
 
3
  export async function GET(req: NextRequest) {
4
  const host = req.headers.get("host") ?? "localhost:3000";
 
5
 
6
  const redirect_uri =
7
  `${host.includes("localhost") ? "http://" : "https://"}` +
 
2
 
3
  export async function GET(req: NextRequest) {
4
  const host = req.headers.get("host") ?? "localhost:3000";
5
+ console.log(req.nextUrl);
6
 
7
  const redirect_uri =
8
  `${host.includes("localhost") ? "http://" : "https://"}` +
components/user-menu/index.tsx CHANGED
@@ -1,4 +1,10 @@
1
- import { ChartSpline, CirclePlus, FolderCode, LogOut } from "lucide-react";
 
 
 
 
 
 
2
  import Link from "next/link";
3
 
4
  import {
@@ -41,6 +47,12 @@ export const UserMenu = ({ className }: { className?: string }) => {
41
  New Project
42
  </DropdownMenuItem>
43
  </Link>
 
 
 
 
 
 
44
  <Link href="/projects">
45
  <DropdownMenuItem>
46
  <FolderCode className="size-4 text-neutral-100" />
 
1
+ import {
2
+ ChartSpline,
3
+ CirclePlus,
4
+ FolderCode,
5
+ Import,
6
+ LogOut,
7
+ } from "lucide-react";
8
  import Link from "next/link";
9
 
10
  import {
 
47
  New Project
48
  </DropdownMenuItem>
49
  </Link>
50
+ <Link href="/projects">
51
+ <DropdownMenuItem>
52
+ <Import className="size-4 text-neutral-100" />
53
+ Import Project
54
+ </DropdownMenuItem>
55
+ </Link>
56
  <Link href="/projects">
57
  <DropdownMenuItem>
58
  <FolderCode className="size-4 text-neutral-100" />