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

[#394] feat: update link of pycontw blogger #395

Merged
merged 6 commits into from
Apr 14, 2023

Conversation

yungshenglu
Copy link
Contributor

Types of changes

  • Bugfix
  • Refactoring

Description

  • 更新 Blogger 網址為:https://conf.python.tw
  • Refactor BulletinCardCollectionBulletinCard
    • 將原本 i18n 裡面非 i18n 相關的資料抽離到 configs/pageLanding.js
  • Refactor FooterSocialFooterHistory
    • 將資料抽離到 configs/pageLanding.js

Related Issue

#394

Additional context

NA

@yungshenglu yungshenglu requested a review from josix April 7, 2023 06:37
@netlify
Copy link

netlify bot commented Apr 7, 2023

Deploy Preview for ephemeral-sable-89c7e0 ready!

Name Link
🔨 Latest commit d595878
🔍 Latest deploy log https://app.netlify.com/sites/ephemeral-sable-89c7e0/deploys/643932d9c6dae5000892155d
😎 Deploy Preview https://deploy-preview-395--ephemeral-sable-89c7e0.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@yungshenglu yungshenglu requested review from SivanYeh and josix and removed request for josix April 7, 2023 06:38
@josix josix requested a review from erik1110 April 8, 2023 19:28
@josix
Copy link
Collaborator

josix commented Apr 8, 2023

@tim08094495757 @SivanYeh @erik1110 please take a look about the refactroing (extracting data layer, new css coding style). Feel free to leave any thoughts, thanks!

Copy link
Member

@tim08094495757 tim08094495757 left a comment

Choose a reason for hiding this comment

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

Thanks, @yungshenglu and @josix.
These are feedbacks:

  1. In BulletinCard.vue, classes like bulletin--card__content were removed, but classes like bulletin--card__header are still survived~ => Need a explanation.
  2. Youtube.svg to YouTube.svg => Now YouTube.svg is missing.

@yungshenglu
Copy link
Contributor Author

yungshenglu commented Apr 10, 2023

Thanks, @yungshenglu and @josix. These are feedbacks:

  1. In BulletinCard.vue, classes like bulletin--card__content were removed, but classes like bulletin--card__header are still survived~ => Need a explanation.
  2. Youtube.svg to YouTube.svg => Now YouTube.svg is missing.
  1. The reason why I don't remove bulletin--card__header is that there are have media-query in it which need extra check between the design guideline and the support in Tailwind. I think we have some refactoring later for this case.
  2. Thanks for reminding me that I missed the case-sensitive in filename. I have fixed it.

@tim08094495757 tim08094495757 self-requested a review April 10, 2023 17:24
Copy link
Collaborator

@josix josix left a comment

Choose a reason for hiding this comment

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

Thanks for the hard work @yungshenglu. The whole refactoring about static data control looks really neat. Thanks!

Copy link
Collaborator

Choose a reason for hiding this comment

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

😍😍😍

Comment on lines 54 to 59
@media (min-width: 768px) {
.core-footerIcon {
width: 33px;
height: 33px;
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

question: I found that we have defined the md breakpoint prefix as @media (min-width: 768px) {....} in tailwind.config.js. I guess we could just adopt utility class md:w-[33px] md:h-[33px]for the class core-footerIcon?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If we have already defined, then I can replace them.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@apply absolute;
top: 30%;
}

.bulletin--card__header {
@apply font-serif text-base text-center mt-6 mb-5 font-bold;
@media (min-width: 375px) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

question: how about using xs:text-xl xs:mt-8 xs:mb-5

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

<div class="w-full flex justify-center items-center flex-wrap">
<ext-link
v-for="(item, index) in dataConfig"
:key="`landing-footer-icon-${index}`"
Copy link
Collaborator

Choose a reason for hiding this comment

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

suggestion: I guess we also need to define the convention of naming the keys of items in array. e.g. [page]-[block]-[element]-[index] or something like that.

Copy link
Contributor Author

@yungshenglu yungshenglu Apr 13, 2023

Choose a reason for hiding this comment

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

This is the part I forgot in the last meeting. There are so many kinds of naming convention in the repository. I totally agree that we should define one of our naming convention here.

@josix josix linked an issue Apr 10, 2023 that may be closed by this pull request
@yungshenglu yungshenglu requested a review from josix April 14, 2023 10:17
Copy link
Collaborator

@josix josix left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

[首頁] PyCon TW Blogger 網址更新
4 participants