Skip to content

Commit 2ab6113

Browse files
authored
Add Github link to demo banner (saleor#669)
* Adds Github link to the demo banner: <img width="1233" alt="image" src="https://user-images.githubusercontent.com/13994677/206481321-59ab50ac-1d64-45e9-992e-aa28cfac5355.png">
1 parent ef2de10 commit 2ab6113

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

apps/storefront/components/DemoBanner/DemoBanner.tsx

+15-6
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,28 @@
11
export function DemoBanner() {
22
return (
3-
<div className="flex flex-row-reverse items-center h-16 space-x-4 border-b-2 border-dashed text-md">
4-
<div className="px-4">
5-
<a href="https://demo.saleor.io/graphql/">
6-
<span className="hidden md:inline text-gray-600">Play with&nbsp;</span>
7-
<span className="uppercase font-semibold">GraphQL API</span>
3+
<div className="flex flex-row items-center h-16 space-x-4 border-b-2 border-dashed text-md">
4+
<div className="justify-self-start px-4 mr-auto">
5+
<a href="https://github.com/saleor/saleor/">
6+
<span className="hidden md:inline text-gray-600">⭐️ Star us on&nbsp;</span>
7+
<span className="uppercase font-semibold">Github</span>
88
</a>
99
</div>
10-
<div className="border-r mx-4">&nbsp;</div>
10+
1111
<div>
1212
<a href="https://demo.saleor.io/dashboard/">
1313
<span className="hidden md:inline text-gray-600">Explore&nbsp;</span>
1414
<span className="uppercase font-semibold">store&apos;s dashboard</span>
1515
</a>
1616
</div>
17+
18+
<div className="border-r mx-4">&nbsp;</div>
19+
20+
<div className="px-4">
21+
<a href="https://demo.saleor.io/graphql/">
22+
<span className="hidden md:inline text-gray-600">Play with&nbsp;</span>
23+
<span className="uppercase font-semibold">GraphQL API</span>
24+
</a>
25+
</div>
1726
</div>
1827
);
1928
}

0 commit comments

Comments
 (0)