[Glitch] Redesign landing page

Port 65fffeac3f to glitch-soc
This commit is contained in:
Eugen Rochko
2019-03-12 17:34:00 +01:00
committed by Thibaut Girka
parent 02062aab55
commit bbb9ff0e84
9 changed files with 304 additions and 775 deletions

View File

@ -1,6 +1,7 @@
# frozen_string_literal: true
class PublicTimelinesController < ApplicationController
before_action :set_pack
layout 'public'
before_action :check_enabled
@ -31,4 +32,8 @@ class PublicTimelinesController < ApplicationController
def set_instance_presenter
@instance_presenter = InstancePresenter.new
end
def set_pack
use_pack 'about'
end
end