diff --git a/app/components/layout/social_component.html.erb b/app/components/layout/social_component.html.erb index 147937371..447a7d3c6 100644 --- a/app/components/layout/social_component.html.erb +++ b/app/components/layout/social_component.html.erb @@ -1,51 +1,18 @@
diff --git a/app/components/layout/social_component.rb b/app/components/layout/social_component.rb index 101c1c165..accd15bc5 100644 --- a/app/components/layout/social_component.rb +++ b/app/components/layout/social_component.rb @@ -1,3 +1,15 @@ class Layout::SocialComponent < ApplicationComponent delegate :content_block, to: :helpers + + private + + def sites + { + twitter: "https://twitter.com", + facebook: "https://www.facebook.com", + youtube: "https://www.youtube.com", + telegram: "https://www.telegram.me", + instragram: "https://www.instagram.com" + } + end end