Skip to content

Commit

Permalink
🍱 Update main page with new assets
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonypillot committed Oct 13, 2022
1 parent 784d261 commit 934ecf2
Show file tree
Hide file tree
Showing 10 changed files with 137 additions and 163 deletions.
55 changes: 46 additions & 9 deletions src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,47 @@ type FeatureItem = {
};

const FeatureList: FeatureItem[] = [
{
title: "Open Source technologies",
Svg: require("@site/static/img/svg/logo-open-source.svg").default,
description: (
<>
We believe that <strong>Open Source</strong> technologies are the{" "}
<strong>best</strong> technology. And here we rely on Open Source and
use it to the fullest in all our projects and documentation. We are also
open to contributions.
</>
),
},
{
title: "Operating System snippets",
Svg: require("@site/static/img/svg/logo-operating-system.svg").default,
description: (
<>
There is no need to use a specific operating system to use our
documentation. We are operating system agnostic and we provide snippets
for all.
<br />
</>
),
},
{
title: "Extensive documentation",
Svg: require("@site/static/img/svg/logo-git.svg").default,
description: (
<>
Our documentation is extensive and covers all the topics in detail.
Covering Git and GitHub, Docker, Kubernetes, and many more.
</>
),
},
{
title: "Server configuration",
Svg: require("@site/static/img/svg/server-database.svg").default,
Svg: require("@site/static/img/svg/logo-server.svg").default,
description: (
<>
Multiple snippets, tutorials, configuration references and useful files
and links works on any environment.
<br />
Focused on Open Source technologies and the DIY.
</>
),
},
Expand All @@ -27,14 +59,13 @@ const FeatureList: FeatureItem[] = [
description: (
<>
Kubernetes documentation about how quickly install k8s solutions with{" "}
<code>kubeadm</code>, <code>k3s</code>, <code>cert-manager</code>, and
all related content.
k3s, cert-manager, HTTPS, and all related content.
</>
),
},
{
title: "Blog posts",
Svg: require("@site/static/img/svg/blog.svg").default,
Svg: require("@site/static/img/svg/logo-blog.svg").default,
description: (
<>
All our experiments, all our proof of concept, in the form of a blog
Expand All @@ -44,11 +75,17 @@ const FeatureList: FeatureItem[] = [
},
];

function Feature({ title, Svg, description }: FeatureItem) {
function Feature({ title, Svg, description }: FeatureItem): JSX.Element {
const size: number = 200;
return (
<div className={clsx("col col--4")}>
<div className="text--center">
<Svg className={styles.featureSvg} role="img" />
<Svg
className={styles.featureSvg}
role="img"
width={size}
height={size}
/>
</div>
<div className="text--center padding-horiz--md">
<h3>{title}</h3>
Expand All @@ -68,7 +105,7 @@ const badge = {
},
};

function getBadgeList() {
function getBadgeList(): JSX.Element[] {
const badges = [
{
element: badge.version,
Expand Down
54 changes: 0 additions & 54 deletions static/img/svg/blog.svg

This file was deleted.

11 changes: 11 additions & 0 deletions static/img/svg/logo-blog.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions static/img/svg/logo-git.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions static/img/svg/logo-github-draw.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 934ecf2

Please sign in to comment.