feat: clean up uris

This commit is contained in:
Jan Halfar 2023-04-21 23:40:31 +02:00
parent fdfec49869
commit 8450695f68
11 changed files with 66 additions and 57 deletions

View File

@ -1,10 +1,10 @@
--- ---
sidebar_label: Intro id: index
sidebar_position: 1 sidebar_position: 1
--- ---
import { GoPlayground } from '../../src/components/GoPlayground'; import { GoPlayground } from '../../src/components/GoPlayground';
# building backend services with Go and foomo # Backend Guide

View File

@ -0,0 +1,13 @@
---
id: index
sidebar_position: 1
---
# Devops Guide
How to run apps with foomo in the cloud
- manage your infrasture as code with terraform
- run apps on kubernetes
- use squadron to make k8s more accessible

View File

@ -1,7 +0,0 @@
---
sidebar_label: Intro
sidebar_position: 1
---
# How we run applications in the cloud

View File

@ -1,11 +1,10 @@
--- ---
id: intro id: index
sidebar_label: Intro
sidebar_position: 1 sidebar_position: 1
--- ---
# Frontend Guide # Frontend Guide
In this section you will find a guide on how to develop frontends with the foomo stack. Please also see the [general guide](../general/intro). In this section you will find a guide on how to develop frontends with the foomo stack. Please also see the [general guide](general).
Let me share a few thoughts on frontend development from our journey [@bestbytes](https://www.bestbytes.com) the company behind https://www.foomo.org . Let me share a few thoughts on frontend development from our journey [@bestbytes](https://www.bestbytes.com) the company behind https://www.foomo.org .
@ -17,7 +16,7 @@ It was the era of experimentation, that turned the web into the application runt
## A little history ## A little history
The current [stack](stack) is the result of a more than 20 year journey. The current [stack](frontend/stack) is the result of a more than 20 year journey.
### Last millenium ### Last millenium

View File

@ -0,0 +1,23 @@
---
id: index
sidebar_position: 0
---
# General guide
This is a general guide for software developers.
If you are looking for docs of the foomo project - start [here](projects)
## Get started
- [setup your workplace](general/setup/workplace)
- [security is always first](general/security)
- [setup your computer](general/setup/computer)
- [look at the essentials](general/essentials)
- [make sure you are using a package manager](general/package-managers)
- [install some awesome software](/awesome-software)
- [more for frontend devs](frontend)
- [more for backend devs](backend)
- [start exploring the foomo projects](projects)

View File

@ -1,24 +0,0 @@
---
id: intro
sidebar_label: Intro
sidebar_position: 0
---
# General guide
This is a general guide for software developers.
If you are looking for docs of the foomo project - start [here](../projects/intro)
## Get started
- [setup your workplace](setup/workplace)
- [security is always first](security)
- [setup your computer](setup/computer)
- [look at the essentials](essentials)
- [make sure you are using a package manager](package-managers)
- [install some awesome software](/awesome-software)
- [more for frontend devs](../frontend/intro)
- [more for backend devs](../backend/intro)
- [start exploring the foomo projects](../projects/intro)

View File

@ -1,3 +1,8 @@
---
id: index
sidebar_position: 1
---
# Project Managament # Project Managament
We [scrumming](https://www.scrum.org/) in our way ... We [scrumming](https://www.scrum.org/) in our way ...

View File

@ -1,13 +1,13 @@
--- ---
id: intro id: index
sidebar_label: Intro sidebar_label: Overview
sidebar_position: 0 sidebar_position: 0
--- ---
# foomo project overview # foomo project overview
___"Stuff we wrote, because nobody else wanted to"___ ___"Stuff we wrote, because nobody else wanted to"___
All foomo projects are available here https://github.com/foomo also see [architecture](architecture) All foomo projects are available here https://github.com/foomo also see [architecture](projects/architecture)
We are using the best industry standards and only fill in our own bits, when necessary. We are using the best industry standards and only fill in our own bits, when necessary.

View File

@ -68,39 +68,39 @@ const config = {
items: [ items: [
{ {
type: 'doc', type: 'doc',
docId: 'general/intro', docId: 'general/index',
position: 'left', position: 'left',
label: 'General', label: 'General',
}, },
{ {
type: 'doc', type: 'doc',
docId: 'frontend/intro', docId: 'frontend/index',
position: 'left', position: 'left',
label: 'Frontend', label: 'Frontend',
}, },
{ {
type: 'doc', type: 'doc',
docId: 'backend/intro', docId: 'backend/index',
position: 'left', position: 'left',
label: 'Backend', label: 'Backend',
}, },
{ {
type: 'doc', type: 'doc',
docId: 'devops/intro', docId: 'devops/index',
position: 'left', position: 'left',
label: 'DevOps', label: 'DevOps',
}, },
{ {
type: 'doc', type: 'doc',
docId: 'project-management/intro', docId: 'project-management/index',
position: 'left', position: 'left',
label: 'PM', label: 'PM',
}, },
{ {
type: 'doc', type: 'doc',
docId: 'projects/intro', docId: 'projects/index',
position: 'left', position: 'left',
label: 'Projects', label: 'Projects',
}, },

View File

@ -32,7 +32,7 @@ const FeatureList: FeatureItem[] = [
</> </>
), ),
callToAction: "get started", callToAction: "get started",
to: "/docs/general/intro", to: "/docs/general",
}, },
{ {
title: "Frontend guides", title: "Frontend guides",
@ -43,21 +43,21 @@ const FeatureList: FeatureItem[] = [
</> </>
), ),
callToAction: "go build a frontend", callToAction: "go build a frontend",
to: "/docs/frontend/intro", to: "/docs/frontend",
}, },
{ {
title: "Backend guides", title: "Backend guides",
// image: '/img/undraw_docusaurus_react.svg', // image: '/img/undraw_docusaurus_react.svg',
description: <>Write fast and reliable services in Go and run them in the cloud</>, description: <>Write fast and reliable services in Go and run them in the cloud</>,
callToAction: "build a server", callToAction: "build a server",
to: "/docs/backend/intro", to: "/docs/backend",
}, },
{ {
title: "Projects", title: "Projects",
// image: '/img/undraw_docusaurus_react.svg', // image: '/img/undraw_docusaurus_react.svg',
description: <>Foomo projects - libraries, utilities, friendly daemons and more</>, description: <>Foomo projects - libraries, utilities, friendly daemons and more</>,
callToAction: "explore", callToAction: "explore",
to: "/docs/projects/intro", to: "/docs/projects",
}, },
{ {
title: "CMS", title: "CMS",
@ -89,7 +89,7 @@ const FeatureList: FeatureItem[] = [
// image: '/img/undraw_docusaurus_react.svg', // image: '/img/undraw_docusaurus_react.svg',
description: <>our approach to run cloud native applications where they belong</>, description: <>our approach to run cloud native applications where they belong</>,
callToAction: "take me to the cloud", callToAction: "take me to the cloud",
to: "/docs/devops/intro", to: "/docs/devops",
}, },
{ {
title: "Blog", title: "Blog",

View File

@ -1,16 +1,16 @@
import React from "react"; import React from "react";
export const Iframe = (props: { export const Iframe = (props:React.PropsWithRef<{
proportion?: number; proportion?: number;
src: string; src: string;
style?: React.CSSProperties; style?: React.CSSProperties;
}) => { }> ) => {
let { proportion, src } = props; let { proportion, src, style } = props;
if (!proportion) { if (!proportion) {
proportion = 4 / 3; proportion = 4 / 3;
} }
if (!props.style) { if (style) {
props.style = {}; style = {};
} }
return ( return (
@ -21,7 +21,7 @@ export const Iframe = (props: {
paddingTop: 100 / proportion + "%", paddingTop: 100 / proportion + "%",
position: "relative", position: "relative",
float: "left", float: "left",
...props.style, ...style,
}} }}
> >
<iframe <iframe