cabotia / cabotia.dev/ commit / 8899dfd

all: rebuild with hugo

Pedro Lucas Porcellis porcellis@eletrotupi.com · 9 months ago 8899dfd128a8fdd99a13af3f65acf009bf0a3f25 Browse files
Parents cbb218b
Changed files
10
Additions
+155
Deletions
-60
/dev/null → archetypes/default.md
1 +
+++
2 +
date = '{{ .Date }}'
3 +
draft = true
4 +
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
5 +
+++
/dev/null → assets/fonts.scss
1 +
@font-face {
2 +
	font-family: 'Castoro';
3 +
	font-weight: 400;
4 +
	src: url(/fonts/castoro/Castoro-regular.ttf) format('ttf');
5 +
	font-display: swap;
6 +
}
7 +

8 +
@font-face {
9 +
	font-family: 'Castoro';
10 +
	font-style: italic;
11 +
	src: url(/fonts/castoro/Castoro-italic.ttf) format('ttf');
12 +
	font-display: swap;
13 +
}
14 +

/dev/null → assets/main.scss
1 +
@import 'fonts.scss';
2 +

3 +
$font-size-1: 0.8rem;
4 +
$font-size-2: 19px;
5 +
$font-size-3: 1.4rem;
6 +
$font-size-4: 1.7rem;
7 +
$font-size-5: 2.1rem;
8 +
$font-size-6: 2.5rem;
9 +

10 +
$color-main: #b91c1c;
11 +
$color-main-lighter: lighten($color-main, 10%);
12 +
$color-text: #111;
13 +
$color-lighter: lighten($color-text, 10%);
14 +
$color-gray: #60606f;
15 +
$color-lightgray: lighten($color-gray, 30%);
16 +

17 +
$font-family-body: 'Castoro', serif;
18 +

19 +
* {
20 +
	box-sizing: border-box;
21 +
}
22 +

23 +
html {
24 +
	font-family: $font-family-body;
25 +
	font-weight: 500;
26 +
	font-size: $font-size-2;
27 +
	line-height: 1.4;
28 +
}
29 +

30 +
body {
31 +
	max-width: 900px;
32 +
	margin: 0 auto;
33 +
	padding: 2rem 1rem;
34 +
}
35 +

36 +
a {
37 +
	color: $color-main;
38 +
	&:hover {
39 +
		color: $color-main-lighter;
40 +
	}
41 +
}
42 +

43 +
.fine-line {
44 +
	color: $color-lightgray;
45 +
}
46 +

47 +
footer {
48 +
	text-align: center;
49 +
	margin-top: 2rem;
50 +
	color: $color-gray;
51 +

52 +
	display: flex;
53 +
	flex-direction: column;
54 +
	justify-content: center;
55 +

56 +
	.links {
57 +
		display: flex;
58 +
		justify-content: center;
59 +
	}
60 +

61 +
	a {
62 +
		color: $color-gray;
63 +
	}
64 +
}
65 +

/dev/null → content/_index.md
1 +
---
2 +
title: cabotiá
3 +
---
4 +

5 +
Um
hugo.toml added+3
/dev/null → hugo.toml
1 +
baseURL = 'https://cabotia.dev/'
2 +
languageCode = 'pt-br'
3 +
title = 'cabotiá - micro estúdio de desenvolvimento de software'
index.html deleted-60
index.html → /dev/null
1 -
<!doctype html>
2 -
<html lang="pt-br">
3 -
  <head>
4 -
    <meta charset="utf-8" />
5 -
    <meta name="viewport" content="width=device-width, initial-scale=1">
6 -
    <title>cabotiá</title>
7 -
    <style>
8 -
      body {
9 -
        background: #1d4b47;
10 -
        font-family: monospace;
11 -
        color: #d74802;
12 -
        font-size: 1.25em;
13 -
        line-height: 1.5em;
14 -
        margin: 20px;
15 -
      }
16 -

17 -
      main {
18 -
        height: 80vh;
19 -
      }
20 -

21 -
      main, footer {
22 -
        display: flex;
23 -
        max-width: 32.5em;
24 -
        overflow: hidden;
25 -
        margin: auto;
26 -
      }
27 -

28 -
      header, footer {
29 -
        text-align: center;
30 -
      }
31 -

32 -
      header, footer {
33 -
        display: flex;
34 -
        justify-content: center;
35 -
        align-items: center;
36 -
        width: 100%;
37 -
      }
38 -

39 -
      header > h1 {
40 -
        font-size: 6em;
41 -
      }
42 -
    </style>
43 -
  </head>
44 -

45 -
  <body>
46 -
    <main>
47 -
      <header>
48 -
        <h1>cabotiá</h1>
49 -
      </header>
50 -
    </main>
51 -

52 -
    <footer>
53 -
      <div>
54 -
        <small>
55 -
          2025
56 -
        </small>
57 -
      </div>
58 -
    </footer>
59 -
  </body>
60 -
</html>
/dev/null → layouts/_default/baseof.html
1 +
<!DOCTYPE html>
2 +
<html lang="{{ .Site.Language.Lang }}">
3 +
	<head>
4 +
		<meta charset="utf-8">
5 +
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6 +
		<meta name="description" content="{{ .Summary | default .Params.summary }}">
7 +

8 +
		<title>{{ .Title }}</title>
9 +

10 +
		{{ $style := resources.Get "main.scss" | css.Sass | resources.Minify | resources.Fingerprint }}
11 +
		<link rel="stylesheet" href="{{ $style.RelPermalink }}">
12 +

13 +
		{{ range .AlternativeOutputFormats -}}
14 +
			{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
15 +
		{{ end -}}
16 +

17 +
		{{ template "_internal/opengraph.html" . }}
18 +
	</head>
19 +

20 +
	<body>
21 +
		<header>
22 +
			<div class="logo">
23 +
				<a href="{{ .Site.BaseURL | relLangURL }}">
24 +
					<img class="logo__type" src="/images/cabotia.png" alt="A stylezed cabotiá pumpkin, cabotiá logo">
25 +
				</a>
26 +
			</div>
27 +

28 +
			<nav>
29 +
				<a href="/">sobre</a>
30 +
				<a href="/work">trabalhos</a>
31 +
				<a href="/posts">blog</a>
32 +
				<a href="mailto:contact@cabotia.dev">contato</a>
33 +
			</nav>
34 +
		</header>
35 +
		<main>
36 +
			{{ block "main" . }}{{ end }}
37 +
		</main>
38 +
		<footer>
39 +
			<div>
40 +
				&copy; {{ time.Now.Year }} cabotiá
41 +
			</div>
42 +

43 +
			<div class="links">
44 +
				<a href="https://git.sr.ht/~porcellis/cabotia.dev">
45 +
					código-fonte
46 +
				</a>,
47 +

48 +
				<a href="https://git.sr.ht/~porcellis/cabotia.dev/tree/main/item/LICENSE">
49 +
					licença
50 +
				</a>
51 +
			</div>
52 +

53 +
			<div class="fine-line">
54 +
				cabotiá é uma empresa registrada no Brasil, com o CNPJ 64.947.407/0001-03
55 +
			</div>
56 +
		</footer>
57 +
	</body>
58 +
</html>
/dev/null → layouts/index.html
1 +
{{ define "main" }}
2 +
<div>
3 +
  cabotiá
4 +
</div>
5 +
{{ end }}
/dev/null → static/fonts/castoro/Castoro-Italic.ttf
Binary file
/dev/null → static/fonts/castoro/Castoro-Regular.ttf
Binary file