Skip to content

Commit

Permalink
fix: solved minor issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jidalii committed Dec 16, 2024
1 parent 7a29d78 commit dda5775
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 187 deletions.
2 changes: 1 addition & 1 deletion bu_arts_admin/src/components/EventBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const EventBox = ({ event }: { event: Event }) => {
return (

<div
className="relative event-box w-96 p-4 m-10 border rounded-lg shadow-md mb-4 text-white overflow-hidden"
className="relative event-box p-4 border rounded-lg shadow-md text-white overflow-hidden"
style={{
backgroundImage: `url(${event.eventPhoto})`,
backgroundSize: 'cover',
Expand Down
2 changes: 1 addition & 1 deletion bu_arts_admin/src/components/PastEventBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const PastEventBox = ({ event }: { event: Event }) => {
return (

<div
className="relative event-box w-96 p-4 m-10 border rounded-lg shadow-md mb-4 text-white overflow-hidden"
className="relative event-box p-4 border rounded-lg shadow-md text-white overflow-hidden"
style={{
backgroundImage: `url(${event.eventPhoto})`,
backgroundSize: 'cover',
Expand Down
2 changes: 1 addition & 1 deletion bu_arts_admin/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if (!PUBLISHABLE_KEY) {

ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<ClerkProvider publishableKey={PUBLISHABLE_KEY} afterSignOutUrl="/">
<ClerkProvider publishableKey={PUBLISHABLE_KEY} afterSignOutUrl="/dashboard">
<App />
</ClerkProvider>
</React.StrictMode>,
Expand Down
6 changes: 2 additions & 4 deletions bu_arts_admin/src/pages/PastEventsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,8 @@ const PastEventsPage: React.FC<FetchAllEventsProps> = () => {
<img className="w-5 h-5 text-gray-400 absolute right-3 top-2.5" src="/public/icons/search.png" alt="search_icon" />
</div>
</div>
<div className="min-h-screen flex flex-col mx-auto p-6">

{/* Scrollable events container */}
<div className="flex-grow h-96 overflow-y-auto bg-slate-50">
<div className="min-h-screen flex flex-col mx-auto p-6 overflow-x-hidden">
<div className="flex-grow h-96 overflow-y-auto bg-slate-50 px-4">
{events.length > 0 ? (
<ul className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">
{events.map((event) => (
Expand Down
6 changes: 2 additions & 4 deletions bu_arts_admin/src/pages/UpcomingEventsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,8 @@ const UpcomingEventsPage: React.FC<FetchAllEventsProps> = () => {
<img className="w-5 h-5 text-gray-400 absolute right-3 top-2.5" src="/public/icons/search.png" alt="search_icon" />
</div>
</div>
<div className="min-h-screen flex flex-col mx-auto p-6">

{/* Scrollable events container */}
<div className="flex-grow h-96 overflow-y-auto bg-slate-50">
<div className="min-h-screen flex flex-col mx-auto p-6 overflow-x-hidden">
<div className="flex-grow h-96 overflow-y-auto bg-slate-50 px-4">
{events.length > 0 ? (
<ul className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">
{events.map((event) => (
Expand Down
2 changes: 1 addition & 1 deletion bu_passport/scripts/bu_event_calendar_scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,4 +305,4 @@ def main(table_name, start_date):
print("Event Scraping has completed")


main("new_events", "20241130")
main("new_events", "20241216")
175 changes: 0 additions & 175 deletions bu_passport/scripts/eventscraper.py

This file was deleted.

0 comments on commit dda5775

Please sign in to comment.