Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified static/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/favicon-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/favicon-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/logo.png
Binary file not shown.
35 changes: 35 additions & 0 deletions static/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/social.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 11 additions & 5 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ code, pre, kbd, samp { font-family: var(--font-mono); }
--accent-h: light-dark(#2E474C, #507882);
--border: light-dark(#e0e0e0, #333);
--surface: light-dark(#f5f5f5, #252525);
--wordmark: light-dark(#2E474C, #d4d4d4);
--code-bg: var(--fink-bg);
--code-text: var(--fink-text);
--font-sans: "Inter", system-ui, sans-serif;
Expand All @@ -44,9 +45,13 @@ a:hover { color: var(--accent-h); text-decoration: underline; }
header {
border-bottom: 1px solid var(--border);
padding: 0 2rem;
position: sticky;
top: 0;
background: var(--bg);
z-index: 50;
}
nav {
max-width: calc(var(--max-w) + 8rem);
max-width: calc(var(--max-w) + 14rem);
margin: 0 auto;
display: flex;
align-items: center;
Expand All @@ -55,14 +60,14 @@ nav {
}
nav .wordmark {
font-family: var(--font-wordmark);
font-size: 1.4rem;
font-size: 1.5rem;
font-weight: 700;
color: var(--text);
color: var(--wordmark);
margin-right: auto;
text-decoration: none;
display: flex;
align-items: center;
gap: 0.4rem;
gap: 0.4em;
}
.wordmark-logo {
height: 2.5rem;
Expand Down Expand Up @@ -132,13 +137,14 @@ footer {
font-family: var(--font-wordmark);
font-size: 4rem;
font-weight: 800;
color: var(--wordmark);
letter-spacing: -0.02em;
line-height: 1;
margin-bottom: 1rem;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
gap: 0.5em;
}
.hero-logo {
height: 6rem;
Expand Down
2 changes: 1 addition & 1 deletion templates/404.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block content %}
<div class="not-found">
<img src="{{ root }}logo.png" alt="ƒink">
<img src="{{ root }}logo.svg" alt="ƒink">
<h1>404</h1>
<p>That page doesn't exist. <a href="{{ root }}">Go home</a>.</p>
</div>
Expand Down
3 changes: 2 additions & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap">
<link rel="icon" type="image/svg+xml" href="{{ root }}logo.svg">
<link rel="icon" type="image/png" sizes="32x32" href="{{ root }}favicon-32.png">
<link rel="icon" type="image/png" sizes="192x192" href="{{ root }}favicon-192.png">
<link rel="apple-touch-icon" sizes="180x180" href="{{ root }}apple-touch-icon.png">
Expand Down Expand Up @@ -41,7 +42,7 @@
<body>
<header>
<nav>
<a class="wordmark" href="{{ root }}"><img src="{{ root }}logo.png" alt="" class="wordmark-logo">ƒink</a>
<a class="wordmark" href="{{ root }}"><img src="{{ root }}logo.svg" alt="" class="wordmark-logo">ƒink</a>
<a href="{{ root }}docs/">docs</a>
<a href="https://github.com/fink-lang" class="nav-icon" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z"/></svg></a>
<div class="theme-picker">
Expand Down
2 changes: 1 addition & 1 deletion templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% block content %}

<section class="hero">
<h1 class="hero-wordmark"><img src="{{ root }}logo.png" alt="" class="hero-logo">ƒink</h1>
<h1 class="hero-wordmark"><img src="{{ root }}logo.svg" alt="" class="hero-logo">ƒink</h1>
<p class="hero-tagline">A functional language that compiles to WasmGC.</p>
<a class="btn" href="{{ root }}docs/">Read the docs</a>
<a class="btn btn-outline" href="https://github.com/fink-lang/fink">View source</a>
Expand Down
Loading