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

39 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2024-05-03 03:04:43 +00:00
<% content_for(:html_head) do %>
<% description = "A NodeJS library for interfacing with Discord." %>
<%= render "head_images",
manifest_path: oceanic_ws_home_manifest_path(:json)
%>
<%= render "twitter_card",
card_creator: "@Donovan_DMC",
card_site: "@OceanicJS",
card_description: description,
card_image: image_path("#{assets_path}/icon.png"),
card_image_alt: "Oceanic Icon"
%>
<%= render "dublin_core",
dc_creator: "Donovan_DMC",
dc_description: description
%>
<%= render "open_graph",
og_description: description,
og_image: image_path("#{assets_path}/icon.png"),
og_image_type: "image/png",
og_image_width: 363,
og_image_height: 363,
og_image_alt: "Oceanic Icon"
%>
<% end %>
<img class="logo" src="https://i.oceanic.ws/icon.png" alt="Oceanic Icon">
<h1>Oceanic</h1>
<h2>
<a href="https://github.com/OceanicJS/Oceanic">Github</a>
<span class="spacer">|</span>
<a href="https://docs.oceanic.ws">Documentation</a>
<span class="spacer">|</span>
<a href="https://npm.im/oceanic.js">NPM</a>
</h2>