mirror of
https://github.com/Aroy-Art/Aroy-Art-Site.git
synced 2024-12-26 22:24:23 +01:00
commit
ec299af327
2 changed files with 59 additions and 0 deletions
11
content/_index/discord-info.md
Normal file
11
content/_index/discord-info.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
+++
|
||||||
|
fragment = "discord-fragment"
|
||||||
|
#disabled = false
|
||||||
|
align = "center"
|
||||||
|
background = "secondary"
|
||||||
|
|
||||||
|
title = "Discord Info"
|
||||||
|
weight = 180
|
||||||
|
|
||||||
|
date = 2021-01-20
|
||||||
|
+++
|
48
layouts/partials/fragments/discord-fragment.html
Normal file
48
layouts/partials/fragments/discord-fragment.html
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
|
||||||
|
|
||||||
|
{{- $fragment := .self.Params -}}
|
||||||
|
{{- $name := strings.TrimSuffix ".md" (replace .self.Name "/index.md" "") -}}
|
||||||
|
{{- $bg := $fragment.background | default "secondary" }}
|
||||||
|
<style>
|
||||||
|
.v-center{
|
||||||
|
margin-top: 10%;
|
||||||
|
}
|
||||||
|
.ascii-art {
|
||||||
|
font-family: monospace;
|
||||||
|
white-space: pre;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<section id="{{ $name }}">
|
||||||
|
<div class="overlay container-fluid
|
||||||
|
{{- printf " bg-%s" $bg -}}
|
||||||
|
">
|
||||||
|
<div class="container py-5">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col text-center
|
||||||
|
{{- if eq $bg "dark" -}}
|
||||||
|
{{- printf " text-%s" "light" -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- printf " text-%s" "dark" -}}
|
||||||
|
{{- end -}}
|
||||||
|
">
|
||||||
|
|
||||||
|
<h2>Discord Info</h2>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col text-center v-center">
|
||||||
|
<h4 class="text-center">Join my Discord</h4>
|
||||||
|
<div class="ascii-art text-center">
|
||||||
|
|\ _,,,---,,_
|
||||||
|
ZZZzz /,`.-'`' -. ;-;;,_
|
||||||
|
|,4- ) )-,_. ,\ ( `'-'
|
||||||
|
'---''(_/--' `-'\_)
|
||||||
|
</div>
|
||||||
|
<h4 class="text-center">Why join my Discord? </h4>
|
||||||
|
<p class="text-center">So you can chat with people who have the same interest about Art, Programming, Games, Music and</p>
|
||||||
|
</div>
|
||||||
|
<div class="col text-center">
|
||||||
|
<iframe src="https://discord.com/widget?id=476786404761010196&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
Loading…
Reference in a new issue