Skip to content

Commit

Permalink
feat: add shadow & move oauth url to env
Browse files Browse the repository at this point in the history
  • Loading branch information
Iam-DeepakVel committed Dec 21, 2023
1 parent 9c5011d commit 455f6f0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ COPY package-lock.json ./
COPY . .
RUN npm install

ARG NEXT_PUBLIC_DISCORD_OAUTH_URL
ENV NEXT_PUBLIC_DISCORD_OAUTH_URL $NEXT_PUBLIC_DISCORD_OAUTH_URL

ARG NEXT_PUBLIC_KITTY_CHAN_API
ENV NEXT_PUBLIC_KITTY_CHAN_API $NEXT_PUBLIC_KITTY_CHAN_API

Expand Down
2 changes: 1 addition & 1 deletion app/(features)/dashboard/[guildId]/greet/[target]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ const GreetTargetPage = () => {
return (
<li
key={template._id}
className="px-6 py-4 shadow-md bg-[#0e0e0e] rounded-lg lg:w-[60%] 2xl:w-[75%]"
className="px-6 py-4 shadow-[0px_0px_20px_1px_#6ad09d] bg-[#0e0e0e] rounded-lg lg:w-[60%] 2xl:w-[75%]"
>
<div className="flex items-center gap-4 mb-2">
<h2 className="font-semibold capitalize text-xl bg-gradient-to-r from-purple-300 via-purple-200 to-purple-300 bg-clip-text text-transparent">
Expand Down
2 changes: 1 addition & 1 deletion components/events-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const EventsList = ({ events, guildId, feature }: EventsListProps) => {
<Link key={path} href={`/dashboard/${guildId}/${feature}/${path}`}>
<li
key={path}
className="p-4 shadow-md bg-[#0e0e0e] rounded-2xl group w-full md:w-60 h-full hover:shadow-purple-300"
className="p-4 shadow-md hover:text-yellow-100 bg-[#0e0e0e] rounded-2xl group w-full md:w-60 h-full hover:shadow-[0px_0px_20px_1px_#fcf097]"
>
<Icon className="text-purple-300 mb-2" size={35} />
<h2 className="font-semibold capitalize text-lg mb-1">{name}</h2>
Expand Down
3 changes: 1 addition & 2 deletions lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const DISCORD_OAUTH_URL =
"https://discord.com/api/oauth2/authorize?client_id=1157556243360129071&redirect_uri=https%3A%2F%2Fkittychan.live%2Fauth%2Fdiscord&response_type=code&scope=identify%20guilds";
const DISCORD_OAUTH_URL = process.env.NEXT_PUBLIC_DISCORD_OAUTH_URL;

export { DISCORD_OAUTH_URL };

0 comments on commit 455f6f0

Please sign in to comment.