Skip to content

Commit

Permalink
Added the buy page
Browse files Browse the repository at this point in the history
  • Loading branch information
izdrail committed Dec 20, 2024
1 parent 8419493 commit fff57c5
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 31 deletions.
3 changes: 3 additions & 0 deletions frontend/src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ import { SkipLinks } from 'accessible-astro-components'
<li class="menu-item">
<a title="demo laravel mail" href="/try">Try</a>
</li>
<li class="menu-item">
<a title="buy laravel mail" href="/buy">Buy</a>
</li>
<li class="menu-item">
<a title="free laravel mail templates" href="/templates">Templates</a>
</li>
Expand Down
83 changes: 83 additions & 0 deletions frontend/src/pages/buy.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
---
import DefaultLayout from '../layouts/DefaultLayout.astro'
---

<DefaultLayout title="Buy a Holiday Gift">

<div class="container mx-auto px-4 py-8 max-w-4xl">
<header class="text-center mb-12">
<h1 class="text-4xl mb-4">Buy Laravel Mail</h1>
<p class="text-xl italic">Buy a copy of Laravel Mail</p>
</header>

<section class="">
<div class="mx-auto max-w-screen-xl px-4 py-8 sm:py-16 lg:px-6">
<div class="mx-auto max-w-screen-lg text-center">
<h2 class="mb-2 text-4xl font-extrabold tracking-tight text-gray-900 dark:text-white">Frequently Asked Questions</h2>
<p class="mb-8 text-gray-500 dark:text-gray-400 lg:text-lg">Discover answers to the most common questions about our software, policies, and support.</p>
</div>
<div class="grid border-t border-gray-200 pt-8 text-left dark:border-gray-700 sm:grid-cols-2 sm:gap-8 lg:grid-cols-3 lg:gap-16">
<div>
<div class="mb-10">
<h3 class="mb-4 text-lg font-medium text-gray-900 dark:text-white">What do you mean by "App assets"?</h3>
<p class="text-gray-500 dark:text-gray-400">You will have access to the full App project, including all pages, components, responsive designs, icons, illustrations, and images.</p>
</div>
<div class="mb-10">
<h3 class="mb-4 text-lg font-medium text-gray-900 dark:text-white">What does "lifetime access" mean?</h3>
<p class="text-gray-500 dark:text-gray-400">When you purchase a package, you get access to all future updates outlined in the roadmap, free of charge.</p>
</div>
<div class="mb-10">
<h3 class="mb-4 text-lg font-medium text-gray-900 dark:text-white">How does support work?</h3>
<p class="text-gray-500 dark:text-gray-400">Support is provided directly by the authors who developed this software. For any issues, please email <a href="mailto:stefan@izdrail.com" class="font-medium text-primary-600 underline hover:no-underline dark:text-primary-500">stefan@izdrail.com</a>.</p>
</div>
<div class="mb-10">
<h3 class="mb-4 text-lg font-medium text-gray-900 dark:text-white">What is your refund policy?</h3>
<p class="text-gray-500 dark:text-gray-400">As this is software, we offer a partial refund of 50% if requested within 30 days. Refunds will be processed within 90 days. Please contact us at <a href="mailto:stefan@izdrail.com" class="font-medium text-primary-600 underline hover:no-underline dark:text-primary-500">stefan@izdrail.com</a> to request a refund.</p>
</div>
</div>
<div>
<div>

<script async
src="https://js.stripe.com/v3/buy-button.js">
</script>

<stripe-buy-button
buy-button-id="buy_btn_1QY1BZEYoTMW8nQ8QxYIQCrA"
publishable-key="pk_live_51QOVQ4EYoTMW8nQ8NvHF0h9Wqp93segUEDLmNqb6q19L2XdHYLCmwKz6ONehzb7aUTpEtsUWbFxQXhsDbxAgvB2K008VgtShrv"
>
</stripe-buy-button>
</div>
<div class="mb-10">
<h3 class="mb-4 text-lg font-medium text-gray-900 dark:text-white">Can I use the software for multiple projects?</h3>
<p class="text-gray-500 dark:text-gray-400">Yes, you can use it for unlimited projects, including personal, SaaS, or client websites, as long as you don't create a product that competes directly with ours.</p>
</div>
<div class="mb-10">
<h3 class="mb-4 text-lg font-medium text-gray-900 dark:text-white">What does the free version include?</h3>
<p class="text-gray-500 dark:text-gray-400">The free version includes basic style guidelines, component variants, and a dashboard page with mobile support. It is open-source under the MIT license.</p>
</div>
<div class="mb-10">
<h3 class="mb-4 text-lg font-medium text-gray-900 dark:text-white">What is the difference between this software and competitors?</h3>
<p class="text-gray-500 dark:text-gray-400">Our software is designed with unique UI elements, extra components, and specialized tools for application, marketing, and e-commerce interfaces.</p>
</div>
</div>
<div>
<div class="mb-10">
<h3 class="mb-4 text-lg font-medium text-gray-900 dark:text-white">Where can I access my download files?</h3>
<p class="text-gray-500 dark:text-gray-400">After purchase, you’ll receive an email with download links. Soon, downloads will also be available from your account dashboard.</p>
</div>
<div class="mb-10">
<h3 class="mb-4 text-lg font-medium text-gray-900 dark:text-white">Can I use design assets like fonts and illustrations?</h3>
<p class="text-gray-500 dark:text-gray-400">Yes, all included assets are licensed for use. Feel free to integrate them into your projects.</p>
</div>
</div>

</div>
</div>
</section>


</div>
</DefaultLayout>
35 changes: 6 additions & 29 deletions frontend/src/pages/contact.astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,38 +35,15 @@ const handleSubmit = async (event) => {
<DefaultLayout title="Contact - laravelmail.com">
<section class="my-64">
<div class="container">
<div class="grid gap-16 lg:grid-cols-3" >
<div class="grid align-center" >
<div class="hidden lg:block" >
<h3 class="mb-4 text-lg font-semibold text-gray-900 dark:text-white">Points of contact</h3>
<h4 class="mb-1 font-medium text-gray-900 dark:text-white">Laravel Mail</h4>
<address class="non-italic text-sm font-normal text-gray-500">Deidre Avenue,<br>Wickford Essex</address>
<h4 class="mb-1 mt-4 font-medium text-gray-900 dark:text-white">Information &amp; Sales</h4>
<p class="text-sm font-medium text-primary-600 hover:underline dark:text-primary-500"><a href="#">stefan@laravelmail.com</a></p>
</div>
<div class="col-span-2" >
<h2 class="mb-4 text-3xl font-extrabold tracking-tight text-gray-900 dark:text-white md:text-4xl lg:mb-8">Still need help?</h2>
<form onsubmit={handleSubmit} action="#" class="space-y-8">
<div class="grid grid-cols-1 gap-2" >
<label class="text-sm font-medium text-gray-900 dark:text-white" data-testid="flowbite-label" for="subject">Full name</label>
<div class="flex" >
<div class="relative w-full" ><input class="block w-full border disabled:cursor-not-allowed disabled:opacity-50 bg-gray-50 border-gray-300 text-gray-900 focus:border-cyan-500 focus:ring-cyan-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-cyan-500 dark:focus:ring-cyan-500 p-2.5 text-sm rounded-lg" id="subject" placeholder="Your full name" required=""></div>
</div>
</div>
<div class="grid grid-cols-1 gap-2" >
<label class="text-sm font-medium text-gray-900 dark:text-white" data-testid="flowbite-label" for="email">Your email address&nbsp;<span class="text-xs text-gray-500 dark:text-gray-400">(So we can reply to you)</span></label>
<div class="flex" >
<div class="relative w-full" ><input class="block w-full border disabled:cursor-not-allowed disabled:opacity-50 bg-gray-50 border-gray-300 text-gray-900 focus:border-cyan-500 focus:ring-cyan-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-cyan-500 dark:focus:ring-cyan-500 p-2.5 text-sm rounded-lg" id="email" placeholder="office@laravelmail.com" required="" type="email" style="background-image: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dH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RBIaH7bgwP5/w+3xYsHcGfjo/UKsXf8D1FgsqLhVhR8tW4wNb7+HZnhweooPDZVn8LfJC7Hp2hFMTAkKX9b5EEfvXUe7rw8/Hj0ZLsL8keY6fCdxFH3ew4bsaVGbmailBMPbtEkTcGDX75CanIili/Px83UrwJPgPWRRMwW1nmp+i9mEaTOnkZf+Q574EzIfH4/0lCQkxtuROTKN4sggJgcXNTNrR02Ejuwz/fxeTE3NwXSyLDverirBytyZYg4501KP3Jh4pJljYaX1M0wxiJWa/BC5PFI57fN50e3sQUtbp3hdXnkHReSRdWuWITHBDlefGz6/Hy8VLBCFrb3XiBo6Hxubhco7tYixmLFzx6/w1JL5WH3jc/yGBG1wO2Gi4u9QUy3qqC8uar2HfLJ2rbMdH9y/jncmzIWHFPYQA3X7PegVBCVLRvAEP5ACDHZJ8XGwxVjEa+aNlIw0XLt5BxfLKuD3B+By9WHdqu9jx+bXERtjhZcSIIPUk0+Mx8kDH2LVysViB9fe48QMewpey55C5ZSAZKLF9++W4+XUcdg/vQAXZi1FY59TVOwxawJSDBZYdAasuHIIB7+qIgOZIv4OoKFRtYtCTNTa3gWTUQ9bbIwIn06HAwE/2zGjeyRwW2cXskelUw+sQ8ODZjEVWMjyXuLsEaSwnzzEtge7/F4k6I00z4n7Sqz576bAzSK46KRN5CZqPd00Z6cAtpKXWr1u1FKrmWm1I8McQ+9VsjEf3KVwRFRAHemhfOB2u2GKkg0ZQ7ANp/DcIXI3y+z0MrZZ7CelWP9g1BkUONC82xfcNjSy2ikQhEqAFObZ7oe46xug0sZDcFE2hgdUQIMxloEF5QcH9S7xYD98aDyqqna5cNaLUM8JMr61vUMYQhz6wRKY3DRF2N4OV3jAHzPC95xU11yU4lRA2NZOFBrlMHwP7v/iZ9biYSx/8bD/VwPmgVsI/uPEcDuYzLe44f7vNv8VYAB02UEWdC0FyQAAAABJRU5ErkJggg==&quot;) !important; background-repeat: no-repeat; background-size: 20px; background-position: 97% center; cursor: auto;" data-temp-mail-org="1"></div>
</div>
</div>


<div class="grid grid-cols-1 gap-2 sm:col-span-2" >
<label class="text-sm font-medium text-gray-900 dark:text-white" data-testid="flowbite-label" for="message">Your message</label>
<textarea class="block w-full rounded-lg border disabled:cursor-not-allowed disabled:opacity-50 bg-gray-50 border-gray-300 text-gray-900 focus:border-cyan-500 focus:ring-cyan-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-cyan-500 dark:focus:ring-cyan-500 text-sm" id="message" placeholder="Leave a comment..." rows="6"></textarea>
</div>
<button type="submit" class="group flex h-min items-center justify-center p-0.5 text-center font-medium relative focus:z-10 focus:outline-none text-white bg-blue-700 hover:bg-blue-800 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 rounded-lg focus:ring-2"><span class="flex items-stretch transition-all duration-200 rounded-md text-sm px-4 py-2">Send message</span></button>
</form>
<h4 class="mb-1 font-medium text-gray-900 dark:text-white">Stefan Bogdanel</h4>
<address class="non-italic text-sm font-normal text-gray-500">38 Deidre Avenue,<br>Wickford Essex</address>
<h4 class="mb-1 mt-4 font-medium text-gray-900 dark:text-white">Support</h4>
<p class="text-sm font-medium text-primary-600 hover:underline dark:text-primary-500"><a href="#">stefan@izdrail.com</a></p>
</div>

</div>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ import Feature from '../components/Feature.astro'
Compare Laravel Mail to other platforms on the market
</h2>
<p class="mb-4 text-gray-500 dark:text-gray-400 sm:text-xl">
Here at Laravel company, we focus on markets where technology, innovation, and capital can unlock long-term value and drive
Here at <a href="https://laravelcompany.com">Laravel Company</a>, we focus on markets where technology, innovation, and capital can unlock long-term value and drive
economic growth.
</p><a
href="#"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/try.astro
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ import DefaultLayout from '../layouts/DefaultLayout.astro'
<section class="mb-12">
<h2 class="text-2xl font-bold mb-4">Experience the Innovation</h2>
<div class="p-6 rounded-lg">
<p class="font-semibold mb-4">Visit: <a href="https://app.laravelmail.com/login" class="text-blue-600 hover:text-blue-800">laravelmail.com</a></p>
<p class="font-semibold mb-4">Visit: <a href="https://app.laravelmail.com/login" class="text-blue-600 hover:text-blue-800">app.laravelmail.com</a></p>
<div class=" p-4 rounded shadow-sm">
<h3 class="text-lg font-semibold mb-2">Demo Access:</h3>
<p class="mb-1"><strong>Username:</strong> marketing@laravelmail.com</p>
Expand Down

0 comments on commit fff57c5

Please sign in to comment.