From 7be6494431e9e08c56ab9623428497178e8bbb98 Mon Sep 17 00:00:00 2001 From: Adrien Beaudouin Date: Sat, 25 Dec 2021 19:44:18 +0100 Subject: [PATCH] dev works --- assets/css/custom.css | 47 +++++++++++++++ content/works.md | 112 +----------------------------------- content/works/aspnet.md | 0 content/works/fastapi.md | 0 content/works/laravel.md | 0 content/works/nestjs.md | 0 content/works/realworlds.md | 3 + content/works/springboot.md | 0 content/works/symfony.md | 0 data/realworld.yaml | 27 +++++++++ layouts/raw/single.html | 12 ---- layouts/works/single.html | 42 ++++++++++++++ 12 files changed, 120 insertions(+), 123 deletions(-) create mode 100644 content/works/aspnet.md create mode 100644 content/works/fastapi.md create mode 100644 content/works/laravel.md create mode 100644 content/works/nestjs.md create mode 100644 content/works/realworlds.md create mode 100644 content/works/springboot.md create mode 100644 content/works/symfony.md create mode 100644 data/realworld.yaml delete mode 100644 layouts/raw/single.html create mode 100644 layouts/works/single.html diff --git a/assets/css/custom.css b/assets/css/custom.css index 7cea6aa..ea0f006 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -465,6 +465,10 @@ Ensure the default browser behavior of the `hidden` attribute. position: static; } +.relative { + position: relative; +} + .mt-0 { margin-top: 0px; } @@ -525,6 +529,10 @@ Ensure the default browser behavior of the `hidden` attribute. border-radius: 0.25rem; } +.\!rounded-md { + border-radius: 0.375rem !important; +} + .border-2 { border-width: 2px; } @@ -545,10 +553,24 @@ Ensure the default browser behavior of the `hidden` attribute. border-color: var(--color-primary-500); } +.bg-primary-600 { + background-color: var(--color-primary-600); +} + .p-4 { padding: 1rem; } +.px-4 { + padding-left: 1rem; + padding-right: 1rem; +} + +.py-2 { + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} + .pb-2 { padding-bottom: 0.5rem; } @@ -561,6 +583,10 @@ Ensure the default browser behavior of the `hidden` attribute. text-align: center; } +.align-text-bottom { + vertical-align: text-bottom; +} + .text-4xl { font-size: 2.25rem; line-height: 2.5rem; @@ -583,10 +609,31 @@ Ensure the default browser behavior of the `hidden` attribute. color: var(--color-neutral-900); } +.\!text-neutral { + color: var(--color-neutral) !important; +} + +.\!no-underline { + -webkit-text-decoration-line: none !important; + text-decoration-line: none !important; +} + +.hover\:\!bg-primary-500:hover { + background-color: var(--color-primary-500) !important; +} + +.dark .dark\:bg-primary-800 { + background-color: var(--color-primary-800); +} + .dark .dark\:text-neutral { color: var(--color-neutral); } +.dark .dark\:hover\:\!bg-primary-700:hover { + background-color: var(--color-primary-700) !important; +} + @media (min-width: 768px) { .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); diff --git a/content/works.md b/content/works.md index 8df1467..9a85a26 100644 --- a/content/works.md +++ b/content/works.md @@ -1,115 +1,5 @@ --- title: "Okami101 Works! :tada:" description: "This is adr1enbe4udou1n works." -showAuthor: false -showDate: false -showReadingTime: false -type: "raw" +type: "works" --- - -

Realworld Conduit Apps

- -
-

- Main purpose of this projects is to have extensive API training on multiple backend languages or framework. It's following the very known Conduit project. -

-
- -
-
-

ASP.NET Core Realworld

-
-

- Lorem -

-
-
- {{< button href="https://github.com/adr1enbe4udou1n/aspnet-realworld-example-app" target="_blank" >}} - {{< icon "github" >}} - {{< /button >}} - {{< button href="https://aspnetrealworld.okami101.io/api" target="_blank" >}} - OpenAPI - {{< /button >}} -
-
-
-

Spring Boot Realworld

-
-

- Lorem -

-
-
- {{< button href="https://github.com/adr1enbe4udou1n/spring-boot-realworld-example-app" target="_blank" >}} - {{< icon "github" >}} - {{< /button >}} - {{< button href="https://springbootrealworld.okami101.io/api" target="_blank" >}} - OpenAPI - {{< /button >}} -
-
-
-

NestJS Realworld

-
-

- Lorem -

-
-
- {{< button href="https://github.com/adr1enbe4udou1n/nestjs-realworld-example-app" target="_blank" >}} - {{< icon "github" >}} - {{< /button >}} - {{< button href="https://nestjsrealworld.okami101.io/api" target="_blank" >}} - OpenAPI - {{< /button >}} -
-
-
-

FastAPI Realworld

-
-

- Lorem -

-
-
- {{< button href="https://github.com/adr1enbe4udou1n/fastapi-realworld-example-app" target="_blank" >}} - {{< icon "github" >}} - {{< /button >}} - {{< button href="https://fastapirealworld.okami101.io/api" target="_blank" >}} - OpenAPI - {{< /button >}} -
-
-
-

Laravel Realworld

-
-

- Lorem -

-
-
- {{< button href="https://github.com/adr1enbe4udou1n/laravel-realworld-example-app" target="_blank" >}} - {{< icon "github" >}} - {{< /button >}} - {{< button href="https://laravelrealworld.okami101.io/api" target="_blank" >}} - OpenAPI - {{< /button >}} -
-
-
-

Symfony Realworld

-
-

- Lorem -

-
-
- {{< button href="https://github.com/adr1enbe4udou1n/symfony-realworld-example-app" target="_blank" >}} - {{< icon "github" >}} - {{< /button >}} - {{< button href="https://symfonyrealworld.okami101.io/api" target="_blank" >}} - OpenAPI - {{< /button >}} -
-
-
diff --git a/content/works/aspnet.md b/content/works/aspnet.md new file mode 100644 index 0000000..e69de29 diff --git a/content/works/fastapi.md b/content/works/fastapi.md new file mode 100644 index 0000000..e69de29 diff --git a/content/works/laravel.md b/content/works/laravel.md new file mode 100644 index 0000000..e69de29 diff --git a/content/works/nestjs.md b/content/works/nestjs.md new file mode 100644 index 0000000..e69de29 diff --git a/content/works/realworlds.md b/content/works/realworlds.md new file mode 100644 index 0000000..1d8041d --- /dev/null +++ b/content/works/realworlds.md @@ -0,0 +1,3 @@ +Main purpose of this projects is to have personal extensive API training on multiple backend languages or framework. It's following the very known [Conduit project](https://github.com/gothinkster/realworld), a `Medium` clone. + +All of these apps are 100% compatible by the official [OpenAPI Spec](https://realworld-docs.netlify.app/docs/specs/backend-specs/endpoints). All can be tested with [last Postman collection of Conduit](https://github.com/gothinkster/realworld/tree/main/api). Each project are fully tested and follows best practices for linting, formatting, with static analyzers for non strongly typed languages. diff --git a/content/works/springboot.md b/content/works/springboot.md new file mode 100644 index 0000000..e69de29 diff --git a/content/works/symfony.md b/content/works/symfony.md new file mode 100644 index 0000000..e69de29 diff --git a/data/realworld.yaml b/data/realworld.yaml new file mode 100644 index 0000000..78202fd --- /dev/null +++ b/data/realworld.yaml @@ -0,0 +1,27 @@ +title: Realworld Conduit Apps +description: realworlds + +projects: + - title: ASP.NET Core Realworld + type: aspnet + repo: adr1enbe4udou1n/aspnetcore-realworld-example-app + + - title: Spring Boot Realworld + type: springboot + repo: adr1enbe4udou1n/spring-boot-realworld-example-app + + - title: Laravel Realworld + type: laravel + repo: adr1enbe4udou1n/laravel-realworld-example-app + + - title: Symfony Realworld + type: symfony + repo: adr1enbe4udou1n/symfony-realworld-example-app + + - title: NestJS Realworld + type: nestjs + repo: adr1enbe4udou1n/nestjs-realworld-example-app + + - title: FastAPI Realworld + type: fastapi + repo: adr1enbe4udou1n/fastapi-realworld-example-app diff --git a/layouts/raw/single.html b/layouts/raw/single.html deleted file mode 100644 index 42b833f..0000000 --- a/layouts/raw/single.html +++ /dev/null @@ -1,12 +0,0 @@ -{{ define "main" }} -
-
-

- {{ .Title | emojify }} -

-
-
- {{ .Content | emojify }} -
-
-{{ end }} \ No newline at end of file diff --git a/layouts/works/single.html b/layouts/works/single.html new file mode 100644 index 0000000..dbda5cb --- /dev/null +++ b/layouts/works/single.html @@ -0,0 +1,42 @@ +{{ define "main" }} +
+
+

+ {{ .Title | emojify }} +

+
+ {{ .Content | emojify }} +
+

+ {{ .Site.Data.realworld.title }} +

+ +
+ {{ readFile (print "/content/works/" .Site.Data.realworld.description ".md") | markdownify }} +
+ +
+ {{ range $.Site.Data.realworld.projects }} +
+

+ {{ .title }} +

+
+ {{ readFile (print "/content/works/" .type ".md") | markdownify }} +
+ +
+ {{ end }} +
+
+
+{{ end }} \ No newline at end of file