Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.2.2 #303

Merged
merged 4 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/timetable/nownext/now-and-next.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const TimeSlot = ({session,numberOfSessions,basic}) => {
<h1 className={`${titleSize} font-bold leading-none`}>{session?.title}</h1>
<p className={`${artistSize} leading-none`}>{session?.artist?.name}</p>
<div className={`${infoSize} leading-none mt-2`}>
<TinaMarkdown content={session?.details}/> {session?.location } ---
<TinaMarkdown content={session?.details}/> {session?.location }
</div>

{/* {JSON.stringify(session,null,2)} */}
Expand All @@ -133,9 +133,9 @@ const SingleTimeSlot = ({session,numberOfSessions}) => {

const RoomHeaders = ({rooms,day,numberOfSessions}) => {
const gridSize = numberOfSessions < 2 ? 5 : numberOfSessions

return <div className={`grid grid-cols-${gridSize} `}>
{rooms.map((location)=>{ return <div className="bg-richblack-700 p-4 block text-center text-white text-xl font-bold uppercase " key={`${day}-${location}`}>{location}</div>})}
const gridCss = `grid-cols-${gridSize}`
return <div className={`grid ${gridCss}`}>
{rooms.map((location)=>{ return <div className="bg-richblack-700 p-4 block text-center text-white text-xl font-bold uppercase col-span-1" key={`${day}-${location}`}>{location}{numberOfSessions}</div>})}
</div>

}
Expand Down
4 changes: 3 additions & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ import { fontFamily } from "tailwindcss/defaultTheme";
module.exports = {
content: ["./components/**/*.{js,ts,jsx,tsx}", "./app/**/*.{js,ts,jsx,tsx}"],
darkMode: "class",
safelist: ["dark", "light"],
safelist: ["dark", "light",{
pattern: /grid/
}],
theme: {
colors: {
transparent: "transparent",
Expand Down
Loading