|
@@ -90,15 +90,15 @@ const chunk = (arr, len) => {
|
|
|
}
|
|
|
|
|
|
const DaysOfWeek = () => (
|
|
|
- <div className="header__day-names">
|
|
|
+ <div className="header__day-row">
|
|
|
{
|
|
|
- ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
|
|
|
+ ["Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat"]
|
|
|
.map(day => (
|
|
|
<div
|
|
|
key={day}
|
|
|
- className="header__day-container"
|
|
|
+ className="header__day"
|
|
|
>
|
|
|
- <span className="header__day">{day}</span>
|
|
|
+ {day}
|
|
|
</div>
|
|
|
))
|
|
|
}
|
|
@@ -116,7 +116,7 @@ const Header = ({ name }) => (
|
|
|
<span><span className="header__yellow-text">Yellow</span> if you don't think you will be available but can't be sure this far out</span>
|
|
|
</div>
|
|
|
<span className="header__item">If you are leaving a tile blank I will assume you truly have no idea</span>
|
|
|
- <span className="header__item">WEEK buttons toggle a whole week</span>
|
|
|
+ <span className="header__item">W buttons toggle a whole week</span>
|
|
|
</>
|
|
|
)
|
|
|
|
|
@@ -145,7 +145,7 @@ const Week = ({ days, user, change, showOthers }) => (
|
|
|
})))}
|
|
|
className="week__button"
|
|
|
>
|
|
|
- WEEK
|
|
|
+ W
|
|
|
</button>
|
|
|
</div>
|
|
|
)
|
|
@@ -187,7 +187,7 @@ const useCalendar = () => {
|
|
|
function App() {
|
|
|
const [name, setName] = useState(null);
|
|
|
const [getDay, change] = useCalendar();
|
|
|
- const [showAvailability, setShowAvailability] = useState(true);
|
|
|
+ const [showAvailability, setShowAvailability] = useState(false);
|
|
|
|
|
|
if (name === null) {
|
|
|
return <NameForm onNameSet={setName} />;
|
|
@@ -200,7 +200,7 @@ function App() {
|
|
|
className="toggle-availability"
|
|
|
onClick={() => setShowAvailability(s => !s)}
|
|
|
>
|
|
|
- {showAvailability ? "Hide": "Show"} Responses
|
|
|
+ {showAvailability ? "Hide": "Show"} Other Responses
|
|
|
</button>
|
|
|
<DaysOfWeek />
|
|
|
{
|