Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes in feature/craftjs #57

Merged
merged 8 commits into from
Nov 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/destack/src/themes/hyperui/Banner3/source.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ const source = `
<div class="mt-8 flex flex-wrap gap-4 text-center">
<a
href="#"
class="block w-full rounded bg-rose-600 px-12 py-3 text-sm font-medium text-white shadow hover:bg-rose-700 focus:outline-none focus:ring active:bg-rose-500 sm:w-auto"
class="block w-full rounded bg-red-600 px-12 py-3 text-sm font-medium text-white shadow hover:bg-rose-700 focus:outline-none focus:ring active:bg-rose-500 sm:w-auto"
>
Get Started
</a>

<a
href="#"
class="block w-full rounded bg-white px-12 py-3 text-sm font-medium text-rose-600 shadow hover:text-rose-700 focus:outline-none focus:ring active:text-rose-500 sm:w-auto"
class="block w-full rounded bg-white px-12 py-3 text-sm font-medium text-red-600 shadow hover:text-rose-700 focus:outline-none focus:ring active:text-rose-500 sm:w-auto"
>
Learn More
</a>
Expand Down
2 changes: 1 addition & 1 deletion lib/destack/src/themes/hyperui/Footer10/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const source = `
/>

<button
class="absolute top-1/2 right-1 -translate-y-1/2 rounded-full bg-blue-600 px-5 py-3 text-sm font-medium text-white transition hover:bg-blue-700"
class="absolute top-1 right-1 -translate-y-1/2 rounded-full bg-blue-600 px-5 py-3 text-sm font-medium text-white transition hover:bg-blue-700"
type="button"
>
Subscribe
Expand Down
57 changes: 29 additions & 28 deletions lib/destack/src/themes/hyperui/Footer3/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ const source = `
</nav>

<div class="mt-6 flex justify-center gap-6 sm:mt-0 sm:justify-end">
<a
class="rounded-full border border-white/25 p-2 hover:opacity-75"
href=""
target="_blank"
<a
href="/"
rel="noreferrer"
target="_blank"
class="text-white transition hover:opacity-75"
>
<span class="sr-only"> Facebook </span>
<span class="sr-only">Facebook</span>

<svg
class="h-4 w-4"
class="w-6 h-6"
fill="currentColor"
viewBox="0 0 24 24"
aria-hidden="true"
Expand All @@ -49,15 +49,15 @@ const source = `
</a>

<a
class="rounded-full border border-white/25 p-2 hover:opacity-75"
href=""
target="_blank"
rel="noreferrer"
href="/"
rel="noreferrer"
target="_blank"
class="text-white transition hover:opacity-75"
>
<span class="sr-only"> Instagram </span>
<span class="sr-only">Instagram</span>

<svg
class="h-4 w-4"
class="w-6 h-6"
fill="currentColor"
viewBox="0 0 24 24"
aria-hidden="true"
Expand All @@ -71,24 +71,25 @@ const source = `
</a>

<a
class="rounded-full border border-white/25 p-2 hover:opacity-75"
href=""
target="_blank"
rel="noreferrer"
>
<span class="sr-only"> Twitter </span>

<svg
class="h-4 w-4"
fill="currentColor"
viewBox="0 0 24 24"
aria-hidden="true"
href="/"
rel="noreferrer"
target="_blank"
class="text-white transition hover:opacity-75"
>
<path
d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"
/>
</svg>
<span class="sr-only">Twitter</span>

<svg
class="w-6 h-6"
fill="currentColor"
viewBox="0 0 24 24"
aria-hidden="true"
>
<path
d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"
/>
</svg>
</a>

</div>
</div>
</div>
Expand Down
54 changes: 27 additions & 27 deletions lib/destack/src/themes/hyperui/Footer4/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ const source = `
</ul>

<div class="mt-16 flex gap-3">
<a
class="rounded-full border border-white/25 p-2 hover:opacity-75"
href=""
target="_blank"
<a
href="/"
rel="noreferrer"
target="_blank"
class="transition hover:opacity-75"
>
<span class="sr-only"> Facebook </span>
<span class="sr-only">Facebook</span>

<svg
class="h-4 w-4"
class="w-6 h-6"
fill="currentColor"
viewBox="0 0 24 24"
aria-hidden="true"
Expand All @@ -48,15 +48,15 @@ const source = `
</a>

<a
class="rounded-full border border-white/25 p-2 hover:opacity-75"
href=""
target="_blank"
href="/"
rel="noreferrer"
target="_blank"
class="transition hover:opacity-75"
>
<span class="sr-only"> Instagram </span>
<span class="sr-only">Instagram</span>

<svg
class="h-4 w-4"
class="w-6 h-6"
fill="currentColor"
viewBox="0 0 24 24"
aria-hidden="true"
Expand All @@ -68,17 +68,16 @@ const source = `
/>
</svg>
</a>

<a
class="rounded-full border border-white/25 p-2 hover:opacity-75"
href=""
target="_blank"
href="/"
rel="noreferrer"
target="_blank"
class="transition hover:opacity-75"
>
<span class="sr-only"> Twitter </span>
<span class="sr-only">Twitter</span>

<svg
class="h-4 w-4"
class="w-6 h-6"
fill="currentColor"
viewBox="0 0 24 24"
aria-hidden="true"
Expand All @@ -90,15 +89,15 @@ const source = `
</a>

<a
class="rounded-full border border-white/25 p-2 hover:opacity-75"
href=""
target="_blank"
href="/"
rel="noreferrer"
target="_blank"
class="transition hover:opacity-75"
>
<span class="sr-only"> GitHub </span>
<span class="sr-only">GitHub</span>

<svg
class="h-4 w-4"
class="w-6 h-6"
fill="currentColor"
viewBox="0 0 24 24"
aria-hidden="true"
Expand All @@ -112,15 +111,15 @@ const source = `
</a>

<a
class="rounded-full border border-white/25 p-2 hover:opacity-75"
href=""
target="_blank"
href="/"
rel="noreferrer"
target="_blank"
class="transition hover:opacity-75"
>
<span class="sr-only"> Dribbble </span>
<span class="sr-only">Dribbble</span>

<svg
class="h-4 w-4"
class="w-6 h-6"
fill="currentColor"
viewBox="0 0 24 24"
aria-hidden="true"
Expand All @@ -132,6 +131,7 @@ const source = `
/>
</svg>
</a>

</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion lib/destack/src/themes/hyperui/Footer8/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const source = `
/>

<button
class="absolute top-1/2 right-1.5 -translate-y-1/2 rounded bg-indigo-600 p-3 text-white transition hover:bg-indigo-700"
class="absolute top-1 right-1.5 -translate-y-1/2 rounded bg-indigo-600 p-3 text-white transition hover:bg-indigo-700"
type="button"
>
<svg
Expand Down
2 changes: 1 addition & 1 deletion lib/destack/src/themes/hyperui/Footer9/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const source = `
/>

<button
class="absolute top-1/2 right-1 -translate-y-1/2 rounded-full bg-blue-600 px-5 py-3 text-sm font-medium text-white transition hover:bg-blue-700"
class="absolute top-1 right-1 -translate-y-1/2 rounded-full bg-blue-600 px-5 py-3 text-sm font-medium text-white transition hover:bg-blue-700"
type="button"
>
Subscribe
Expand Down
5 changes: 2 additions & 3 deletions lib/destack/src/themes/hyperui/Navigation3/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,22 +84,21 @@ const source = `
<div class="flex items-center gap-4">
<div class="sm:flex sm:gap-4">
<a
class="rounded-md bg-blue-600 px-5 py-2.5 text-sm font-medium text-white shadow"
class="block rounded-md bg-blue-600 px-5 py-2.5 text-sm font-medium text-white shadow"
href="/"
>
Login
</a>

<div class="hidden sm:flex">
<a
class="rounded-md bg-gray-100 px-5 py-2.5 text-sm font-medium text-blue-600"
class="block rounded-md bg-gray-100 px-5 py-2.5 text-sm font-medium text-blue-600"
href="/"
>
Register
</a>
</div>
</div>

<div class="block md:hidden">
<button
class="rounded bg-gray-100 p-2 text-gray-600 transition hover:text-gray-600/75"
Expand Down
4 changes: 2 additions & 2 deletions lib/destack/src/themes/hyperui/Navigation4/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ const source = `
<div class="flex items-center gap-4">
<div class="sm:flex sm:gap-4">
<a
class="rounded-md bg-blue-600 px-5 py-2.5 text-sm font-medium text-white shadow hover:bg-blue-500"
class="block rounded-md bg-blue-600 px-5 py-2.5 text-sm font-medium text-white shadow hover:bg-blue-500"
href="/"
>
Login
</a>

<div class="hidden sm:flex">
<a
class="rounded-md px-5 py-2.5 text-sm font-medium bg-gray-800 text-white hover:text-white/75"
class="block rounded-md px-5 py-2.5 text-sm font-medium bg-gray-800 text-white hover:text-white/75"
href="/"
>
Register
Expand Down
4 changes: 2 additions & 2 deletions lib/destack/src/themes/hyperui/Navigation5/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ const source = `
<div class="flex items-center gap-4">
<div class="sm:flex sm:gap-4">
<a
class="rounded-md bg-blue-600 px-5 py-2.5 text-sm font-medium text-white shadow"
class="block rounded-md bg-blue-600 px-5 py-2.5 text-sm font-medium text-white shadow"
href="/"
>
Login
</a>

<div class="hidden sm:flex">
<a
class="rounded-md bg-gray-100 px-5 py-2.5 text-sm font-medium text-blue-600"
class="block rounded-md bg-gray-100 px-5 py-2.5 text-sm font-medium text-blue-600"
href="/"
>
Register
Expand Down
4 changes: 2 additions & 2 deletions lib/destack/src/themes/hyperui/Navigation6/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ const source = `
<div class="flex items-center gap-4">
<div class="sm:flex sm:gap-4">
<a
class="rounded-md bg-blue-600 px-5 py-2.5 text-sm font-medium text-white shadow hover:bg-blue-500"
class="block rounded-md bg-blue-600 px-5 py-2.5 text-sm font-medium text-white shadow hover:bg-blue-500"
href="/"
>
Login
</a>

<div class="hidden sm:flex">
<a
class="rounded-md px-5 py-2.5 text-sm font-medium bg-gray-800 text-white hover:text-white/75"
class="block rounded-md px-5 py-2.5 text-sm font-medium bg-gray-800 text-white hover:text-white/75"
href="/"
>
Register
Expand Down
4 changes: 2 additions & 2 deletions lib/destack/src/themes/hyperui/Navigation8/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ const source = `

<div class="hidden items-center gap-4 lg:flex">
<a
class="rounded-lg bg-gray-100 px-5 py-2 text-sm font-medium text-gray-600"
class="block rounded-lg bg-gray-100 px-5 py-2 text-sm font-medium text-gray-600"
href=""
>
Log in
</a>
<a
class="rounded-lg bg-blue-600 px-5 py-2 text-sm font-medium text-white"
class="block rounded-lg bg-blue-600 px-5 py-2 text-sm font-medium text-white"
href=""
>
Sign up
Expand Down
4 changes: 2 additions & 2 deletions lib/destack/src/themes/hyperui/Navigation9/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ const source = `

<div class="hidden flex-1 items-center justify-end gap-4 sm:flex">
<a
class="rounded-lg bg-gray-100 px-5 py-2 text-sm font-medium text-gray-500"
class="block rounded-lg bg-gray-100 px-5 py-2 text-sm font-medium text-gray-500"
href=""
>
Log in
</a>

<a
class="rounded-lg bg-blue-600 px-5 py-2 text-sm font-medium text-white"
class="block rounded-lg bg-blue-600 px-5 py-2 text-sm font-medium text-white"
href=""
>
Sign up
Expand Down
20 changes: 10 additions & 10 deletions lib/destack/src/themes/hyperui/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ import Section3 from './Section3/index'
import Section4 from './Section4/index'
import Section5 from './Section5/index'
import Section6 from './Section6/index'
import Stat1 from './Stat1/index'
import Stat2 from './Stat2/index'
import Testimonial1 from './Testimonial1/index'
import Testimonial2 from './Testimonial2/index'
import Testimonial3 from './Testimonial3/index'
import Testimonial4 from './Testimonial4/index'
import Testimonial5 from './Testimonial5/index'
import Testimonial6 from './Testimonial6/index'
import Testimonial7 from './Testimonial7/index'
import Testimonial8 from './Testimonial8/index'
import Stat1 from './Stats1/index'
import Stat2 from './Stats2/index'
import Testimonial1 from './Testimonials1/index'
import Testimonial2 from './Testimonials2/index'
import Testimonial3 from './Testimonials3/index'
import Testimonial4 from './Testimonials4/index'
import Testimonial5 from './Testimonials5/index'
import Testimonial6 from './Testimonials6/index'
import Testimonial7 from './Testimonials7/index'
import Testimonial8 from './Testimonials8/index'

const components = {
Banner1,
Expand Down
Loading