From 25fe6c34c07f3c2499e44dd24df3d27601b912b6 Mon Sep 17 00:00:00 2001 From: gws Date: Thu, 14 Nov 2024 12:31:36 +0100 Subject: [PATCH 01/10] mark all sv translations as todo --- content/_index.sv.md | 87 +-------------------------------------- content/blog/_index.sv.md | 2 + content/blog/entry1.sv.md | 77 +--------------------------------- content/contact.sv.md | 33 +-------------- content/it.sv.md | 9 +--- content/software.sv.md | 9 +--- 6 files changed, 7 insertions(+), 210 deletions(-) diff --git a/content/_index.sv.md b/content/_index.sv.md index 11d3d2c..7385731 100644 --- a/content/_index.sv.md +++ b/content/_index.sv.md @@ -6,89 +6,4 @@ intro = "Behöver du hjälp med produktutveckling eller IT?
Du har kommit t +++ - -# Software Development - - -## Native Apps - -Jag bygger app till följande platformer - -### platforms -- Android -- Linux -- macOS -- windows - -## Embedded software/firmware - -I can help you make your tiny devices go beep boop... -- IoT -- RaspberryPi -- stm32 -- nrf58 -- bluetooth - -## Backend Development - -- Restfull API -- Database integration -- Python -- Rust - - -## Web Frontend - -I have a solid grasp on Javascript, html and css. -My speciality is wasm, a techonligy that is perfect for frontends that need preform heavy computation. -Wasm is also very useful for crossplatfrom projects where browsers is one of the targets. - -I can help you with: -- landing pages -- E-commerce -- 3D animations -- WASM - - -## 3D Models and Graphics - -Lorem Ipsum... - -- bevy -- glsl -- wgls -- sdf -- trimesh -- csg -- 3d scanned data processing - - -# Product Development - -- ## [System Engineering](product-dev#system) -- ## [Component Sourcing](product-dev#component) -- ## [PCB Design](product-dev#pcb) -- ## [Mechanical Design](product-dev#mech) -- ## [Structural Analysis](product-dev#fea) - - -# IT - - -## self hosting vs managed hosting - -I offer both... - -## office needs -- collaboration platform -- teams chat -- cloud storage -- email -- internal web - -## Servers -- Databases -- gp-servers -- backups -- nas - +Översättning är på g diff --git a/content/blog/_index.sv.md b/content/blog/_index.sv.md index 59cecaa..ae4e7af 100644 --- a/content/blog/_index.sv.md +++ b/content/blog/_index.sv.md @@ -4,3 +4,5 @@ sort_by = "date" weight = 5 +++ +Översättning är på g + diff --git a/content/blog/entry1.sv.md b/content/blog/entry1.sv.md index c991f27..74bdabb 100644 --- a/content/blog/entry1.sv.md +++ b/content/blog/entry1.sv.md @@ -4,79 +4,4 @@ description = "A new Landing page for consuting services" date = 2024-11-05 +++ -I made landing page. Read on if your curius about how i did it. - - - -# Why - -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor -incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud -exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - -Duis aute irure -dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. - - -# How - - -## SSG - -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor -incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud -exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure... - -### zola - -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor -incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud -exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure... - - - -## Markdown is Awesome - -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor -incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis -nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - - -```rust -fn main() { - println!("Hello World!") -} -``` - - -## Hosting - -Cloudflare, ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod -tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis -nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis -aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla -pariatur. - -## Nix - -Dev environment... - -# Whats next? - - -## E-commerce - -I plan to setup some kind of e-commerce to sell merchandise. -While fully intend this to a real store where you can buy stuff, the purpose is mainly -to drink my own wine so I dont poisen my clients. I.E test in production on myself, because maximum validity. - -## Showroom - -I plan to make some kind wasm gallery of neat stuff. - -## Tutorials - -I love sharing my knowledge and teaching. I'm considering making tutorials in video format or perhaps articles or maybe asciicast with audio. - - -## Stay tuned! +Översättning är på g diff --git a/content/contact.sv.md b/content/contact.sv.md index b680fb2..b921706 100644 --- a/content/contact.sv.md +++ b/content/contact.sv.md @@ -7,35 +7,4 @@ template = "contact.html" disable_toc = true +++ -
-
-
-
-

Address

-

Mada Center 8th floor, 379 Hudson St, New York, NY 10018 US

-
-
-

Lets Talk

-

+1 800 1236879

-
-
-

General Support

-

contact@example.com

-
-
-
-
-

Send Us A Message

-
-
-
-
-
-
-
-
+Översättning är på g diff --git a/content/it.sv.md b/content/it.sv.md index 08cde47..727d008 100644 --- a/content/it.sv.md +++ b/content/it.sv.md @@ -4,11 +4,4 @@ description = "IT Services and Consulting" weight = 3 +++ -## TODO - -```rust -fn main() { - println!("Hello, World!"); -} - -``` +Översättning är på g diff --git a/content/software.sv.md b/content/software.sv.md index 3733233..928c3af 100644 --- a/content/software.sv.md +++ b/content/software.sv.md @@ -4,11 +4,4 @@ description = "Software Development Consulting" weight = 1 +++ -## TODO - -```rust -fn main() { - println!("Hello, World!"); -} - -``` +Översättning är på g From c4e30785329f3ce0b850911d1b14160fcafd22d0 Mon Sep 17 00:00:00 2001 From: gws Date: Thu, 14 Nov 2024 12:37:49 +0100 Subject: [PATCH 02/10] keep lang if pressing the logo in nav --- templates/_macros.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/_macros.html b/templates/_macros.html index 2b1d051..9325ef3 100644 --- a/templates/_macros.html +++ b/templates/_macros.html @@ -1,6 +1,12 @@ {% macro render_header() %} {% set root = get_section(path="_index.md") %} - +{% if lang == "en" %} +{% set root_lang = "" %} +{% else %} +{% set root_lang = lang %} +{% endif %} + +