mirror of
https://github.com/SphericalKat/medium.rip.git
synced 2024-12-27 10:05:58 +00:00
46 lines
1.8 KiB
HTML
46 lines
1.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="src/styles.css">
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap"
|
|
rel="stylesheet">
|
|
<title>RIP Medium</title>
|
|
|
|
<script>
|
|
// On page load or when changing themes, best to add inline in `head` to avoid FOUC
|
|
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
|
document.documentElement.classList.add('dark')
|
|
} else {
|
|
document.documentElement.classList.remove('dark')
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body class="flex justify-center dark:bg-stone-900">
|
|
<article class="flex flex-col h-full w-full justify-center prose dark:prose-invert px-8 md:px-0">
|
|
<div>
|
|
<h1>Medium.rip</h1>
|
|
<h2>An alternative frontend to Medium</h2>
|
|
</div>
|
|
|
|
<section>
|
|
<h2>How-To</h2>
|
|
<p>To view a Medium post simply replace <code class="">medium.com</code> with <code
|
|
class="highlight">medium.rip</code></p>
|
|
<p>If the URL is: <code><span class="">medium.com</span>/@user/my-post-09a6af907a2</code> change it
|
|
to <code><span class="">medium.rip</span>/@user/my-post-09a6af907a2</code></p>
|
|
</section>
|
|
|
|
<br>
|
|
|
|
<footer><a href="https://github.com/SphericalKat/medium.rip">Source code</a></footer>
|
|
</article>
|
|
</body>
|
|
|
|
</html> |