Skip to content

Commit

Permalink
Ticketing Beta branding and File Cleanup (#686)
Browse files Browse the repository at this point in the history
* Add beta tag everywhere and add frontend auth check for issuing tickets

* Delete legacy events code
  • Loading branch information
julianweng authored Apr 29, 2024
1 parent 1c4d9ef commit ff74f68
Show file tree
Hide file tree
Showing 6 changed files with 127 additions and 1,033 deletions.
2 changes: 1 addition & 1 deletion frontend/components/ClubEditPage/TicketsViewCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function TicketsViewCard({
const ticketEvents = club.events.filter((event) => event.ticketed)

return (
<BaseCard title="Tickets">
<BaseCard title="Tickets (beta)">
{ticketEvents.length > 0 ? (
<Table
data={ticketEvents.map((item, index) =>
Expand Down
15 changes: 15 additions & 0 deletions frontend/components/common/BetaTag.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { BlueTag } from './Tags'

export const BetaTag = ({ children }) => {
return (
<div style={{ display: 'flex', alignItems: 'center', gap: '6px' }}>
<div style={{ lineHeight: '1', fontSize: 'inherit' }}>{children}</div>
<BlueTag
className="tag is-rounded has-text-white"
style={{ marginTop: '-30px' }}
>
Beta
</BlueTag>
</div>
)
}
Loading

0 comments on commit ff74f68

Please sign in to comment.