-
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.
Merge branch 'main' into speakers-admin
- Loading branch information
Showing
51 changed files
with
1,822 additions
and
126 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
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,12 @@ | ||
import { EventDto } from '@ddays-app/types'; | ||
import { QueryOptions, useQuery } from 'react-query'; | ||
|
||
import { api } from '..'; | ||
|
||
const eventGetAll = () => { | ||
return api.get<never, EventDto[]>('/event'); | ||
}; | ||
|
||
export const useEventGetAll = (options?: QueryOptions<EventDto[]>) => { | ||
return useQuery(['event'], eventGetAll, options); | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,21 +1,63 @@ | ||
.button { | ||
background-color: #5cc2a0; | ||
color: #fff; | ||
border: 2px solid #5cc2a0; | ||
padding: 9px 26px; | ||
border-radius: 5px; | ||
border: none; | ||
outline: none; | ||
margin: 0; | ||
padding: 14px 16px; | ||
background: white; | ||
position: relative; | ||
transition: 300ms; | ||
|
||
.text { | ||
position: relative; | ||
margin: 0; | ||
color: #121212; | ||
font-feature-settings: | ||
'ss09' on, | ||
'ss07' on, | ||
'ss06' on, | ||
'ss08' on, | ||
'ss03' on; | ||
font-family: 'PP Neue Montreal Mono'; | ||
font-size: 14px; | ||
font-style: normal; | ||
font-weight: 500; | ||
letter-spacing: 1px; | ||
text-transform: uppercase; | ||
} | ||
|
||
cursor: pointer; | ||
font-size: 16px; | ||
font-weight: 600; | ||
transition: all 0.3s ease-in-out; | ||
display: block; | ||
|
||
&.primary { | ||
background-color: #5cc2a0; | ||
&:before { | ||
content: ''; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.4' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E"); | ||
background-size: cover; | ||
opacity: 0; | ||
z-index: 0; | ||
transition: 300ms; | ||
} | ||
|
||
&:hover { | ||
overflow: hidden; | ||
background-color: rgb(17, 17, 17); | ||
|
||
.text { | ||
color: white; | ||
z-index: 5; | ||
} | ||
|
||
&:before { | ||
opacity: 0.2; | ||
} | ||
} | ||
|
||
&.secondary { | ||
background-color: #fff; | ||
color: #5cc2a0; | ||
&:active { | ||
&::before { | ||
opacity: 0.85; | ||
} | ||
} | ||
} |
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,3 @@ | ||
export * from './Button'; | ||
import Button from './Button'; | ||
|
||
export default Button; |
Oops, something went wrong.