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

Cw2 10 redesign resources cards to incorporate logos #17

Merged
merged 12 commits into from
Jun 24, 2024

Conversation

andrew-l3
Copy link
Collaborator

Why the changes are required?

As specified in title.

Changes

  • Structural html changes (refactor).
  • Incorporating svg logos (used images for some guides where missing).
  • Added separate data-file for resource cards (resourceCards.ts).

Screenshots

screen 4

screen 5

Comments

  • Retaining current grid format?

@andrew-l3 andrew-l3 requested a review from derekxu04 June 20, 2024 11:10
CW2-29 Create additional resource for CSESoc Learn
Copy link
Collaborator

@derekxu04 derekxu04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really nice work, looks much better now.

Changes:

  • Put some small comments below
  • Make sure to pull from the main branch, as there have been some changes. One main one is that Compclub has been replaced with CSESoc Learn, but hopefully that is a very quick fix

Comments:

  • I think the grid format is fine if we did want to keep it, but did you have any suggestions, would be more than happy to hear them

<h2 className="mt-1 text-3xl font-extrabold">Enrolment Guide</h2>
<p className="mt-7 text-lg mb-5">Learn how to get a headstart on uni</p>
</a>
{stage1.map((item, index) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: don't need index if not going to use it, can just do .map(item => {...})

</a>
{stage1.map((item, index) => {
return (
<a
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need a key for each element otherwise will complain

Copy link
Collaborator

@derekxu04 derekxu04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, thanks, looks good. Just a couple of quick changes and then feel free to merge!

<h2 className="mt-1 text-3xl font-extrabold">Enrolment Guide</h2>
<p className="mt-7 text-lg mb-5">Learn how to get a headstart on uni</p>
</a>
{stage1.map((item: any) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be item: resourceCards right

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is left over from before we moved into frontend/backend, can remove

@andrew-l3 andrew-l3 merged commit b0e4bfb into master Jun 24, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants