mirror of
https://github.com/danog/Valinor.git
synced 2024-11-26 20:24:40 +01:00
doc: add Open Graph meta tags
This commit is contained in:
parent
d9ac693827
commit
8920725b93
@ -1,12 +1,17 @@
|
|||||||
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json
|
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json
|
||||||
|
|
||||||
site_name: Valinor
|
site_name: Valinor
|
||||||
|
site_url: https://valinor.cuyz.io/
|
||||||
repo_url: https://github.com/CuyZ/Valinor
|
repo_url: https://github.com/CuyZ/Valinor
|
||||||
repo_name: CuyZ/Valinor
|
repo_name: CuyZ/Valinor
|
||||||
edit_uri: edit/master/docs/pages/
|
edit_uri: edit/master/docs/pages/
|
||||||
docs_dir: pages
|
docs_dir: pages
|
||||||
|
|
||||||
extra:
|
extra:
|
||||||
|
meta:
|
||||||
|
title: Valinor • PHP object mapper with strong type support
|
||||||
|
description: PHP library that helps to map any input into a strongly-typed value object structure.
|
||||||
|
image: img/valinor-banner.png
|
||||||
social:
|
social:
|
||||||
- icon: fontawesome/brands/github
|
- icon: fontawesome/brands/github
|
||||||
link: https://github.com/CuyZ
|
link: https://github.com/CuyZ
|
||||||
|
10
docs/overrides/main.html
Normal file
10
docs/overrides/main.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block extrahead %}
|
||||||
|
<meta name="description" content="{{ config.extra.meta.description }}">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:url" content="{{ config.site_url }}">
|
||||||
|
<meta property="og:title" content="{{ config.extra.meta.title }}">
|
||||||
|
<meta property="og:description" content="{{ config.extra.meta.description }}">
|
||||||
|
<meta property="og:image" content="{{ config.site_url }}{{ config.extra.meta.image }}">
|
||||||
|
{% endblock %}
|
BIN
docs/pages/img/valinor-banner.png
Normal file
BIN
docs/pages/img/valinor-banner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 58 KiB |
@ -1,4 +1,4 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 200">
|
<svg xmlns="http://www.w3.org/2000/svg" width="320" height="160" viewBox="0 0 360 200">
|
||||||
<defs>
|
<defs>
|
||||||
<style>
|
<style>
|
||||||
@font-face {
|
@font-face {
|
||||||
@ -8,20 +8,20 @@
|
|||||||
</style>
|
</style>
|
||||||
</defs>
|
</defs>
|
||||||
|
|
||||||
<line stroke-width="14" x1="18" x2="46" y1="24" y2="76" stroke="#A1C181"/>
|
<line stroke-width="14" x1="38" x2="66" y1="44" y2="96" stroke="#A1C181"/>
|
||||||
<line stroke-width="14" x1="54" x2="70" y1="24" y2="50" stroke="#BCDC9C"/>
|
<line stroke-width="14" x1="74" x2="90" y1="44" y2="70" stroke="#BCDC9C"/>
|
||||||
<line stroke-width="14" x1="82" x2="54" y1="24" y2="76" stroke="#A1C181"/>
|
<line stroke-width="14" x1="102" x2="74" y1="44" y2="96" stroke="#A1C181"/>
|
||||||
|
|
||||||
<ellipse cx="50" cy="84" rx="12" ry="12" stroke-width="8" stroke="#619B8A" fill="none"/>
|
<ellipse cx="70" cy="104" rx="12" ry="12" stroke-width="8" stroke="#619B8A" fill="none"/>
|
||||||
<ellipse cx="16" cy="16" rx="12" ry="12" stroke-width="8" stroke="#A1C181" fill="none"/>
|
<ellipse cx="36" cy="36" rx="12" ry="12" stroke-width="8" stroke="#A1C181" fill="none"/>
|
||||||
<ellipse cx="84" cy="16" rx="12" ry="12" stroke-width="8" stroke="#A1C181" fill="none"/>
|
<ellipse cx="104" cy="36" rx="12" ry="12" stroke-width="8" stroke="#A1C181" fill="none"/>
|
||||||
<ellipse cx="50" cy="16" rx="12" ry="12" stroke-width="8" stroke="#BCDC9C" fill="none"/>
|
<ellipse cx="70" cy="36" rx="12" ry="12" stroke-width="8" stroke="#BCDC9C" fill="none"/>
|
||||||
|
|
||||||
<text font-family="mustica-pro" x="80" y="97" font-size="90" fill="#A1C181">
|
<text font-family="mustica-pro" x="100" y="117" font-size="90" fill="#A1C181">
|
||||||
<tspan font-size="1" fill="none">V</tspan>alin<tspan fill="#619B8A">o</tspan>r
|
<tspan font-size="1" fill="none">V</tspan>alin<tspan fill="#619B8A">o</tspan>r
|
||||||
</text>
|
</text>
|
||||||
|
|
||||||
<line stroke-width="4" x1="0" x2="313" y1="115" y2="115" stroke="#BCDC9C"/>
|
<line stroke-width="4" x1="20" x2="333" y1="135" y2="135" stroke="#BCDC9C"/>
|
||||||
|
|
||||||
<text font-family="mustica-pro" x="0" y="157" font-size="35" fill="#BCDC9C">PHP object mapper</text>
|
<text font-family="mustica-pro" x="20" y="177" font-size="35" fill="#BCDC9C">PHP object mapper</text>
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Loading…
Reference in New Issue
Block a user