BrandPanel
apps/www/src/components/BrandPanel.astro · 108 lines · group Hero
Used by
Live sites: skattedosan.se.
Samples 2

Operating protocols
Skattedosan is compatible with the following protocols CleanCash, PosPLUS and WESTINT. CleanCash and PosPLUS are by default, while WESTINT is in the background and will be activated with a software that we provide free of charge. With the same software, you can also change the baud rate of all protocols.
NEW UPDATE! Due to retail innovation and CleanCash bankruptcy, we have the only control units that work 'plug and play' with old CleanCash, Skattedosan. Skattedosan beats even old CleanCash both in performance and quality with horse lengths.
Contact usOpen ModelsMDX of this sample
<BrandPanel
title="Operating protocols"
subtitle=" Skattedosan is compatible with the following protocols CleanCash, PosPLUS and WESTINT. CleanCash and PosPLUS are by default, while WESTINT is in the background and will be activated with a software that we provide free of charge. With the same software, you can also change the baud rate of all protocols."
description="NEW UPDATE! Due to retail innovation and CleanCash bankruptcy, we have the only control units that work 'plug and play' with old CleanCash, Skattedosan. Skattedosan beats even old CleanCash both in performance and quality with horse lengths."
imageName="terminals.jpg"
buttonTitle="Contact us"
buttonLink="/en/contacts/"
secondButtonTitle="Open Models"
secondButtonLink="/en/models/"
/>
Operating protocols
Skattedosan is compatible with the following protocols CleanCash, PosPLUS and WESTINT. CleanCash and PosPLUS are by default, while WESTINT is in the background and will be activated with a software that we provide free of charge. With the same software, you can also change the baud rate of all protocols.
NEW UPDATE! Due to retail innovation and CleanCash bankruptcy, we have the only control units that work 'plug and play' with old CleanCash, Skattedosan. Skattedosan beats even old CleanCash both in performance and quality with horse lengths.
Contact usOpen ModelsMDX of this sample
<BrandPanel
title="Operating protocols"
subtitle=" Skattedosan is compatible with the following protocols CleanCash, PosPLUS and WESTINT. CleanCash and PosPLUS are by default, while WESTINT is in the background and will be activated with a software that we provide free of charge. With the same software, you can also change the baud rate of all protocols."
description="NEW UPDATE! Due to retail innovation and CleanCash bankruptcy, we have the only control units that work 'plug and play' with old CleanCash, Skattedosan. Skattedosan beats even old CleanCash both in performance and quality with horse lengths."
imageName="terminals.jpg"
buttonTitle="Contact us"
buttonLink="/en/contacts/"
secondButtonTitle="Open Models"
secondButtonLink="/en/models/"
/>Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| title | string | yes | 'Join our team' | |
| subtitle | string | yes | 'Varius facilisi mauris sed sit. Non sed et duis dui leo, vulputate id malesuada non. Cras aliquet purus dui laoreet diam sed lacus, fames.' | |
| description | string | |||
| imageName | string | yes | ||
| buttonTitle | string | yes | 'Explore open positions' | |
| buttonLink | string | yes | '/' | |
| secondButtonTitle | string | |||
| secondButtonLink | string |
Source apps/www/src/components/BrandPanel.astro @ gitt.one
---
import { Image } from 'astro:assets';
import { resolveImage } from '../lib/images';
interface Props {
title: string;
subtitle: string;
description?: string;
imageName: string;
buttonTitle: string;
buttonLink: string;
secondButtonTitle?: string;
secondButtonLink?: string;
}
const {
title = 'Join our team',
subtitle = 'Varius facilisi mauris sed sit. Non sed et duis dui leo, vulputate id malesuada non. Cras aliquet purus dui laoreet diam sed lacus, fames.',
description,
buttonTitle = 'Explore open positions',
buttonLink = '/',
secondButtonTitle,
secondButtonLink,
imageName,
} = Astro.props;
const image = await resolveImage(imageName);
---
<div class="relative bg-white py-16">
<div class="absolute inset-x-0 top-0 hidden h-1/2 bg-gray-50 lg:block" aria-hidden="true"></div>
<div class="mx-auto max-w-7xl bg-primary-700 lg:bg-transparent lg:px-8">
<div class="lg:grid lg:grid-cols-12">
<div class="relative z-10 lg:col-span-4 lg:col-start-1 lg:row-start-1 lg:bg-transparent lg:py-16">
<div class="absolute inset-x-0 h-1/2 bg-gray-50 lg:hidden" aria-hidden="true"></div>
<div class="mx-auto max-w-md px-4 sm:max-w-3xl sm:px-6 lg:max-w-none lg:p-0">
<Image
src={image}
alt={title}
widths={[400, 840]}
class="aspect-[2/1] rounded-3xl object-cover object-center shadow-2xl lg:aspect-square"
/>
</div>
</div>
<div class="relative bg-primary-700 lg:col-span-10 lg:col-start-3 lg:row-start-1 lg:grid lg:grid-cols-10 lg:items-center lg:rounded-3xl">
<div class="absolute inset-0 hidden overflow-hidden rounded-3xl lg:block" aria-hidden="true">
<svg
class="absolute bottom-full left-full translate-y-1/3 -translate-x-2/3 transform xl:bottom-auto xl:top-0 xl:translate-y-0"
width={404}
height={384}
fill="none"
viewBox="0 0 404 384"
aria-hidden="true"
>
<defs>
<pattern
id="brand-panel-dots-pattern"
x={0}
y={0}
width={20}
height={20}
patternUnits="userSpaceOnUse"
>
<rect x={0} y={0} width={4} height={4} class="text-primary-500" fill="currentColor"></rect>
</pattern>
</defs>
<rect width={404} height={384} fill="url(#brand-panel-dots-pattern)"></rect>
</svg>
<svg
class="absolute top-full -translate-y-1/3 -translate-x-1/3 transform xl:-translate-y-1/2"
width={404}
height={384}
fill="none"
viewBox="0 0 404 384"
aria-hidden="true"
>
<rect width={404} height={384} fill="url(#brand-panel-dots-pattern)"></rect>
</svg>
</div>
<div class="relative mx-auto max-w-md space-y-6 px-4 py-12 sm:max-w-3xl sm:px-6 sm:py-16 lg:col-span-6 lg:col-start-4 lg:max-w-none lg:p-0">
<h2 class="text-3xl font-extrabold text-white" id="join-heading">
{title}
</h2>
<p class="text-lg text-white">{subtitle}</p>
{description && <p class="text-lg text-white">{description}</p>}
<a
class="block w-full rounded-md border border-transparent bg-white px-5 py-3 text-center text-base font-medium text-primary-700 shadow-md hover:bg-gray-50 sm:inline-block sm:w-auto"
href={buttonLink}
>
{buttonTitle}
</a>
{
secondButtonLink && secondButtonTitle && (
<a
class="block w-full rounded-md border border-transparent bg-white px-5 py-3 text-center text-base font-medium text-primary-700 shadow-md hover:bg-gray-50 sm:ml-3 sm:inline-block sm:w-auto"
href={secondButtonLink}
>
{secondButtonTitle}
</a>
)
}
</div>
</div>
</div>
</div>
</div>Source links point to engine-astro@e857a859. Samples are cut from the sites' own content by scripts/gallery-extract.mjs; nothing is merged or removed yet.