-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auth page changes + icons with potential fix for google oauth
- Loading branch information
Showing
14 changed files
with
124 additions
and
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
import { PrismaClient } from "@prisma/client"; | ||
import { createClient } from "redis"; | ||
import config from "./config"; | ||
import { logger } from "./logging"; | ||
|
||
export const prisma = new PrismaClient(); | ||
|
||
// TODO: use ioredis instead | ||
export const redis = createClient({ | ||
url: config.REDIS_URL, | ||
}); | ||
|
||
redis.on("error", (err) => { | ||
console.error(err); | ||
logger.error(err); | ||
}); |
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 +1,2 @@ | ||
NEXT_PUBLIC_API_BASE_URL="" | ||
NEXT_PUBLIC_API_BASE_URL= # the API's base URL; prod should be https://api.trysupernova.one | ||
ENV= # the platform to build for. Either "desktop" or "web"; optional |
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
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,7 +1,32 @@ | ||
import Image from "next/image"; | ||
|
||
type ImageProps = React.ImgHTMLAttributes<HTMLImageElement> & { | ||
width?: number; | ||
height?: number; | ||
priority?: boolean; | ||
placeholder?: "blur" | "empty"; | ||
}; | ||
|
||
export const arrowRightPath = "icons/arrow-right.svg"; | ||
|
||
export const ArrowRightIcon = () => ( | ||
<Image src={arrowRightPath} width={20} height={20} alt="Arrow Right" /> | ||
export const ArrowRightIcon = (props: ImageProps) => ( | ||
<Image | ||
src={arrowRightPath} | ||
width={20} | ||
height={20} | ||
alt="Arrow Right" | ||
{...props} | ||
/> | ||
); | ||
|
||
export const supernovaGlobePath = "/supernova-globe.svg"; | ||
|
||
export const SupernovaGlobeLogoImage = (props: ImageProps) => ( | ||
<Image | ||
src={supernovaGlobePath} | ||
width={40} | ||
height={40} | ||
alt="Supernova's logo--a gradient globe with cyan/bright teal colors on the left, and pinkish color on the right" | ||
{...props} | ||
/> | ||
); |
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
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
fea3fdf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
supernova-desktop-v2 – ./apps/desktop-v2
supernova-desktop-v2.vercel.app
supernova-desktop-v2-trysupernova.vercel.app
supernova-desktop-v2-git-main-trysupernova.vercel.app
web.trysupernova.one