7
7
content ="A Stimulus controller to create new fields on the fly to populate your Rails relationship. "
8
8
/>
9
9
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
10
- < link href ="https://unpkg.com/tailwindcss@^2.0/dist/tailwind.min.css " rel ="stylesheet " />
11
10
12
11
< title > Stimulus Rails Nested Form</ title >
13
12
14
13
< script type ="module " defer >
14
+ import './src/app.css'
15
15
import { Application } from '@hotwired/stimulus'
16
16
import NestedForm from './src/index'
17
17
75
75
< div class ="text-center ">
76
76
< h1 class ="text-4xl tracking-tight font-extrabold text-gray-900 sm:text-5xl md:text-6xl ">
77
77
< span class ="block xl:inline "> Stimulus</ span >
78
- < span class ="block text-yellow-600 xl:inline "> Rails Nested Form</ span >
78
+ < span class ="block bg-gradient-to-r from-yellow-500 to-orange-500 xl:inline bg-clip-text text-transparent "
79
+ > Rails Nested Form</ span
80
+ >
79
81
</ h1 >
80
82
81
83
< p class ="mt-3 max-w-md mx-auto text-base text-gray-500 sm:text-lg md:mt-5 md:text-xl md:max-w-3xl ">
@@ -100,28 +102,30 @@ <h1 class="text-4xl tracking-tight font-extrabold text-gray-900 sm:text-5xl md:t
100
102
class ="inline-block "
101
103
src ="https://img.shields.io/github/license/stimulus-components/stimulus-rails-nested-form.svg "
102
104
/>
103
-
104
- < img
105
- class ="inline-block "
106
- src ="https://api.netlify.com/api/v1/badges/f75f37fa-c1c7-42c3-8266-27d11c67c2b1/deploy-status "
107
- />
108
105
</ p >
109
106
110
107
< div class ="mt-5 max-w-md mx-auto sm:flex sm:justify-center md:mt-8 ">
111
108
< div class ="rounded-md shadow ">
112
109
< a
113
- href ="https://github.com/ stimulus-components/stimulus-rails-nested-form "
114
- class ="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white bg-yellow-600 hover:bg -yellow-700 md:py-4 md:text-lg md:px-10 "
110
+ href ="https://www. stimulus-components.com/docs /stimulus-rails-nested-form "
111
+ class ="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white bg-gradient-to-r from -yellow-500 to-orange-500 md:py-4 md:text-lg md:px-10 "
115
112
>
116
- GitHub
113
+ Documentation →
117
114
</ a >
118
115
</ div >
119
116
< div class ="mt-3 rounded-md shadow sm:mt-0 sm:ml-3 ">
120
117
< a
121
- href ="https://stimulus-components.netlify.app/docs/components/ stimulus-rails-nested-form/ "
122
- class ="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-yellow-600 bg-white hover:bg-gray-50 md:py-4 md:text-lg md:px-10 "
118
+ href ="https://github.com/ stimulus-components/ stimulus-rails-nested-form "
119
+ class ="w-full flex items-center justify-center gap-1 px-8 py-3 border border-transparent text-base font-medium rounded-md bg-white hover:bg-gray-50 md:py-4 md:text-lg md:px-10 "
123
120
>
124
- Documentation
121
+ < svg fill ="currentColor " viewBox ="0 0 24 24 " aria-hidden ="true " class ="h-6 w-6 ">
122
+ < path
123
+ fill-rule ="evenodd "
124
+ d ="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z "
125
+ clip-rule ="evenodd "
126
+ > </ path >
127
+ </ svg >
128
+ GitHub
125
129
</ a >
126
130
</ div >
127
131
</ div >
0 commit comments