Skip to content

Commit ad3584f

Browse files
authored
Update importmap setup instructions (#140)
1 parent 2596c9f commit ad3584f

File tree

2 files changed

+370
-147
lines changed

2 files changed

+370
-147
lines changed

app/views/docs/installation/rails_bundler_view.rb

-22
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
# frozen_string_literal: true
22

33
class Docs::Installation::RailsBundlerView < ApplicationView
4-
def initialize
5-
@phlex_rails_link = "https://www.phlex.fun/rails/"
6-
@phlex_ui_pro_private_key = ENV["BUNDLE_PHLEXUI__FURY__SITE"]
7-
end
8-
94
def view_template
105
div(class: "max-w-2xl mx-auto w-full py-10 space-y-10") do
116
render Docs::Header.new(title: "Rails - JS Bundler", description: "How to install RubyUI within a Rails app that employs JS bundling.")
@@ -463,21 +458,4 @@ def info_icon
463458
)
464459
end
465460
end
466-
467-
def arrow_icon
468-
svg(
469-
xmlns: "http://www.w3.org/2000/svg",
470-
fill: "none",
471-
viewbox: "0 0 24 24",
472-
stroke_width: "2",
473-
stroke: "currentColor",
474-
class: "w-4 h-4 ml-1.5 -mr-1"
475-
) do |s|
476-
s.path(
477-
stroke_linecap: "round",
478-
stroke_linejoin: "round",
479-
d: "M4.5 12h15m0 0l-6.75-6.75M19.5 12l-6.75 6.75"
480-
)
481-
end
482-
end
483461
end

0 commit comments

Comments
 (0)