Skip to content

Commit

Permalink
feat(daffio): update home hero illustration and add discord link (#2598)
Browse files Browse the repository at this point in the history
  • Loading branch information
xelaint committed Nov 14, 2023
1 parent 57aa1b8 commit 5aec495
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ <h2 daffHeroSubtitle>
Build your store with ease and flexibility &mdash; take advantage of the cutting edge with Angular, Redux and Progressive Web Apps.
</h2>
<div daffHeroBody>
<a href="https://github.com/graycoreio/daffodil" target="_blank" daff-button color="primary">Build with Daffodil</a>
<div class="daffio-home-hero__actions">
<a [href]="repoLink" target="_blank" daff-button color="primary">Build with Daffodil</a>
<a [href]="discordLink" target="_blank" daff-stroked-button color="theme-contrast">Join the community</a>
</div>
</div>
</div>
<div class="daffio-home-hero__illustration">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,10 @@
top: -60px;
}
}

&__actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import {
HostBinding,
} from '@angular/core';

import { DAFF_BRANDING_CONSTANTS } from '@daffodil/branding';

@Component({
selector: 'daffio-home-hero',
templateUrl: './home-hero.component.html',
Expand All @@ -13,4 +15,7 @@ import {

export class DaffioHomeHeroComponent {
@HostBinding('class.daffio-home-hero') class = true;

repoLink = DAFF_BRANDING_CONSTANTS.REPO_URL;
discordLink = DAFF_BRANDING_CONSTANTS.DISCORD_URL;
}
2 changes: 1 addition & 1 deletion apps/daffio/src/assets/pwa-illustration.svg
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 5aec495

Please sign in to comment.