Skip to content

Commit

Permalink
OMG Transitions finally work
Browse files Browse the repository at this point in the history
  • Loading branch information
bigalex2k committed Jul 18, 2024
1 parent fe0bd1b commit c9168a1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@fontsource/roboto": "^5.0.13",
"@fullcalendar/daygrid": "^6.1.14",
"@fullcalendar/interaction": "^6.1.14",
"@fullcalendar/react": "^6.1.14",
"@fullcalendar/react": "^6.1.15",
"@fullcalendar/timegrid": "^6.1.14",
"@mui/icons-material": "^5.16.1",
"@mui/material": "^5.16.1",
Expand Down
2 changes: 2 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ a:link, a:visited, a {
height: 100vh;
background: #b2dbd7;
transform-origin: bottom;
z-index: 5;
}

.slide-out {
Expand All @@ -40,4 +41,5 @@ a:link, a:visited, a {
height: 100vh;
background: #b2dbd7;
transform-origin: top;
z-index: 5;
}
3 changes: 2 additions & 1 deletion src/pages/FullPageCalendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import timeGridPlugin from '@fullcalendar/timegrid';
import interactionPlugin from '@fullcalendar/interaction';
import './FullCalendarCustom.css'; // Import the custom CSS
import NavBar from '../Components/NavBar'; // Ensure the import path is correct
import transition from '../transiton';

interface Event {
id: string;
Expand Down Expand Up @@ -175,4 +176,4 @@ const FullPageCalendar: React.FC = () => {
);
};

export default FullPageCalendar;
export default transition(FullPageCalendar);
5 changes: 4 additions & 1 deletion src/pages/Notes.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import Background from "../Components/Background"
import NavBar from "../Components/NavBar"
import transition from "../transiton"

export default function Notes() {
function Notes() {
return (
<div>
<Background/>
<NavBar/>
</div>
)
}

export default transition(Notes)

0 comments on commit c9168a1

Please sign in to comment.