Skip to content

Commit 84680c0

Browse files
committed
remove random fake css sheets
1 parent d1c80d5 commit 84680c0

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

landing-page/src/Landing/Pages/Html/Index.hs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,7 @@ indexHead = el "head" $ do
5555
elAttr "link" ("rel" =: "preconnect" <> "href" =: "https://fonts.googleapis.com") blank
5656
elAttr "link" ("rel" =: "preconnect" <> "href" =: "https://fonts.gstatic.com" <> "crossorigin" =: "anonymous") blank
5757

58-
-- Stylesheets (add more as needed, e.g., for custom styles)
59-
elAttr "link" ("rel" =: "stylesheet" <> "type" =: "text/css" <> "media" =: "screen" <> "href" =: "/webcard/static/app.min.1765894245.css") blank
60-
elAttr "link" ("rel" =: "stylesheet" <> "type" =: "text/css" <> "media" =: "screen" <> "href" =: "/css/custom.260111000213.css" <> "id" =: "customcss") blank
61-
58+
6259
-- Canonical link (important for SEO)
6360
elAttr "link" ("rel" =: "canonical" <> "href" =: "") blank
6461

@@ -241,7 +238,7 @@ scriptSection =
241238
, " event.preventDefault();"
242239
, " const formData = new FormData(event.target);"
243240
, " const data = Object.fromEntries(formData);"
244-
, " fetch('/', {"
241+
, " fetch('/email', {"
245242
, " method: 'POST',"
246243
, " headers: {"
247244
, " 'Content-Type': 'application/json'"

staticSite/src/html/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html><html lang="en"><head><title>Jenga/Lamarckian - Example Landing Page</title><meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /><meta content="A sample SEO-optimized landing page built with Jenga and the Lamarckian library for Reflex.Dom. Effortlessly build static pages in Haskell with type safety and modern UX." name="description" /><meta content="Jenga, Lamarckian, Reflex.Dom, Landing Page, Haskell, Static Site, SEO, Markdown, Blogging, Mockups, Web Framework" name="keywords" /><meta content="Growth by usage: Lamarckian and Jenga let you build SEO-optimized, type-safe landing pages and blogs that evolve with your needs!" property="og:description" /><meta content="width=device-width, initial-scale=1" name="viewport" /><meta content="Jenga/Lamarckian - Example Landing Page" property="og:title" /><meta content="website" property="og:type" /><meta content="en_CA" property="og:locale" /><meta content="" property="og:url" /><link href="data:," rel="icon" /><link href="/static/staticSite/css/styles.css" rel="stylesheet" /><link href="https://fonts.googleapis.com" rel="preconnect" /><link crossorigin="anonymous" href="https://fonts.gstatic.com" rel="preconnect" /><link href="/webcard/static/app.min.1765894245.css" media="screen" rel="stylesheet" type="text/css" /><link href="/css/custom.260111000213.css" id="customcss" media="screen" rel="stylesheet" type="text/css" /><link href="" rel="canonical" /><link as="style" href="/g/fonts.css?family=Open+Sans:400%7CMontserrat:400,700&amp;display=swap" rel="preload" /><link href="/g/fonts.css?family=Open+Sans:400%7CMontserrat:400,700&amp;display=swap" media="all" onload="this.media=&#39;all&#39;" rel="stylesheet" /><style>html { scroll-behavior: smooth; }
1+
<!DOCTYPE html><html lang="en"><head><title>Jenga/Lamarckian - Example Landing Page</title><meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /><meta content="A sample SEO-optimized landing page built with Jenga and the Lamarckian library for Reflex.Dom. Effortlessly build static pages in Haskell with type safety and modern UX." name="description" /><meta content="Jenga, Lamarckian, Reflex.Dom, Landing Page, Haskell, Static Site, SEO, Markdown, Blogging, Mockups, Web Framework" name="keywords" /><meta content="Growth by usage: Lamarckian and Jenga let you build SEO-optimized, type-safe landing pages and blogs that evolve with your needs!" property="og:description" /><meta content="width=device-width, initial-scale=1" name="viewport" /><meta content="Jenga/Lamarckian - Example Landing Page" property="og:title" /><meta content="website" property="og:type" /><meta content="en_CA" property="og:locale" /><meta content="" property="og:url" /><link href="data:," rel="icon" /><link href="/static/staticSite/css/styles.css" rel="stylesheet" /><link href="https://fonts.googleapis.com" rel="preconnect" /><link crossorigin="anonymous" href="https://fonts.gstatic.com" rel="preconnect" /><link href="" rel="canonical" /><link as="style" href="/g/fonts.css?family=Open+Sans:400%7CMontserrat:400,700&amp;display=swap" rel="preload" /><link href="/g/fonts.css?family=Open+Sans:400%7CMontserrat:400,700&amp;display=swap" media="all" onload="this.media=&#39;all&#39;" rel="stylesheet" /><style>html { scroll-behavior: smooth; }
22
</style><script type="application/ld+json">{
33
"@context": "https://schema.org",
44
"@type": "WebSite",
@@ -14,7 +14,7 @@
1414
event.preventDefault();
1515
const formData = new FormData(event.target);
1616
const data = Object.fromEntries(formData);
17-
fetch('/', {
17+
fetch('/email', {
1818
method: 'POST',
1919
headers: {
2020
'Content-Type': 'application/json'

0 commit comments

Comments
 (0)