-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: navigation, homepage, css config
- Loading branch information
Showing
9 changed files
with
226 additions
and
4 deletions.
There are no files selected for viewing
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
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
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<template> | ||
<div class="SwagExposed"> | ||
<div> | ||
<div class="h-label">Guides</div> | ||
<h2 class="h-homepage md:max-w-1/2">Check out these practical guides to help you understand how to design for | ||
Shopware</h2> | ||
<ul class="SwagExposed_links"> | ||
<li><a href="#">Shopware Design Principles</a></li> | ||
<li><a href="#">Designing extensions for Shopware</a></li> | ||
<li><a href="#">Accessibility</a></li> | ||
<li><a href="#">Human-AI interactions</a></li> | ||
</ul> | ||
</div> | ||
<div> | ||
<div class="h-label">Product Experience</div> | ||
<h2 class="h-homepage md:max-w-1/2">We empower you to build the exceptional - Our Design System makes UX and UI | ||
easily accessible</h2> | ||
<ul class="SwagExposed_links"> | ||
<li><a href="#">Shopware Design Principles</a></li> | ||
</ul> | ||
</div> | ||
<div class="SwagExposed_subgrid"> | ||
<div> | ||
<div class="h-label">Brand</div> | ||
<h2 class="h-homepage">Learn how to apply and adhere to Shopware's visual identity</h2> | ||
<ul class="SwagExposed_links"> | ||
<li><a href="#">Explore our brand</a></li> | ||
</ul> | ||
</div> | ||
<div> | ||
<div class="h-label">Content</div> | ||
<h2 class="h-homepage">Explore our tone of voice and the mechanics of our grammar and style</h2> | ||
<ul class="SwagExposed_links"> | ||
<li><a href="#">Explore content guideance</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<style lang="scss"> | ||
.SwagExposed { | ||
@apply grid gap-24; | ||
ul.SwagExposed_links { | ||
@apply flex p-0 m-0 mt-6 gap-12; | ||
list-style-type: none; | ||
li { | ||
@apply p-0 m-0; | ||
& + li { | ||
@apply mt-0; | ||
} | ||
} | ||
} | ||
&_subgrid { | ||
@apply grid gap-20 md:grid-cols-2; | ||
} | ||
} | ||
</style> | ||
|
||
<script setup lang="ts"> | ||
</script> |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<template> | ||
<div class="SwagLine"> | ||
<ul> | ||
<li>Vue</li> | ||
<li>150+ Components</li> | ||
<li>750+ Icons</li> | ||
<li>Accessible</li> | ||
<li>Extensible</li> | ||
<li>Design Token Support</li> | ||
<li>Made for the world</li> | ||
<li>Open source</li> | ||
</ul> | ||
</div> | ||
</template> | ||
|
||
<style lang="scss"> | ||
.SwagLine { | ||
border: 1px solid var(--sw-c-gray-200); | ||
border-width: 1px 0 1px 0; | ||
ul { | ||
@apply flex gap-5 m-0 p-0 py-4 items-center; | ||
list-style-type: none; | ||
} | ||
li { | ||
@apply m-0 p-0 flex gap-5 items-center flex-row; | ||
font-family: Inter; | ||
font-size: 0.75rem; | ||
font-style: normal; | ||
font-weight: 600; | ||
line-height: 140%; /* 1.05rem */ | ||
& + li { | ||
@apply mt-0; | ||
} | ||
&:not(:last-child)::after { | ||
@apply flex; | ||
content: '・'; | ||
} | ||
} | ||
} | ||
</style> |
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 |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<template> | ||
<div class="SwagResources"> | ||
<div class="h-label">Resources</div> | ||
<h2 class="h-homepage">Browse our resources to get started designing with Shopware.</h2> | ||
<div class="SwagResources_grid"> | ||
|
||
<a href="/themes.html" class="HomepageCard_item"> | ||
<span class="HomepageCard_icon"> | ||
<SwagIcon icon="image" type="solid" /> | ||
</span> | ||
<span class="HomepageCard_heading"> | ||
Figma libraries | ||
<SwagIcon icon="long-arrow-right" type="solid" /> | ||
</span> | ||
<p>Our Figma libraries contains the latest foundations, components, and patterns. You’ll find all of them in our Figma community profile.</p> | ||
</a> | ||
|
||
<a href="/themes.html" class="HomepageCard_item --has-double-height"> | ||
<span class="HomepageCard_icon"> | ||
<SwagIcon icon="image" type="solid" /> | ||
</span> | ||
<span class="HomepageCard_heading"> | ||
Fonts | ||
<SwagIcon icon="long-arrow-right" type="solid" /> | ||
</span> | ||
<p>To use our admin and storefront libraries you’ll also need the Inter font designed by Rasmus Andersson. Get your copy over at Google fonts.</p> | ||
</a> | ||
|
||
<a href="/themes.html" class="HomepageCard_item --has-double-height"> | ||
<span class="HomepageCard_icon"> | ||
<SwagIcon icon="image" type="solid" /> | ||
</span> | ||
<span class="HomepageCard_heading"> | ||
Language and grammar | ||
<SwagIcon icon="long-arrow-right" type="solid" /> | ||
</span> | ||
<p>Learn the tone of voice and the common grammar of our software.</p> | ||
</a> | ||
|
||
<a href="/themes.html" class="HomepageCard_item"> | ||
<span class="HomepageCard_icon"> | ||
<SwagIcon icon="image" type="solid" /> | ||
</span> | ||
<span class="HomepageCard_heading"> | ||
Logo library | ||
<SwagIcon icon="long-arrow-right" type="solid" /> | ||
</span> | ||
<p>Some text about our logo library.</p> | ||
</a> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<style lang="scss"> | ||
.SwagResources { | ||
&_grid { | ||
@apply grid gap-7 md:grid-cols-2 lg:grid-cols-3; | ||
@media (min-width: 960px) { | ||
grid-template-columns: 2fr 1fr 1fr; | ||
} | ||
} | ||
.--has-double-height { | ||
@media (min-width: 960px) { | ||
@apply row-span-2; | ||
} | ||
} | ||
} | ||
</style> | ||
<script setup lang="ts"> | ||
</script> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.