Skip to content

Commit

Permalink
fix 404
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemhosny committed Oct 31, 2023
1 parent 834dc9f commit 7f06c01
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 20 deletions.
24 changes: 12 additions & 12 deletions src/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,33 @@
<link
rel="alternate"
type="application/json+oembed"
href="https://api.livecodes.io/oembed?url=https%3A%2F%2Flivecodes.io&format=json"
href="/oembed?url=https%3A%2F%2Flivecodes.io&format=json"
title="LiveCodes oEmbed"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="livecodes/assets/images/apple-touch-icon.png"
href="/livecodes/assets/images/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="livecodes/assets/images/favicon-32x32.png"
href="/livecodes/assets/images/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="livecodes/assets/images/favicon-16x16.png"
href="/livecodes/assets/images/favicon-16x16.png"
/>
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link rel="manifest" href="livecodes/assets/site.webmanifest" />
<link rel="mask-icon" href="livecodes/assets/images/safari-pinned-tab.svg" color="#5bbad5" />
<link rel="manifest" href="/livecodes/assets/site.webmanifest" />
<link rel="mask-icon" href="/livecodes/assets/images/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="apple-mobile-web-app-title" content="livecodes" />
<meta name="application-name" content="livecodes" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="msapplication-config" content="livecodes/assets/browserconfig.xml" />
<meta name="msapplication-config" content="/livecodes/assets/browserconfig.xml" />
<meta name="theme-color" content="#ffffff" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
Expand Down Expand Up @@ -118,7 +118,7 @@
<div>
<a href="/" title="LiveCodes App"
><img
src="livecodes/assets/images/livecodes-logo.svg"
src="/livecodes/assets/images/livecodes-logo.svg"
alt="LiveCodes logo"
id="logo"
width="80"
Expand All @@ -138,13 +138,13 @@
<div id="frame-container">
<iframe src="/?embed&template=react" title="LiveCodes Playground"></iframe>
</div>
<img id="img404" src="livecodes/assets/images/404.png" alt="LiveCodes with 404 stamp" />
<img id="img404" src="/livecodes/assets/images/404.png" alt="LiveCodes with 404 stamp" />
<div id="footer">
<div class="title">LiveCodes</div>
<div class="links">
<a href="docs">Home</a>
<a href="./">App</a>
<a href="docs/overview">Docs</a>
<a href="/docs">Home</a>
<a href="/">App</a>
<a href="/docs/overview">Docs</a>
<a href="https://github.com/live-codes/livecodes">GitHub</a>
</div>
</div>
Expand Down
10 changes: 2 additions & 8 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,15 @@
<!-- Twitter -->
<meta property="twitter:title" content="LiveCodes" />
<meta property="twitter:description" content="Code Playground That Just Works!" />
<meta
property="twitter:image"
content="https://livecodes.io/livecodes/assets/images/livecodes-text-logo.png"
/>
<meta property="twitter:image" content="/livecodes/assets/images/livecodes-text-logo.png" />
<meta property="twitter:url" content="https://livecodes.io/" />
<meta property="twitter:card" content="summary_large_image" />

<!-- Facebook -->
<meta property="og:title" content="LiveCodes" />
<meta property="og:description" content="Code Playground That Just Works!" />
<meta property="og:url" content="https://livecodes.io/" />
<meta
property="og:image"
content="https://livecodes.io/livecodes/assets/images/livecodes-text-logo.png"
/>
<meta property="og:image" content="/livecodes/assets/images/livecodes-text-logo.png" />
<meta property="og:type" content="website" />

<!-- oEmbed -->
Expand Down

0 comments on commit 7f06c01

Please sign in to comment.