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

faet: sponsor section #65

Merged
merged 8 commits into from
Mar 23, 2024
Merged

faet: sponsor section #65

merged 8 commits into from
Mar 23, 2024

Conversation

toshick
Copy link
Contributor

@toshick toshick commented Mar 21, 2024

Sponsor section

desktop tablet mobile
image image image

Todo and Question

  • ボタンをVFSubmitButtonで作成しているが本当はLinkButton?
  • ボタンのサイズ調整はボタン側でやるべきだが、StoryBookが起動できないのでSponserセクション内部で調整
  • Sponserセクションのタグを sectionにしたかったが、sectionにするとなぜかくずれてしまうのでdivにしている

VFButton を試しにつくってみた

  • 前回同様にhrefやtoから判断してbutton, anchor, nuxt-linkに自動でかわるボタンコンポーネントをつくってみました
    image

@toshick toshick self-assigned this Mar 21, 2024
Copy link

netlify bot commented Mar 21, 2024

Deploy Preview for rad-froyo-c5cd05 ready!

Name Link
🔨 Latest commit b71cfa0
🔍 Latest deploy log https://app.netlify.com/sites/rad-froyo-c5cd05/deploys/65fd94fe88bb0e000824231a
😎 Deploy Preview https://deploy-preview-65--rad-froyo-c5cd05.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 configuration.

type: Boolean,
default: false,
},
href: {
Copy link
Collaborator

Choose a reason for hiding this comment

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

NITS

おそらく昨年やっていたことと記憶していますが、
コンポーネントごちゃとしますし、Button という名目でリンクを提供するのは違和感を感じるかも

<MarkDownText path="sponsor" />
</div>

<img class="sponsor-term" src="/sponsor/sponsor-term.svg" alt="スポンサー申込期間 2024.4.1(月)-2024.4.30(火)" width="344"
Copy link
Collaborator

Choose a reason for hiding this comment

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

✍️

CSS ベタ書きではなく SVG 読込で対応されたんですね

Copy link
Collaborator

@jiyuujin jiyuujin left a comment

Choose a reason for hiding this comment

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

LGTM です!

期日まで無いと思いますので、即マージできればです
ただし、おいおい昨年との差分についても今後、明確に定義できたらなと思いますね

@jiyuujin jiyuujin merged commit 9aa27ad into main Mar 23, 2024
9 checks passed
@jiyuujin jiyuujin deleted the feat/top-sponsor-section branch March 23, 2024 03:48
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