wrote out blog1

This commit is contained in:
gws 2024-11-14 11:40:32 +01:00
parent fc40ea34d8
commit 1835f31feb

View file

@ -4,71 +4,55 @@ description = "A new Landing page for consulting services"
date = 2024-11-05 date = 2024-11-05
+++ +++
I made landing page. Read on if your curius about how i did it. We made a landing page. Read on if your curius about how it is made.
<!-- more -->
# 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 Awsome # Static Sites
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor This website is a static site, mening the related webservers role is simply to serve some files as is to the visitors.
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis The webservers do not need any state related to visitors, it is static from the servers prespective.
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
That said a static can exibit dynamic behavior in the browser through scripting, so `static` does not describe the user experince.
But it does mean that the servers jobb is very easy and that is why some providers like [cloudflare](cloudflare.com) or [github](github.com) if willing to offer static websites hosting for free.
```rust Statics websites are a great for serving information becouse of the low cost and that you can serve almost limitless amount of visitors.
fn main() {
println!("Hello World!") # Static Site Generator Zola
}
``` When building a static web site you essenstially bundle some html, css and javascript files to gather. Simple...
But handrolling can be quite time consuming. This where static site generators(ssg) come in handy.
They speed up the process by enable html templates and layout and theme reuse.
Github and Cloudflare offer preconfigured automatic deployment pipelines for some the more popular ssg tools.
## Hosting For this website I opted for using [Zola](getzola.org) and so for the developer experiance has been great. But dont take my word for it, try it your self.
It is quite newbie friendly and the docs are great.
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 # Hosting
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 Cloudflare offers free hosting of static websites and what is even better is that is super easy integrate with github so that whenever you push autmaticly publish either to production or a preview address.
pariatur. The source code for this webpage can be found here: [github](https://github.com/GlennWSo/buildsomething)
# Whats next?
I plan to make more blog entries but im not sure which topic will be the next one.
## Nix ## Nix
Dev environment... I use nix to declare reprudicble development enverionment and build processes. Including the one i used for this website.
I might cover nix in future entries.
# Whats next?
## E-commerce ## E-commerce
I plan to setup some kind of e-commerce to sell merchindise. I plan to setup some kind of e-commerce to sell merchindise.
While fully intend this to a real store where you can buy stuff, the purpuse is mainly
to drink my own wine so I dont poisen my clients. I.E test in production on myself, becouse maximum validity.
## Showroom ## Showroom