Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc fixes #84

Merged
merged 3 commits into from
Aug 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/assets/cubes-vert.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion src/components/hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,16 @@ export const Hero = ({children}) => {
{children}
</div>
<div className={`${baseClass}__image`}>
<StaticImage
src='../assets/cubes-vert.jpg'
className={`${baseClass}__image-wrapper-vertical`}
objectPosition='center top'
loading='eager'
alt='A picture of multiple concrete cubes aligned in a grid'
/>
<StaticImage
src='../assets/cubes.jpg'
className={`${baseClass}__image-wrapper`}
className={`${baseClass}__image-wrapper-landscape`}
objectPosition='center top'
loading='eager'
alt='A picture of multiple concrete cubes aligned in a grid'
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
26 changes: 13 additions & 13 deletions src/content/index.md → src/content/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import {GettingStartedTab, GradleIcon, Hero, KubernetesIcon, MavenIcon, OpenShif
<Hero>

<div className="getting-involved">
[![Twitter](https://img.shields.io/twitter/follow/jkubeio?label=Follow)](https://twitter.com/jkubeio)
[![Twitter](https://img.shields.io/badge/YouTube-FF0000?logo=youtube&logoColor=white)](https://www.youtube.com/channel/UCpU2tjgpfkTVgeDq-DBSV7A)
[![Gitter](https://badges.gitter.im/eclipse/jkube.svg)](https://gitter.im/eclipse/jkube?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[![Eclipse JKube Dev Mailing List](https://img.shields.io/badge/Eclipse%20JKube%20-Developer%20Mailing%20List-orange)](https://accounts.eclipse.org/mailing-list/jkube-dev)
[![License](https://img.shields.io/badge/License-EPL%202.0-red.svg?label=license&logo=eclipse)](https://www.eclipse.org/legal/epl-2.0/)
[![Twitter](https://img.shields.io/twitter/follow/jkubeio?label=Follow)](https://twitter.com/jkubeio)
[![Twitter](https://img.shields.io/badge/YouTube-FF0000?logo=youtube&logoColor=white)](https://www.youtube.com/channel/UCpU2tjgpfkTVgeDq-DBSV7A)
[![Gitter](https://badges.gitter.im/eclipse/jkube.svg)](https://gitter.im/eclipse/jkube?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[![Eclipse JKube Dev Mailing List](https://img.shields.io/badge/Eclipse%20JKube%20-Developer%20Mailing%20List-orange)](https://accounts.eclipse.org/mailing-list/jkube-dev)
[![License](https://img.shields.io/badge/License-EPL%202.0-red.svg?label=license&logo=eclipse)](https://www.eclipse.org/legal/epl-2.0/)
</div>

# Eclipse JKube&trade;
Expand All @@ -39,7 +39,7 @@ Eclipse JKube also provides a set of tools such as watch, debug, log, etc. to im
>
<Tag color='#FFF' backgroundColor='#DD8623'>[🚀 Getting started](/docs/kubernetes-maven-plugin/#getting-started)</Tag>
<Tag color='#FFF' backgroundColor='#326ce5'>[📖 Documentation](/docs/kubernetes-maven-plugin/)</Tag>

1. Add the plugin to your `pom.xml`:
```xml theme="dark" filename="pom.xml"
<build>
Expand Down Expand Up @@ -68,7 +68,7 @@ Eclipse JKube also provides a set of tools such as watch, debug, log, etc. to im
>
<Tag color='#FFF' backgroundColor='#DD8623'>[🚀 Getting started](/docs/openshift-maven-plugin/#getting-started)</Tag>
<Tag color='#FFF' backgroundColor='#326ce5'>[📖 Documentation](/docs/openshift-maven-plugin/)</Tag>

1. Add the plugin to your `pom.xml`:
```xml theme="dark" filename="pom.xml"
<build>
Expand Down Expand Up @@ -96,7 +96,7 @@ Eclipse JKube also provides a set of tools such as watch, debug, log, etc. to im
>
<Tag color='#FFF' backgroundColor='#DD8623'>[🚀 Getting started](/docs/kubernetes-gradle-plugin/#getting-started)</Tag>
<Tag color='#FFF' backgroundColor='#326ce5'>[📖 Documentation](/docs/kubernetes-gradle-plugin/)</Tag>

1. Add the plugin to your `build.gradle`:
```gradle
plugins {
Expand All @@ -119,7 +119,7 @@ Eclipse JKube also provides a set of tools such as watch, debug, log, etc. to im
>
<Tag color='#FFF' backgroundColor='#DD8623'>[🚀 Getting started](/docs/openshift-gradle-plugin/#getting-started)</Tag>
<Tag color='#FFF' backgroundColor='#326ce5'>[📖 Documentation](/docs/openshift-gradle-plugin/)</Tag>

1. Add the plugin to your `build.gradle`:
```gradle
plugins {
Expand Down Expand Up @@ -191,10 +191,10 @@ Eclipse JKube also provides a set of tools such as watch, debug, log, etc. to im
You can get Eclipse JKube from these platforms:

<span>
[![Maven Central](https://img.shields.io/maven-central/v/org.eclipse.jkube/jkube.svg?label=Maven%20Central)
](https://search.maven.org/search?q=g:%22org.eclipse.jkube%22)
[![Eclipse Download Repository](https://img.shields.io/badge/eclipse%20downloads-downloads.eclipse.org-red)
](https://download.eclipse.org/jkube/)
[![Maven Central](https://img.shields.io/maven-central/v/org.eclipse.jkube/jkube.svg?label=Maven%20Central)](
https://search.maven.org/search?q=g:%22org.eclipse.jkube%22)
[![Eclipse Download Repository](https://img.shields.io/badge/eclipse%20downloads-downloads.eclipse.org-red)](
https://download.eclipse.org/jkube/)
</span>

</div>
File renamed without changes.
15 changes: 14 additions & 1 deletion src/styles/components/hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,20 @@
z-index: -1;
background-color: darken($color-dark-background, 10%);
&-wrapper {
height: 100%;
&-vertical {
display: none;
height: 100%;
@media only screen and (max-width: $desktop-min-width) {
display: block;
}
}
&-landscape {
display: none;
height: 100%;
@media only screen and (min-width: $desktop-min-width + 1) {
display: block;
}
}
}
}
}
1 change: 1 addition & 0 deletions src/styles/templates/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
padding: 0 $default-spacing;
display: flex;
justify-content: flex-end;
gap: 0.25rem;
}
& .highlight {
display: flex;
Expand Down