generated from ElnuDev/go-project
Update branding and add acknowledgements
This commit is contained in:
parent
395318b7f6
commit
293941c011
4 changed files with 108 additions and 4 deletions
|
@ -22,8 +22,11 @@
|
|||
<body hx-boost="true">
|
||||
<main>
|
||||
<a href="/">
|
||||
<img src="https://jichan.org/logo.svg" style="height: 4em; display: block; margin: 1em auto 1em auto">
|
||||
<img src="/logo.svg" style="height: 4em; display: block; margin: 1em auto 1em auto">
|
||||
</a>
|
||||
<div class="box warn">
|
||||
<b>jichan.org</b> is in open alpha. The site may be buggy. More features are coming soon. If you have ideas or want to contribute, DM me on Discord <a href="https://discord.com/users/441283734214279178" target="_blank">@elnudev</a> or <a href="https://codeberg.org/ElnuDev/jichanorg/issues" target="_blank">open an issue on Codeberg</a>.
|
||||
</div>
|
||||
<form
|
||||
hx-get="/search"
|
||||
hx-replace-url="true"
|
||||
|
@ -32,7 +35,18 @@
|
|||
<input type="text" name="q" value="{{ block "value" . }}{{ end }}" placeholder="辞書をサーチする" class="width:100%" autocomplete="false" required>
|
||||
</form>
|
||||
<div id="results">
|
||||
{{ block "results" . }}{{ if .Query }}{{ template "search" . }}{{ end }}{{ end }}
|
||||
{{ block "results" . }}
|
||||
{{ if .Query }}
|
||||
{{ template "search" . }}
|
||||
{{ else }}
|
||||
<h3>Thank you to</h3>
|
||||
<ul>
|
||||
<li><a href="https://www.edrdg.org/wiki/index.php/JMdict-EDICT_Dictionary_Project" target="_blank"><b>JMdict</b></a> for providing free and open dictionary data</li>
|
||||
<li><a href="https://foosoft.net/" target="_blank">Alexei Yatskov</a> a.k.a. Foosoft Productions for providing the <a href="https:/foosoft.net/projects/jmdict">foosoft.net/projects/jmdict</a> Go package for parsing JMdict, and also for creating Yomichan, a great inspiration</li>
|
||||
<li>Doublevil for providing <a href="https://github.com/Doublevil/JmdictFurigana">JmdictFurigana</a></li>
|
||||
</ul>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<br>
|
||||
</main>
|
||||
|
|
Reference in a new issue