-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: create supervisor component #21
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
24c05b7
add auto resize textarea
chewmanji 021093c
refact: remove textarea hook
chewmanji bba980c
feat: add redirecting to uuid generated path
chewmanji 2e928f2
feat: Create a Supervisor component
mejsiejdev ed8d61a
feat: Create a view to test Supervisor component
mejsiejdev 318bf1b
refact: remove tailwind scrollbar lib; small fixes
chewmanji 8ed9c45
refact: remove code for testing; rename tailwind color variable
chewmanji 24c1833
feat(supervisor): Add highlight state
mejsiejdev 43fa21d
fix(supervisor): fix lint errors
mejsiejdev 175c79f
feat(supervisor): update based on the new design
mejsiejdev 6b97952
refactor: reformat `pnpm-lock.yaml`
mejsiejdev c38562c
refactor: Use `pnpm-lock.yaml` from `main`
mejsiejdev 03f5729
Merge branch 'main' into 14-create-supervisor-component
mejsiejdev 5b13447
feat(supervisor): update to the revised design
mejsiejdev 28999e1
refactor(supervisor): use `shadcn` accordion
mejsiejdev e8e1278
Merge branch 'main' into 14-create-supervisor-component
mejsiejdev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,9 +1,54 @@ | ||
import { Chat } from "@/components/chat"; | ||
import { Chat, PromochatorIcon } from "@/components/chat"; | ||
import { Supervisor } from "@/components/supervisor"; | ||
|
||
export default function ChatPage() { | ||
return ( | ||
<div className="flex flex-grow items-center justify-center"> | ||
<div className="flex flex-grow flex-col items-center justify-center gap-4"> | ||
<Chat /> | ||
<div className="w-full max-w-7xl space-y-4 p-8"> | ||
<div className="flex items-center gap-4"> | ||
<PromochatorIcon | ||
imageWidth={36} | ||
imageHeight={36} | ||
imageClassName="py-2 px-1" | ||
/> | ||
<p className="rounded-2xl bg-message-primary px-4 py-3"> | ||
Oto promotorzy, którzy mogą Ci pomóc w realizacji tego tematu: | ||
</p> | ||
</div> | ||
<Supervisor | ||
name="Dr hab. Anna Nowak" | ||
faculty="Faculty of Computer Science" | ||
papers={[ | ||
{ | ||
title: "Modern Web Development Frameworks", | ||
description: | ||
"This paper discusses various frameworks used in modern web development, comparing their performance and usability.", | ||
}, | ||
{ | ||
title: "Responsive Design Techniques", | ||
description: | ||
"An exploration of techniques for creating responsive web applications that work on various devices.", | ||
}, | ||
]} | ||
/> | ||
<Supervisor | ||
name="Dr hab. Anna Nowak" | ||
faculty="Faculty of Computer Science" | ||
papers={[ | ||
{ | ||
title: "Modern Web Development Frameworks", | ||
description: | ||
"This paper discusses various frameworks used in modern web development, comparing their performance and usability.", | ||
}, | ||
{ | ||
title: "Responsive Design Techniques", | ||
description: | ||
"An exploration of techniques for creating responsive web applications that work on various devices.", | ||
}, | ||
]} | ||
/> | ||
</div> | ||
</div> | ||
); | ||
} |
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: This icon gets really tiny on mobile. Just noting this since this whole markup is just for showcasing the component, this should be handled in #45