Skip to content

Commit

Permalink
Add technology partner url
Browse files Browse the repository at this point in the history
Signed-off-by: mohin7 <csemohin@gmail.com>
  • Loading branch information
mohin7 committed May 10, 2024
1 parent 16a1159 commit 47dcc65
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 9 deletions.
12 changes: 6 additions & 6 deletions data/partners.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,39 @@
"showcase_partners": {
"aws": {
"name": "AWS",
"website": "#",
"website": "https://aws.amazon.com/",
"logo": "/assets/images/partners/showcase/aws.svg",
"show": true
},
"azure": {
"name": "Azure",
"website": "#",
"website": "https://azure.microsoft.com/en-gb/",
"logo": "/assets/images/partners/showcase/azure.svg",
"show": true
},
"gcp": {
"name": "Google Cloud",
"website": "#",
"website": "https://cloud.google.com/",
"logo": "/assets/images/partners/showcase/gcp.svg",
"show": true
}
},
"technology_partners": {
"astrokube": {
"name": "Astrokube",
"website": "#",
"website": "https://www.astrokube.com/",
"logo": "/assets/images/partners/technology/astrokube.svg",
"show": true
},
"cartman": {
"name": "Cartman",
"website": "#",
"website": "https://www.cartman.fi/",
"logo": "/assets/images/partners/technology/cartman-digital.svg",
"show": true
},
"dedicatted": {
"name": "Dedicatted",
"website": "#",
"website": "https://dedicatted.com/",
"logo": "/assets/images/partners/technology/dedicatted.svg",
"show": true
}
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/partner.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ <h2>Technology Partners</h2>
<div class="brand-image-wrapper">
{{ range $tech_parners := $.Site.Data.partners.technology_partners }}
{{ if $tech_parners.show }}
<div class="single-brand"><img src="{{ $tech_parners.logo }}" alt="{{ $tech_parners.name }}"></div>
<a href="{{ $tech_parners.website }}" class="single-brand" target="_blank" title="Go to {{$tech_parners.website}}"><img src="{{ $tech_parners.logo }}" alt="{{ $tech_parners.name }}"></a>
{{ end }}
{{ end }}
</div>
Expand Down
2 changes: 2 additions & 0 deletions static/assets/sass/base/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
border-radius: 4px;
display: flex;
align-items: center;
transition: 0.3s ease-in-out;

img {
max-height: 2rem;
filter: grayscale(1);
Expand Down
10 changes: 9 additions & 1 deletion static/assets/sass/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion static/assets/sass/main.css.map

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions static/assets/sass/pages/_partner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,14 @@ body.partner {
padding: 16px;
}
}
a{
&.single-brand{
border: 2px solid transparent;
&:hover {
border: 2px solid $ac-primary !important;
}
}
}
}
.single-brand {
height: 110px;
Expand Down

0 comments on commit 47dcc65

Please sign in to comment.