forked from gitroomhq/postiz-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nevo David
committed
Jul 14, 2023
1 parent
705f0d0
commit 32f60cf
Showing
48 changed files
with
16,746 additions
and
3,662 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,3 +40,5 @@ Thumbs.db | |
|
||
# Next.js | ||
.next | ||
|
||
.angular |
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,3 +1,4 @@ | ||
# Add files here to ignore them from prettier formatting | ||
/dist | ||
/coverage | ||
/coverage | ||
.angular |
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,6 @@ | ||
REDIS_URL= | ||
MONGO_URL= | ||
JWT_SECRET= | ||
FRONT_END_URL= | ||
PASSWORD_ENCRYPTION= | ||
IV_KEY= | ||
KAFKA_BROKERS= | ||
REDIS_URL=redis://localhost:6379 | ||
MONGO_URL=mongodb://localhost/clickvote | ||
JWT_SECRET=sdlkfjsdsfgdsfgdkljfhfewiehw!?@#!@$!@$asdasd | ||
FRONT_END_URL=http://localhost:4200 | ||
PASSWORD_ENCRYPTION=sdfgsdgdsgdsfgsdffasdfas | ||
IV_KEY=a1b2c3d4e5f6g7dsgdsgh8a1b2c3d4e5f6g7h8 |
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,2 @@ | ||
KAFKA_BROKERS= | ||
BIGDATA_DB_HOST= | ||
BIGDATA_DB_PORT= | ||
BIGDATA_DB_TYPE= | ||
BIGDATA_DB_USER= | ||
BIGDATA_DB_NAME= | ||
BIGDATA_DB_PASSWORD= | ||
REDIS_URL=redis://localhost:6379 | ||
MONGO_URL=mongodb://localhost/clickvote |
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_BACKEND_PATH= | ||
NEXT_PUBLIC_BACKEND_PATH=http://localhost:3000/api | ||
NEXT_PUBLIC_WEBSOCKETS_URL=localhost:3001 |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { | ||
AnchorHTMLAttributes, | ||
ButtonHTMLAttributes, | ||
DetailedHTMLProps, | ||
FC, | ||
} from 'react'; | ||
import clsx from 'clsx'; | ||
import { LinkProps } from 'next/dist/client/link'; | ||
import Link from 'next/link'; | ||
|
||
export const LinkButton: FC< | ||
DetailedHTMLProps< | ||
AnchorHTMLAttributes<HTMLAnchorElement>, | ||
HTMLAnchorElement | ||
> & | ||
LinkProps | ||
> = (props) => { | ||
const { ref, ...theRest } = props; | ||
return ( | ||
<Link | ||
{...theRest} | ||
className={clsx( | ||
'text-sm h-8 pl-3 pr-3 rounded-md gap-1 font-semibold bg-white text-black hover:bg-white/90 focus-visible:ring-2 focus-visible:ring-white/20 focus-visible:outline-none focus-visible:bg-white/90 disabled:hover:bg-white inline-flex items-center border justify-center select-none disabled:cursor-not-allowed disabled:opacity-70 transition ease-in-out duration-200 cursor-pointer', | ||
props.className | ||
)} | ||
/> | ||
); | ||
}; |
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
Oops, something went wrong.