Skip to content

Commit

Permalink
remove refresh banner
Browse files Browse the repository at this point in the history
  • Loading branch information
dilanx committed May 13, 2024
1 parent 4e76e0f commit a31534c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 33 deletions.
26 changes: 12 additions & 14 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {
update,
} from './app/AccountModification';
import bn from './app/BannerNotice';
import clp from './app/ChangeLogPreview';
import {
addBookmark,
addCourse,
Expand All @@ -31,12 +30,18 @@ import {
removeSummerQuarter,
removeYear,
} from './app/PlanModification';
import {
activateRecentShare,
getRecentShare,
removeRecentShareHistory,
updateRecentShare,
} from './app/RecentShare';
import {
addOverride,
addScheduleBookmark,
addSection,
clearSchedule,
checkOverrides,
clearSchedule,
putCustomSection,
removeOverrides,
removeScheduleBookmark,
Expand All @@ -46,7 +51,6 @@ import AccountPlans from './components/account/AccountPlans';
import Bookmarks from './components/bookmarks/Bookmarks';
import CampusMap from './components/map/CampusMap';
import BannerNotice from './components/menu/BannerNotice';
import ChangeLogPreview from './components/changelog/ChangeLogPreview';
import Info from './components/menu/Info';
import ModeSwitch from './components/menu/ModeSwitch';
import Notes from './components/menu/Notes';
Expand All @@ -57,8 +61,12 @@ import ContextMenu from './components/menu/context-menu/ContextMenu';
import SideCard from './components/menu/side-card/SideCard';
import Toolbar from './components/menu/toolbar/Toolbar';
import Content from './components/plan/Content';
import { openInfo as planOpenInfo } from './components/plan/CourseInfo';
import Ratings from './components/rating/Ratings';
import Schedule from './components/schedule/Schedule';
import { openInfo as scheduleOpenInfo } from './components/schedule/ScheduleSectionInfo';
import Search from './components/search/Search';
import { RecentShareModificationFunctions } from './types/AccountTypes';
import { AlertData } from './types/AlertTypes';
import {
AppState,
Expand All @@ -73,6 +81,7 @@ import {
PlanModificationFunctions,
PlanSpecialFunctions,
} from './types/PlanTypes';
import { RatingsViewData } from './types/RatingTypes';
import {
ScheduleData,
ScheduleInteractions,
Expand All @@ -81,19 +90,8 @@ import {
import { SearchModificationFunctions } from './types/SearchTypes';
import { SideCardData } from './types/SideCardTypes';
import { Mode } from './utility/Constants';
import { openInfo as planOpenInfo } from './components/plan/CourseInfo';
import { PaperError } from './utility/PaperError';
import { openInfo as scheduleOpenInfo } from './components/schedule/ScheduleSectionInfo';
import Utility from './utility/Utility';
import {
activateRecentShare,
getRecentShare,
removeRecentShareHistory,
updateRecentShare,
} from './app/RecentShare';
import { RecentShareModificationFunctions } from './types/AccountTypes';
import Ratings from './components/rating/Ratings';
import { RatingsViewData } from './types/RatingTypes';
const d = debug('app');

const VERSION = process.env.REACT_APP_VERSION ?? '0.0.0';
Expand Down
20 changes: 1 addition & 19 deletions src/app/BannerNotice.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,5 @@
import { BannerData } from '../types/BaseTypes';

const bn: BannerData | null = {
id: 'promo-refresh',
gradient: 2,
content: (
<>
💃 Don't miss the Refresh Dance Crew performances Fri 9 PM, Sat 7 PM, or
Sat 10 PM.{' '}
<a
href="https://nbo.universitytickets.com/w/default.aspx?cid=211"
target="_blank"
rel="noreferrer"
className="text-yellow-100 underline underline-offset-2 hover:text-yellow-300 hover:no-underline"
>
Get tickets.
</a>{' '}
🕺
</>
),
};
const bn: BannerData | null = null;

export default bn;

0 comments on commit a31534c

Please sign in to comment.