-
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.
layouts for event, day and calendar wrapper
- Loading branch information
Showing
3 changed files
with
166 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,34 @@ | ||
import "./style.css"; | ||
|
||
class Main { | ||
class Calendar { | ||
constructor() {} | ||
} | ||
|
||
new Main(); | ||
new Calendar(); | ||
|
||
// template for weekday cell -> day class | ||
// week container as section (Calendar) | ||
// event class -> event cell | ||
// main class for wiring all together | ||
// api util with static helper | ||
|
||
// DAY BLUEPRINT/CLASS | ||
// > events, timestamp | ||
// setter method for events, timestamp | ||
// setter will have a proxy for layouts | ||
// takes care of today class | ||
|
||
// API UTIL CLASS -> Singleton/static utils | ||
// static api call method | ||
// static BASE URL | ||
|
||
// EVENT CLASS | ||
// startTime, endTime, name | ||
// binds to event template | ||
|
||
// CALENDAR CLASS | ||
// driver for entire application | ||
// initializeApp -> draws reference to body elements, appends week layout inside body, | ||
// initializes fetching of event data, adds event listener to buttons | ||
// set heading for week dates | ||
// Fetch event callback -> day.setEvents |
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