Skip to content

Commit

Permalink
Add image to architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Sjoberg committed Nov 28, 2023
1 parent daeb30b commit f98e5aa
Show file tree
Hide file tree
Showing 62 changed files with 61 additions and 2 deletions.
Binary file added assets/images/gopher-scaffold.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions content/english/blog/golang/app-architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: "One way to architecture your app"
meta_title: ""
description: "A simple way to architect your golang application without a fancy design"
date: 2023-09-30T05:00:00Z
image: "/images/gopher-scaffold.jpeg"
categories: ["golang", "architecture"]
author: "Hugo Sjoberg"
tags: ["golang", "architecture"]
Expand Down
17 changes: 17 additions & 0 deletions hugo_stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"video"
],
"classes": [
"...",
"2xl:bg-pink-200",
"2xl:block",
"2xl:hidden",
Expand All @@ -85,6 +86,14 @@
"btn-sm",
"capitalize",
"col-12",
"col-span-1",
"col-span-2",
"col-span-4",
"col-span-5",
"col-span-6",
"col-span-8",
"col-start-2",
"column",
"container",
"content",
"cursor-pointer",
Expand Down Expand Up @@ -124,7 +133,13 @@
"gallery",
"gallery-item",
"gallery-slider",
"gap-4",
"glightbox",
"grid",
"grid-cols-10",
"grid-cols-5",
"grid-cols-6",
"grid-container",
"gx-5",
"h-6",
"h2",
Expand All @@ -142,6 +157,7 @@
"inlin-block",
"inline-block",
"inline-flex",
"item1",
"items-center",
"items-start",
"justify-between",
Expand Down Expand Up @@ -291,6 +307,7 @@
"top-0",
"top-[4px]",
"uppercase",
"w-5/12",
"w-[30px]",
"w-full",
"warning",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11208,6 +11208,27 @@ input#nav-toggle:checked ~ #nav-menu {
.order-3 {
order: 3;
}
.col-span-1 {
grid-column: span 1 / span 1;
}
.col-span-2 {
grid-column: span 2 / span 2;
}
.col-span-4 {
grid-column: span 4 / span 4;
}
.col-span-5 {
grid-column: span 5 / span 5;
}
.col-span-6 {
grid-column: span 6 / span 6;
}
.col-span-8 {
grid-column: span 8 / span 8;
}
.col-start-2 {
grid-column-start: 2;
}
.m-1 {
margin: 0.25rem;
}
Expand Down Expand Up @@ -11296,12 +11317,18 @@ input#nav-toggle:checked ~ #nav-menu {
.table {
display: table;
}
.grid {
display: grid;
}
.hidden {
display: none;
}
.h-6 {
height: 1.5rem;
}
.w-5\/12 {
width: 41.666667%;
}
.w-\[30px\] {
width: 30px;
}
Expand All @@ -11314,6 +11341,15 @@ input#nav-toggle:checked ~ #nav-menu {
.cursor-pointer {
cursor: pointer;
}
.grid-cols-10 {
grid-template-columns: repeat(10, minmax(0, 1fr));
}
.grid-cols-5 {
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.grid-cols-6 {
grid-template-columns: repeat(6, minmax(0, 1fr));
}
.items-start {
align-items: flex-start;
}
Expand All @@ -11326,6 +11362,9 @@ input#nav-toggle:checked ~ #nav-menu {
.justify-between {
justify-content: space-between;
}
.gap-4 {
gap: 1rem;
}
.space-x-1 > :not([hidden]) ~ :not([hidden]) {
--tw-space-x-reverse: 0;
margin-right: calc(0.25rem * var(--tw-space-x-reverse));
Expand Down
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 4 additions & 2 deletions themes/hugoplate/layouts/blog/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
<article class="lg:col-10">
{{ $image:= .Params.image }}
{{ if $image }}
<div class="mb-10">
{{ partial "image" (dict "Src" $image "Alt" .Title "Class" "w-full rounded") }}
<div class="grid grid-cols-10 mb-10">
<div class="item1 col-span-2"></div>
<div class="item1 col-span-6">{{ partial "image" (dict "Src" $image "Alt" .Title "Class" "w-full rounded") }}</div>
<div class="item1 col-span-2"></div>
</div>
{{ end }}
<h1 class="h2 mb-4">
Expand Down

0 comments on commit f98e5aa

Please sign in to comment.