@@ -6,167 +6,153 @@ import ShepherdHeader from '../images/shepherd-header.svg';
66const { isHome } = Astro .props ;
77---
88
9- <header class =' flex justify-center mt-4 w-full' >
10- <div class =' absolute ml-2 top-0' >
11- <Fragment class =' shepherd-logo absolute ml-2' set:html ={ ShepherdHead } />
9+ <header class =" flex justify-center mt-4 w-full" >
10+ <div class =" absolute ml-2 top-0" >
11+ <Fragment class =" shepherd-logo absolute ml-2" set:html ={ ShepherdHead } />
1212 </div >
1313
1414 <div
15- class =' bg-grey-light flex flex-col font-heading justify-center items-center w-full'
15+ class =" bg-grey-light flex flex-col font-heading justify-center items-center w-full"
1616 >
1717 <nav
18- class =' flex flex-wrap justify-center p-4 mt-40 max-w-8xl text-xl w-full lg:justify-between lg:mt-0'
18+ class =" flex flex-wrap justify-center p-4 mt-40 max-w-8xl text-xl w-full lg:justify-between lg:mt-0"
1919 >
20- <div class =' flex lg:p-12' >
20+ <div class =" flex lg:p-12" >
2121 <a
22- class =' pr-6 uppercase hover:text-navy-light lg:pr-10'
23- href =' https://github.com/shipshapecode/shepherd'
22+ class =" pr-6 uppercase hover:text-navy-light lg:pr-10"
23+ href =" https://github.com/shipshapecode/shepherd"
2424 >
2525 GitHub
2626 </a >
2727 <a
28- class =' pr-6 uppercase lg:pr-10 hover:text-navy-light'
29- href =' https://docs.shepherdjs.dev'
28+ class =" pr-6 uppercase lg:pr-10 hover:text-navy-light"
29+ href =" https://docs.shepherdjs.dev"
3030 >
3131 Docs
3232 </a >
33- <a class =' pr-6 uppercase hover:text-navy-light lg:pr-0' href =' /' >
33+ <button
34+ class =" pr-6 uppercase cursor-pointer hover:text-navy-light lg:pr-0"
35+ id =" showTour"
36+ type =" button"
37+ >
3438 Demo
35- </ a >
39+ </ button >
3640 </div >
3741
38- <div class =' flex lg:p-12' >
42+ <div class =" flex lg:p-12" >
3943 <a
40- class =' pr-6 uppercase hover:text-navy-light lg:pr-10'
41- href =' /pricing'
44+ class =" pr-6 uppercase hover:text-navy-light lg:pr-10"
45+ href =" /pricing"
4246 >
4347 Pricing
4448 </a >
4549 <a
46- class =' pr-6 uppercase hover:text-navy-light lg:pr-10'
47- href =' https://discord.gg/EGcDW5NSud'
50+ class =" pr-6 uppercase hover:text-navy-light lg:pr-10"
51+ href =" https://discord.gg/EGcDW5NSud"
4852 >
4953 Discord
5054 </a >
5155 <!-- <a class='pr-6 uppercase hover:text-navy-light lg:pr-10' href='/blog'>
5256 Blog
5357 </a> -->
5458 <a
55- class =' uppercase hover:text-navy-light'
56- 59+ class =" uppercase hover:text-navy-light"
60+ 5761 >
5862 Contact
5963 </a >
6064 </div >
6165 </nav >
6266
6367 <img
64- class =' hero-welcome p-4 w-full lg:mt-4 lg:p-0 lg:w-auto'
68+ class =" hero-welcome p-4 w-full lg:mt-4 lg:p-0 lg:w-auto"
6569 src ={ ShepherdHeader .src }
6670 alt ={ SITE_TITLE }
6771 />
6872
69- <h2 class =' font-body p-2 text-xl' >
73+ <h2 class =" font-body p-2 text-xl" >
7074 Guide your users through a tour of your app
7175 </h2 >
7276
7377 {
7478 isHome && (
75- <div class = ' column justify-center w-full' >
76- <div class = ' mx-auto max-w-2xl text-center' >
77- <div class = ' mt-10 flex items-center justify-center gap-x-6' >
78- <div class = ' bg-navy inline-block mb-4 w-56' >
79- <button
80- id = " showTour"
81- type = ' button'
82- class = ' button bg-white border-2 border-navy p-6 text-navy whitespace-nowrap w-full'
83- >
84- Show Demo Tour
85- </button >
86- </div >
87- <a href = " #hero-including" class = ' mb-4 text-md font-semibold leading-6 text-gray-900' >
88- Learn more <span aria-hidden = ' true' >→</span >
89- </a >
90- </div >
91- </div >
92- </div >
93- <div class = ' flex flex-wrap max-w-6xl p-4 w-full lg:flex-nowrap' >
94- <div class = ' m-4 relative w-full lg:w-1/3' >
95- <div class = ' border-4 border-navy w-full' >
79+ <div class = " flex flex-wrap max-w-6xl p-4 w-full lg:flex-nowrap" >
80+ <div class = " m-4 relative w-full lg:w-1/3" >
81+ <div class = " border-4 border-navy w-full" >
9682 <img
97- class = ' absolute a11y-icon z-20'
98- src = ' /img/accessibility.svg'
99- alt = ' '
100- role = ' presentation'
83+ class = " absolute a11y-icon z-20"
84+ src = " /img/accessibility.svg"
85+ alt = " "
86+ role = " presentation"
10187 />
10288
103- <div class = ' bg-grey-light border-b-4 border-navy h-40 relative w-full z-10' />
89+ <div class = " bg-grey-light border-b-4 border-navy h-40 relative w-full z-10" />
10490
105- <div class = ' bg-white h-72 p-6 relative z-10' >
106- <h3 class = ' p-2 text-2xl text-center uppercase w-full' >
91+ <div class = " bg-white h-72 p-6 relative z-10" >
92+ <h3 class = " p-2 text-2xl text-center uppercase w-full" >
10793 Accessibility
10894 </h3 >
10995
110- <p class = ' font-body p-2 text-xl' >
96+ <p class = " font-body p-2 text-xl" >
11197 Shepherd has full keyboard navigation support, focus trapping,
11298 and a11y compliance via aria attributes.
11399 </p >
114100 </div >
115101
116- <div class = ' absolute bg-navy h-full -ml-3 mt-3 top-0 w-full z-0' />
102+ <div class = " absolute bg-navy h-full -ml-3 mt-3 top-0 w-full z-0" />
117103 </div >
118104 </div >
119105
120- <div class = ' m-4 relative w-full lg:w-1/3' >
121- <div class = ' border-4 border-navy w-full' >
106+ <div class = " m-4 relative w-full lg:w-1/3" >
107+ <div class = " border-4 border-navy w-full" >
122108 <img
123- class = ' absolute customizable-icon z-20'
124- src = ' /img/customizable.svg'
125- alt = ' '
126- role = ' presentation'
109+ class = " absolute customizable-icon z-20"
110+ src = " /img/customizable.svg"
111+ alt = " "
112+ role = " presentation"
127113 />
128114
129- <div class = ' bg-grey-light border-b-4 border-navy h-40 relative w-full z-10' />
115+ <div class = " bg-grey-light border-b-4 border-navy h-40 relative w-full z-10" />
130116
131- <div class = ' bg-white h-72 p-6 relative z-10' >
132- <h3 class = ' p-2 text-2xl text-center uppercase w-full' >
117+ <div class = " bg-white h-72 p-6 relative z-10" >
118+ <h3 class = " p-2 text-2xl text-center uppercase w-full" >
133119 Highly Customizable
134120 </h3 >
135121
136- <p class = ' font-body p-2 text-xl' >
122+ <p class = " font-body p-2 text-xl" >
137123 Shepherd's styles are kept minimal, allowing you to easily
138124 customize the look and feel, but still give you enough to drop
139125 in and be ready to go quickly.
140126 </p >
141127 </div >
142128
143- <div class = ' absolute bg-navy h-full -ml-3 mt-3 top-0 w-full z-0' />
129+ <div class = " absolute bg-navy h-full -ml-3 mt-3 top-0 w-full z-0" />
144130 </div >
145131 </div >
146132
147- <div class = ' m-4 relative w-full lg:w-1/3' >
148- <div class = ' border-4 border-navy w-full' >
133+ <div class = " m-4 relative w-full lg:w-1/3" >
134+ <div class = " border-4 border-navy w-full" >
149135 <img
150- class = ' absolute framework-icon z-20'
151- src = ' /img/framework.svg'
152- alt = ' '
153- role = ' presentation'
136+ class = " absolute framework-icon z-20"
137+ src = " /img/framework.svg"
138+ alt = " "
139+ role = " presentation"
154140 />
155141
156- <div class = ' bg-grey-light border-b-4 border-navy h-40 relative w-full z-10' />
142+ <div class = " bg-grey-light border-b-4 border-navy h-40 relative w-full z-10" />
157143
158- <div class = ' bg-white h-72 p-6 relative z-10' >
159- <h3 class = ' p-2 text-2xl text-center uppercase w-full' >
144+ <div class = " bg-white h-72 p-6 relative z-10" >
145+ <h3 class = " p-2 text-2xl text-center uppercase w-full" >
160146 Framework Ready
161147 </h3 >
162148
163- <p class = ' font-body p-2 text-xl' >
149+ <p class = " font-body p-2 text-xl" >
164150 Shepherd is ready to drop into your application using React,
165151 Ember, Angular, Vue.js, ES Modules, or plain Javascript!
166152 </p >
167153 </div >
168154
169- <div class = ' absolute bg-navy h-full -ml-3 mt-3 top-0 w-full z-0' />
155+ <div class = " absolute bg-navy h-full -ml-3 mt-3 top-0 w-full z-0" />
170156 </div >
171157 </div >
172158 </div >
0 commit comments