Websites/app/views/yiff_rocks/home/index.html.erb

53 lines
1.4 KiB
Plaintext
Raw Normal View History

2024-05-03 03:04:43 +00:00
<% content_for(:html_head) do %>
<!-- Lupines are the best :3 -->
<% description = "A url shortener made by furries, for furries." %>
<%= render "head_images",
manifest_path: yiff_rocks_home_manifest_path(:json)
%>
<%= render "twitter_card",
card_creator: "@Donovan_DMC",
card_description: description,
card_image: image_path("#{assets_path}/Blep.png"),
card_image_alt: "YiffyAPI Icon"
%>
<%= render "dublin_core",
dc_creator: "Donovan_DMC",
dc_description: description
%>
<%= render "open_graph",
og_description: description,
og_image: image_path("#{assets_path}/Blep.png"),
og_image_type: "image/png",
og_image_width: 710,
og_image_height: 710,
og_image_alt: "YiffyAPI Icon"
%>
<% end %>
<div id="logo">
<%= image_tag("#{assets_path}/Blep.png") %>
</div>
<br><br>
<h1 class="center">
Yiff Rocks
</h1>
<h2 class="center">
Pardon the blandness, but I cannot design websites to save my life.
</h2>
<h3 class="center">
This is a url shortener.
</h3>
<h3 class="center">
You can see the documentation <a href="https://docs.yiff.rest/shortener">here</a>, or use our
<a href="https://npm.im/yiffy">npm module</a>.
</h3>
<h3 class="center">
Using this service requires an apikey, which you can get <%= link_to "here", "https://yiff.rest/apikeys" %>
</h3>