Skip to content

Commit

Permalink
Add Vuejs banner on landing page (#3359)
Browse files Browse the repository at this point in the history
* feat: add Vuejs banner on landing page

* fix: replace svg with png in customize-everything section on landing
  • Loading branch information
RVitaly1978 committed Apr 21, 2023
1 parent 3b183c6 commit d5f69fb
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/components/landing/Customize.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<div class="customize__image">
<va-aspect-ratio :ratio="1337/192">
<img
src="/landing/customize-everything.svg"
src="/landing/customize-everything.png"
:alt="$t('landing.customize.image')"
>
</va-aspect-ratio>
Expand Down
29 changes: 29 additions & 0 deletions packages/docs/components/landing/banners/VuejsForgeConference.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<template>
<div class="event-banner">
<a
href="https://vuejsforge.com/?utm_source=vuesticui&utm_medium=banner&utm_campaign=community"
target="_blank"
title="Vue.js forge conference"
>
<va-aspect-ratio
:ratio="1600/72"
:aria-hidden="true"
>
<img
class="event-banner__img"
src="/landing/forge-event-banner.png"
alt=""
>
</va-aspect-ratio>
</a>
</div>
</template>

<style lang="scss" scoped>
.event-banner {
&__img {
min-width: 100%;
min-height: 100%;
}
}
</style>
1 change: 1 addition & 0 deletions packages/docs/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<div v-show="!isMobileMenuOpen">
<LandingPreview />
<LandingPartners />
<LandingBannersVuejsForgeConference />
<LandingFeatures />
<LandingCustomize />
<LandingSeamlessIntegration />
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d5f69fb

Please sign in to comment.