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 2022-11-30 13:16:38 #5809

Merged
merged 84 commits into from
Dec 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
06a9a73
提出物タブでもマイプロフィール確認と日報作成がしたい
ksmxxxxxx Nov 11, 2022
0df989d
commentable.comments が nil になり例外を出すことがあるため早期リターンを追加
yamatatsu10969 Nov 12, 2022
f060017
イベント一覧に定期イベント作成リンクを追加
sadanora Nov 9, 2022
901dc37
不要なテストケースを削除
sadanora Nov 16, 2022
0d1d7b3
非画像ファイルがアップロードされた時リンクで表示されるようにした
keiz1213 Oct 18, 2022
58d9079
lint修正
keiz1213 Oct 18, 2022
572e0b5
textarea-markdownアップデート
keiz1213 Nov 16, 2022
289cbe7
ユーザー情報更新ページにフィードURLの入力欄を追加
siso25 Sep 3, 2022
1c61809
フィードURL入力欄のデザイン
machida Sep 21, 2022
b22613d
ユーザー情報のフィードURLにバリデーションを追加
siso25 Oct 16, 2022
edf2e2a
フィードURL更新時のエラ〜メッセージを修正
siso25 Nov 14, 2022
037849f
ymlの変更に伴い、システムテストを修正
siso25 Nov 16, 2022
13453c2
管理者・メンター・アドバイザー・卒業生でログインしているときは休会リンクを非表示にした
sadanora Nov 17, 2022
eaf9bf6
管理者ログイン時に/welcomeページに表示されるメンター・アドバイザーがcreated_atの昇順で並ぶようにした
sadanora Nov 17, 2022
8badf6d
Merge pull request #5753 from fjordllc/feature/add-creating-regular-e…
komagata Nov 18, 2022
67d51e1
Merge pull request #5776 from fjordllc/fix/commentable_comments_nil
komagata Nov 18, 2022
9cad930
Merge pull request #5418 from fjordllc/feature/add_rss_url_to_user_in…
komagata Nov 18, 2022
a522a32
トップページのRubyKaigi2022横断幕バナーを削除
peno022 Nov 19, 2022
d2be216
最後の回答から1週間経過したら質問を投稿した人に通知されるようにした
keiz1213 Sep 24, 2022
9055dc9
通知処理をQestionのクラスメソッドに切り出した
keiz1213 Sep 26, 2022
24a87c1
activity_notifierのテストを追加
keiz1213 Sep 27, 2022
3e97d36
notification_mailerのテストを追加
keiz1213 Sep 27, 2022
e795c10
システムテスト追加
keiz1213 Sep 27, 2022
a28a8f1
タイポ修正
keiz1213 Sep 27, 2022
903f71a
ロジック修正
keiz1213 Oct 1, 2022
192bd58
fixtures追加&テスト修正
keiz1213 Oct 1, 2022
47eb12f
lint修正
keiz1213 Oct 1, 2022
df27459
mailerのテストのfixtureをシステムテストと統一した
keiz1213 Oct 2, 2022
802521f
日にちの比較に不備があったので修正
keiz1213 Oct 2, 2022
7865517
fixtures修正
keiz1213 Oct 2, 2022
5a7379f
最後の回答の判定基準をcreated_atに変更。それに伴うメソッドの追加
keiz1213 Oct 8, 2022
1400e86
通知処理の名前変更
keiz1213 Oct 8, 2022
db30376
システムテスト内でテストデータを作成するようにした
keiz1213 Oct 8, 2022
1e5e473
notification_mailerのテストデータ修正
keiz1213 Oct 9, 2022
af14cd6
lint修正
keiz1213 Oct 9, 2022
288920c
条件式を修正
keiz1213 Oct 12, 2022
d7db825
テストデータをより正確な日時で作成するようにした
keiz1213 Oct 12, 2022
1bb4e03
仕様変更に対応しやすいようにした
keiz1213 Oct 18, 2022
76e561b
certain_period_has_passed?メソッドのテスト追加
keiz1213 Oct 26, 2022
222e92b
通知処理名を変更
keiz1213 Oct 26, 2022
7f05fd0
誤字修正
keiz1213 Oct 27, 2022
d400021
last_answerメソッドのテスト追加
keiz1213 Oct 31, 2022
8730b70
lint修正
keiz1213 Oct 31, 2022
0758ee6
daily controller内の通知処理実行方法が変更になったためそれに合わせる
keiz1213 Nov 9, 2022
9b48a26
daily_controller内での通知処理に統一性を持たせるため、Questionのnotify_questioner_to_choo…
keiz1213 Nov 9, 2022
015c922
controllerの肥大化防止の観点から、通知処理をdaily_controllerからQuestionクラスに移動
keiz1213 Nov 11, 2022
4c838fe
lint修正
keiz1213 Nov 11, 2022
364a644
certain_period_has_passed?のテストを日時を固定する方法に変更
keiz1213 Nov 16, 2022
b1d2801
last_answerのテストを時間を固定する方法に変更
keiz1213 Nov 16, 2022
394a569
システムテストを日時を固定する方法に変更
keiz1213 Nov 17, 2022
33f9b02
RubyKaigi2021のバナー画像を削除
peno022 Nov 19, 2022
b9884c4
マイプロフィールのパスをシンプルに変更
ksmxxxxxx Nov 19, 2022
41fbdda
Watchタブでも日報作成とマイプロフィールの確認をしたい
ksmxxxxxx Nov 10, 2022
38c6f51
Merge pull request #5587 from fjordllc/feature/notify-after-one-week-…
komagata Nov 21, 2022
ccacc68
Merge pull request #5760 from fjordllc/feature/add_daily_note_button_…
komagata Nov 21, 2022
b04134e
メンターの場合卒業後の自分について記入する必要がない
ksmxxxxxx Nov 17, 2022
391d2e9
アドバイザーも非表示のテストをしていたので、メンターも非表示のテストを追加
ksmxxxxxx Nov 17, 2022
2de718b
他のテストに合わせて小文字に修正
ksmxxxxxx Nov 21, 2022
50dc8a1
Merge pull request #5810 from fjordllc/feature/change-the-mentors-and…
komagata Nov 21, 2022
2909b19
Merge pull request #5659 from fjordllc/feature/rendering-non-image-fi…
komagata Nov 21, 2022
57b0a72
Merge pull request #5804 from fjordllc/feature/hide-a-hibernating-lin…
komagata Nov 21, 2022
816b8d0
Merge pull request #5812 from fjordllc/feature/remove-RubyKaigi2022-b…
komagata Nov 21, 2022
b77dabf
Merge pull request #5803 from fjordllc/feature/hide_from_after_gradua…
komagata Nov 21, 2022
0f250ae
package-lock.jsonを削除
komagata Nov 23, 2022
3b0b724
Merge pull request #5830 from fjordllc/bug/remove-lockfile
komagata Nov 23, 2022
daa1538
最後の回答から1週間経過したら通知される機能の動作確認のためにデータを追加
keiz1213 Nov 23, 2022
2f5df2a
node 18.12.1にアップグレード
komagata Nov 23, 2022
787240e
メンターの著書は登録降順で表示したい
ksmxxxxxx Nov 17, 2022
12559e1
development環境でメンターの関連著書の表示する
ksmxxxxxx Nov 19, 2022
b16841a
わかりやすくするためにメンターの情報を渡している部分をscope化
ksmxxxxxx Nov 23, 2022
f19e179
著書は登録した降順で表示が基本になると思うのでmodelのscopeにした
ksmxxxxxx Nov 23, 2022
87a05c3
メンター情報のscopeを内容に合わせて変更
ksmxxxxxx Nov 24, 2022
51053fe
Merge pull request #5832 from fjordllc/hotfix/add-seed-for-notificati…
komagata Nov 24, 2022
ce6d972
Merge pull request #5833 from fjordllc/chore/node18.12.1
komagata Nov 24, 2022
7784cdd
PullReq作成時にテンプレートが適用される位置に変更
ksmxxxxxx Nov 24, 2022
bc07566
PullReqのテンプレートを直近のPullReqの形式に合わせる形に修正
ksmxxxxxx Nov 24, 2022
bc33e1b
頂いたレビューを参考に、テンプレート内容を修正
ksmxxxxxx Nov 25, 2022
02d7c61
node 16.13.0にダウングレード
komagata Nov 24, 2022
791bc11
Merge pull request #5835 from fjordllc/chore/down-to-node16.13.0
komagata Nov 25, 2022
851ab81
Merge pull request #5813 from fjordllc/feature/display_related_books_…
komagata Nov 25, 2022
4ad187e
Merge pull request #5834 from fjordllc/feature/add_pull_request_template
komagata Nov 25, 2022
fb08119
Merge pull request #5758 from fjordllc/feature/add_create_daily_note_…
komagata Nov 29, 2022
b76f8ca
capybaraエラー時のscreenshotの保存先を設定
komagata Nov 30, 2022
686d719
Merge pull request #5846 from fjordllc/chore/save-screenshots
komagata Nov 30, 2022
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
16 changes: 12 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@ version: 2.1

orbs:
ruby: circleci/[email protected]
node: circleci/[email protected].2
browser-tools: circleci/browser-tools@1.3.0
node: circleci/[email protected].3
browser-tools: circleci/browser-tools@1.4.0
jobs:
build:
docker:
- image: cimg/ruby:3.1.0-node
steps:
- checkout
- ruby/install-deps
- node/install:
install-yarn: true
node-version: '16.13.0'
- node/install-packages:
pkg-manager: yarn
check:
Expand All @@ -28,6 +31,9 @@ jobs:
- run:
name: Traceroute
command: FAIL_ON_ERROR=1 bundle exec rake traceroute
- node/install:
install-yarn: true
node-version: '16.13.0'
- node/install-packages:
pkg-manager: yarn
- run:
Expand Down Expand Up @@ -58,6 +64,9 @@ jobs:
- browser-tools/install-chromedriver
- checkout
- ruby/install-deps
- node/install:
install-yarn: true
node-version: '16.13.0'
- node/install-packages:
pkg-manager: yarn
- run:
Expand All @@ -76,8 +85,7 @@ jobs:
- store_test_results:
path: test/reports
- store_artifacts:
path: /tmp/test-results
destination: test-results
path: tmp/screenshots
workflows:
build_and_test:
jobs:
Expand Down
7 changes: 0 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md

This file was deleted.

17 changes: 17 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## Issue

- Issue番号

## 概要

## 変更確認方法

1. {branch_name}をローカルに取り込む
2.

## Screenshot

### 変更前

### 変更後

1 change: 0 additions & 1 deletion app/assets/images/banners/ima1zumi.svg

This file was deleted.

Binary file removed app/assets/images/banners/rubykaigi_2022.png
Binary file not shown.
Binary file added app/assets/images/help/feed-url.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion app/assets/stylesheets/atoms/_a-short-text.sass
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
border: none
border-top: dashed 1px $border
+margin(vertical, 1.25em)
&.is-ta-center
&.is-ta-center,
.is-ta-center
text-align: center
&.is-sm
font-size: .8125rem
2 changes: 2 additions & 0 deletions app/controllers/api/comments_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ class API::CommentsController < API::BaseController

def index
if params[:commentable_type].present?
return if commentable.comments.nil?

@comments = commentable.comments.order(created_at: :desc)
@comment_total_count = @comments.size
@comments = @comments.limit(params[:comment_limit])
Expand Down
3 changes: 2 additions & 1 deletion app/controllers/current_user_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ def user_params
:nda, :avatar, :trainee,
:mail_notification, :job_seeker, :tag_list,
:after_graduation_hope, :training_ends_on, :profile_image,
:profile_name, :profile_job, :profile_text, { authored_books_attributes: %i[id title url cover _destroy] }
:profile_name, :profile_job, :profile_text, { authored_books_attributes: %i[id title url cover _destroy] },
:feed_url
]
user_attribute.push(:retired_on, :graduated_on, :free, :github_collaborator) if current_user.admin?
params.require(:user).permit(user_attribute)
Expand Down
1 change: 1 addition & 0 deletions app/controllers/scheduler/daily_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ def show
notify_certain_period_passed_after_retirement
notify_tomorrow_regular_event
notify_product_review_not_completed
Question.notify_certain_period_passed_after_last_answer
head :ok
end

Expand Down
2 changes: 1 addition & 1 deletion app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def user_params
:os, :experience, :prefecture_code,
:company_id, :nda, :avatar,
:trainee, :adviser, :job_seeker,
:tag_list, :after_graduation_hope
:tag_list, :after_graduation_hope, :feed_url
)
end

Expand Down
2 changes: 1 addition & 1 deletion app/controllers/welcome_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class WelcomeController < ApplicationController
layout 'welcome'

def index
@mentors = User.with_attached_profile_image.mentor.includes(authored_books: { cover_attachment: :blob })
@mentors = User.mentors_sorted_by_created_at
end

def pricing; end
Expand Down
8 changes: 8 additions & 0 deletions app/mailers/notification_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -193,4 +193,12 @@ def update_regular_event
subject = "[FBC] 定期イベント【#{@regular_event.title}】が更新されました。"
mail to: @user.email, subject: subject
end

# required params: question, receiver
def no_correct_answer
@user = @receiver
@notification = @user.notifications.find_by(link: "/questions/#{@question.id}", kind: Notification.kinds[:no_correct_answer])
subject = "[FBC] #{@user.login_name}さんの質問【 #{@question.title} 】のベストアンサーがまだ選ばれていません。"
mail to: @user.email, subject: subject
end
end
4 changes: 4 additions & 0 deletions app/models/answer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ def receiver
def path
Rails.application.routes.url_helpers.polymorphic_path(question, anchor: anchor)
end

def certain_period_has_passed?
created_at.since(1.week).to_date == Date.current
end
end
2 changes: 2 additions & 0 deletions app/models/authored_book.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ class AuthoredBook < ApplicationRecord
in: %w[image/png image/jpg image/jpeg image/gif],
message: 'はPNG, JPG, GIF形式にしてください'
}

scope :sorted, -> { order(created_at: :desc) }
end
3 changes: 2 additions & 1 deletion app/models/notification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ class Notification < ApplicationRecord
graduated: 18,
hibernated: 19,
signed_up: 20,
regular_event_updated: 21
regular_event_updated: 21,
no_correct_answer: 22
}

scope :unreads, -> { where(read: false) }
Expand Down
10 changes: 10 additions & 0 deletions app/models/notification_facade.rb
Original file line number Diff line number Diff line change
Expand Up @@ -229,4 +229,14 @@ def self.update_regular_event(regular_event, receiver)
receiver: receiver
).update_regular_event.deliver_later(wait: 5)
end

def self.no_correct_answer(question, receiver)
ActivityNotifier.with(question: question, receiver: receiver).no_correct_answer.notify_now
return unless receiver.mail_notification? && !receiver.retired?

NotificationMailer.with(
question: question,
receiver: receiver
).no_correct_answer.deliver_later(wait: 5)
end
end
22 changes: 22 additions & 0 deletions app/models/question.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,28 @@ class Question < ApplicationRecord

mentionable_as :description

class << self
def notify_certain_period_passed_after_last_answer
return if Question.not_solved_and_certain_period_has_passed.blank?

Question.not_solved_and_certain_period_has_passed.each do |not_solved_question|
NotificationFacade.no_correct_answer(not_solved_question, not_solved_question.user)
end
end

def not_solved_and_certain_period_has_passed
not_solved.select do |not_solved_question|
next if not_solved_question.answers.empty?

not_solved_question.last_answer.certain_period_has_passed?
end
end
end

def last_answer
answers.max_by(&:created_at)
end

private

def will_be_published?
Expand Down
13 changes: 13 additions & 0 deletions app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,13 @@ class User < ApplicationRecord
message: 'はDiscordのチャンネルURLを入力してください'
}

validates :feed_url,
format: {
allow_blank: true,
with: URI::DEFAULT_PARSER.make_regexp(%w[http https]),
message: 'は「http://example.com」や「https://example.com」のようなURL形式で入力してください'
}

validates :login_name, exclusion: { in: RESERVED_LOGIN_NAMES, message: 'に使用できない文字列が含まれています' }

validates :avatar, attached: false,
Expand Down Expand Up @@ -285,6 +292,12 @@ class User < ApplicationRecord
}
scope :year_end_party, -> { where(retired_on: nil) }
scope :mentor, -> { where(mentor: true) }
scope :mentors_sorted_by_created_at, lambda {
with_attached_profile_image
.mentor
.includes(authored_books: { cover_attachment: :blob })
.order(:created_at)
}
scope :working, lambda {
active.where(
adviser: false,
Expand Down
15 changes: 15 additions & 0 deletions app/notifiers/activity_notifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -322,4 +322,19 @@ def update_regular_event(params = {})
read: false
)
end

def no_correct_answer(params = {})
params.merge!(@params)
question = params[:question]
receiver = params[:receiver]

notification(
body: "Q&A「#{question.title}」のベストアンサーがまだ選ばれていません。",
kind: :no_correct_answer,
receiver: receiver,
sender: question.sender,
link: Rails.application.routes.url_helpers.polymorphic_path(question),
read: false
)
end
end
7 changes: 4 additions & 3 deletions app/views/application/_user_menu.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
li.header-dropdown__item
= link_to logout_path, class: 'header-dropdown__item-link' do
| ログアウト
li.header-dropdown__item
= link_to new_hibernation_path, class: 'header-dropdown__item-link' do
| 休会手続き
- if current_user.student_or_trainee_or_retired?
li.header-dropdown__item
= link_to new_hibernation_path, class: 'header-dropdown__item-link' do
| 休会手続き
li.header-dropdown__item
= link_to new_retirement_path, class: 'header-dropdown__item-link' do
| 退会手続き
11 changes: 11 additions & 0 deletions app/views/current_user/products/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ header.page-header
.page-header__inner
h2.page-header__title
| ダッシュボード
.page-header-actions
.page-header-actions__items
.page-header-actions__item
= link_to current_user, class: 'a-button is-md is-secondary is-block' do
i.fa-solid.fa-user
| マイプロフィール
- unless current_user.adviser?
.page-header-actions__item
= link_to new_report_path, class: 'a-button is-md is-secondary is-block' do
i.fa-regular.fa-plus
| 日報作成

= render 'home/page_tabs', user: @user

Expand Down
11 changes: 11 additions & 0 deletions app/views/current_user/watches/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ header.page-header
.page-header__inner
h2.page-header__title
| ダッシュボード
.page-header-actions
.page-header-actions__items
.page-header-actions__item
= link_to current_user, class: 'a-button is-md is-secondary is-block' do
i.fa-solid.fa-user
| マイプロフィール
- unless current_user.adviser?
.page-header-actions__item
= link_to new_report_path, class: 'a-button is-md is-secondary is-block' do
i.fa-regular.fa-plus
| 日報作成

= render 'home/page_tabs', user: @user

Expand Down
4 changes: 4 additions & 0 deletions app/views/events/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ header.page-header
= link_to new_event_path, class: 'a-button is-md is-secondary is-block' do
i.fa-regular.fa-plus
| イベント作成
.page-header-actions__item
= link_to new_regular_event_path, class: 'a-button is-md is-secondary is-block' do
i.fa-regular.fa-plus
| 定期イベント作成

= render 'events/tabs'

Expand Down
1 change: 1 addition & 0 deletions app/views/notification_mailer/no_correct_answer.html.slim
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= render 'notification_mailer_template', title: "#{@user.login_name}さんの質問【 #{@question.title} 】のベストアンサーがまだ選ばれていません。", link_url: notification_url(@notification), link_text: "#{@user.login_name}さんの質問へ"
3 changes: 2 additions & 1 deletion app/views/users/_form.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
= render 'users/form/description', f: f, user: user
= render 'users/form/tags', f: f, user: user
- unless user.adviser?
= render 'users/form/after_graduation_hope', f: f, user: user
- unless user.mentor?
= render 'users/form/after_graduation_hope', f: f, user: user
= render 'users/form/job', f: f
= render 'users/form/os', f: f
= render 'users/form/prefecture', f: f
Expand Down
25 changes: 25 additions & 0 deletions app/views/users/form/_sns.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,18 @@
.a-form-help
p URL を入力。

.form-item
= f.label :feed_url, class: 'a-form-label'
= f.text_field :feed_url, class: 'a-text-input', placeholder: 'https://docs.komagata.org/rss'
.a-form-help
p
| RSS ・ Atom の URL を入力。
label.a-form-help-link.is-danger(for='modal-feed-url')
span.a-form-help-link__label
| 調べ方
span.a-help
i.fa-solid.fa-question

= render '/shared/modal', id: 'modal-discord-account', modal_title: 'Discord のアカウントの調べ方'
.modal__description.is-md
.a-short-text
Expand All @@ -79,3 +91,16 @@
| 自分の分報チャンネルが開かれた状態で、ブラウザのアドレスバーに表示されている URL をコピーしてください。
p
= image_tag('help/discord-channel-url.png', alt: '分報チャンネルの URL の調べ方')

= render '/shared/modal', id: 'modal-feed-url', modal_title: 'フィード URL の調べ方'
.modal__description.is-md
.a-short-text
p
= link_to 'https://berss.com/feed/', target: '_blank', rel: 'noopener noreferrer' do
| RSSフィード取得・検出ツール – RSSリスティング
| このページにアクセス。
p
| 自分のブログの URL (記事の URL ではなく、トップページ)を入力し、「検索スタートをクリック」。
p.is-ta-center
= link_to 'https://berss.com/feed/', target: '_blank', rel: 'noopener noreferrer' do
= image_tag('help/feed-url.png', alt: 'フィード URL の調べ方', width: '300')
2 changes: 1 addition & 1 deletion app/views/welcome/_mentor.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ section.welcome-member.a-card
- if mentor.authored_books.present?
.welcome-member-books
ul.welcome-member-books__items
- mentor.authored_books.each do |authored_book|
- mentor.authored_books.sorted.each do |authored_book|
- if authored_book.cover.attached?
li.welcome-member-books__item
= link_to authored_book.url, target: :_blank, rel: 'noopener noreferrer', class: 'welcome-member-books__item-link' do
Expand Down
7 changes: 0 additions & 7 deletions app/views/welcome/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@

= render 'welcome/main_visual'

.welcome-sections
.home-banners.welcome-section.has-no-padding-bottom
.container.is-md
.home-banners__inner
= link_to 'https://bootcamp.fjord.jp/articles/50', rel: 'noopener', target: 'blank' do
= image_tag 'banners/rubykaigi_2022.png'

.welcome-sections
= render 'welcome/campaign' if Campaign.today_campaign?
= render 'welcome/about'
Expand Down
Loading