Skip to content

Commit

Permalink
Shut things down for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jordemort committed Nov 21, 2023
1 parent 5cdf14d commit b566f76
Show file tree
Hide file tree
Showing 7 changed files with 3,590 additions and 7,753 deletions.
11,025 changes: 3,408 additions & 7,617 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@astrojs/tailwind": "^2.1.2",
"@types/micromodal": "^0.3.3",
"astro": "^1.6.10",
"astro-compress": "^1.1.7",
"astro-compress": "^2.0.15",
"astro-icon": "^0.8.0",
"prettier": "2.7.1",
"prettier-plugin-astro": "^0.7.0",
Expand Down
33 changes: 33 additions & 0 deletions src/components/closed.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
import { Icon } from "astro-icon";
import ContentSection from "~/components/content-section.astro";
import { Image } from "@astrojs/image/components";
import jordemort from "~/assets/jordemort.jpg";
---

<ContentSection title="Caketop" id="intro">
<Icon slot="eyebrow" name="logomark" class="h-32" />
<Fragment slot="lead">
Caketop is currently on hiatus; we are not accepting any new consulting engagements at this time.
Thank you for your interest!
</Fragment>
<figure class="p-3">
<a href="https://jordemort.dev/"
><Image
src={jordemort}
width={200}
height={200}
alt="Jordan Webb"
class="rounded-full"
/></a>
<figcaption class="text-center">
<a href="https://jordemort.dev/" class="font-semibold">Jordan Webb</a><br /><span class="text-sm">Proprietor</span>
</figcaption>
</figure>
<p class="max-w-prose">
Jordan is an industry veteran with extensive experience in software packaging, distribution, and compliance.
Jordan's <b><a href="https://jordemort.dev/portfolio/">previous experience</a></b> includes building the operating system for Cleversafe (now part of IBM Cloud)
storage appliances, GitHub Enterprise Server, and home automation hub firmware.
</p>

</ContentSection>
143 changes: 29 additions & 114 deletions src/icons/logomark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
86 changes: 86 additions & 0 deletions src/layouts/ClosedPage.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
---
import ClosedHeader from "~/components/closedheader.astro";
import "~/styles/index.css";
const { site } = Astro;
const image = new URL("social.jpg", site);
const description =
"Caketop is your source for export Linux consulting. Specialists in containers, virtual machines, embedded, and IoT.";
---

<html lang="en" class="h-full motion-safe:scroll-smooth" data-theme="dark">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">

<script src="https://unpkg.com/@botpoison/browser" async></script>
<script defer data-domain="caketop.app" src="https://stats.caketop.app/js/plausible.js"></script>

<title>Caketop: Linux consulting specialising in containers, virtual machines, embedded, and IoT</title>
<meta name="description" content={description} />

<!-- fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
rel="preload"
as="style"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;800&display=swap"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;800&display=swap"
media="print"
onload="this.media='all'"
/>
<noscript>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;800&display=swap"
/>
</noscript>

<!-- social media -->
<meta property="og:title" content="Caketop: Linux consulting" />
<meta property="og:type" content="website" />
<meta property="og:description" content={description} />
<meta property="og:image" content={image} />
<meta property="og:url" content={site} />
<meta name="twitter:card" content="summary_large_image" />

<!-- initialize theme -->
<script is:inline>
const themeSaved = localStorage.getItem("theme");

if (themeSaved) {
document.documentElement.dataset.theme = themeSaved;
} else {
const prefersDark = window.matchMedia(
"(prefers-color-scheme: dark)"
).matches;
document.documentElement.dataset.theme = prefersDark ? "dark" : "light";
}

window
.matchMedia("(prefers-color-scheme: dark)")
.addEventListener("change", (event) => {
if (!localStorage.getItem("theme")) {
document.documentElement.dataset.theme = event.matches
? "dark"
: "light";
}
});
</script>
</head>
<body
class="h-full overflow-x-hidden text-base bg-default text-default selection:bg-secondary selection:text-white"
>
<slot />
</body>
</html>
26 changes: 5 additions & 21 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,28 +1,12 @@
---
import Page from "~/layouts/Page.astro";
import ClosedPage from "~/layouts/ClosedPage.astro";
import Team from "~/components/team.astro";
import Contact from "~/components/contact.astro";
import Services from "~/components/services.astro";
import Footer from "~/components/footer.astro";
import Intro from "~/components/intro.astro";
import Splash from "~/components/splash.astro";
import Flipper from "~/components/flipper.astro";
import Terms from "~/components/terms.astro";
import Rates from "~/components/rates.astro";
import Closed from "~/components/closed.astro";
---

<Page>
<Splash>
Your app on <Flipper />
like frosting on a cake
</Splash>
<ClosedPage>
<div class="px-8 py-32 space-y-24">
<Intro />
<Services />
<Team />
<Terms />
<Rates />
<Contact />
<Closed />
</div>
<Footer />
</Page>
</ClosedPage>
28 changes: 28 additions & 0 deletions src/pages/oldindex.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
import Page from "~/layouts/Page.astro";
import Team from "~/components/team.astro";
import Contact from "~/components/contact.astro";
import Services from "~/components/services.astro";
import Footer from "~/components/footer.astro";
import Intro from "~/components/intro.astro";
import Splash from "~/components/splash.astro";
import Flipper from "~/components/flipper.astro";
import Terms from "~/components/terms.astro";
import Rates from "~/components/rates.astro";
---

<Page>
<Splash>
Your app on <Flipper />
like frosting on a cake
</Splash>
<div class="px-8 py-32 space-y-24">
<Intro />
<Services />
<Team />
<Terms />
<Rates />
<Contact />
</div>
<Footer />
</Page>

0 comments on commit b566f76

Please sign in to comment.