-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update newsletter-signup-example.blade.php
- Loading branch information
1 parent
b79b7ee
commit 1257e30
Showing
1 changed file
with
64 additions
and
53 deletions.
There are no files selected for viewing
117 changes: 64 additions & 53 deletions
117
packages/ui-kit/docs/_pages/examples/newsletter-signup-example.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,65 @@ | ||
<x-hyde-ui::layouts.focus> | ||
<div class="flex"> | ||
<div class="light"> | ||
<x-hyde-ui::card class="mx-auto"> | ||
<x-slot name="title"> | ||
Let your creativity flow! | ||
</x-slot> | ||
|
||
<x-slot name="main" style="padding-top: 0; padding-bottom: 0;"> | ||
<x-hyde-ui::prose> | ||
<x-hyde-ui::markdown> | ||
The UI kit is minimal by design. It's up to **you** to create something _amazing_. | ||
|
||
Maybe create a form to collect newsletter subscriptions? | ||
</x-hyde-ui::markdown> | ||
</x-hyde-ui::prose> | ||
</x-slot> | ||
|
||
<x-slot name="footer" class="flex text-center justify-center"> | ||
<x-hyde-ui::input placeholder="Enter email" /> | ||
|
||
<x-hyde-ui::button-primary> | ||
Subscribe | ||
</x-hyde-ui::button-primary> | ||
</x-slot> | ||
</x-hyde-ui::card> | ||
<!DOCTYPE html> | ||
<html lang="{{ config('site.language', 'en') }}"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>{{ $page->title() }}</title> | ||
@include('hyde::layouts.styles') | ||
</head> | ||
<body id="app" class="flex flex-col min-h-screen overflow-x-hidden dark:bg-gray-900 dark:text-white"> | ||
<main id="content" class="mx-auto max-w-7xl py-16 px-8"> | ||
<div class="flex"> | ||
<div class="light"> | ||
<x-hyde-ui::card class="mx-auto"> | ||
<x-slot name="title"> | ||
Let your creativity flow! | ||
</x-slot> | ||
|
||
<x-slot name="main" style="padding-top: 0; padding-bottom: 0;"> | ||
<x-hyde-ui::prose> | ||
<x-hyde-ui::markdown> | ||
The UI kit is minimal by design. It's up to **you** to create something _amazing_. | ||
|
||
Maybe create a form to collect newsletter subscriptions? | ||
</x-hyde-ui::markdown> | ||
</x-hyde-ui::prose> | ||
</x-slot> | ||
|
||
<x-slot name="footer" class="flex text-center justify-center"> | ||
<x-hyde-ui::input placeholder="Enter email" /> | ||
|
||
<x-hyde-ui::button-primary> | ||
Subscribe | ||
</x-hyde-ui::button-primary> | ||
</x-slot> | ||
</x-hyde-ui::card> | ||
</div> | ||
<div class="dark"> | ||
<x-hyde-ui::card class="mx-auto"> | ||
<x-slot name="title"> | ||
Let your creativity flow! | ||
</x-slot> | ||
|
||
<x-slot name="main" style="padding-top: 0; padding-bottom: 0;"> | ||
<x-hyde-ui::prose> | ||
<x-hyde-ui::markdown> | ||
The UI kit is minimal by design. It's up to **you** to create something _amazing_. | ||
|
||
Maybe create a form to collect newsletter subscriptions? | ||
</x-hyde-ui::markdown> | ||
</x-hyde-ui::prose> | ||
</x-slot> | ||
|
||
<x-slot name="footer" class="flex text-center justify-center"> | ||
<x-hyde-ui::input placeholder="Enter email" /> | ||
|
||
<x-hyde-ui::button-primary> | ||
Subscribe | ||
</x-hyde-ui::button-primary> | ||
</x-slot> | ||
</x-hyde-ui::card> | ||
</div> | ||
</div> | ||
<div class="dark"> | ||
<x-hyde-ui::card class="mx-auto"> | ||
<x-slot name="title"> | ||
Let your creativity flow! | ||
</x-slot> | ||
|
||
<x-slot name="main" style="padding-top: 0; padding-bottom: 0;"> | ||
<x-hyde-ui::prose> | ||
<x-hyde-ui::markdown> | ||
The UI kit is minimal by design. It's up to **you** to create something _amazing_. | ||
|
||
Maybe create a form to collect newsletter subscriptions? | ||
</x-hyde-ui::markdown> | ||
</x-hyde-ui::prose> | ||
</x-slot> | ||
|
||
<x-slot name="footer" class="flex text-center justify-center"> | ||
<x-hyde-ui::input placeholder="Enter email" /> | ||
|
||
<x-hyde-ui::button-primary> | ||
Subscribe | ||
</x-hyde-ui::button-primary> | ||
</x-slot> | ||
</x-hyde-ui::card> | ||
</div> | ||
</div> | ||
</x-hyde-ui::layouts.focus> | ||
</main> | ||
</body> | ||
</html> |