Skip to content

Commit

Permalink
add frontpage 😎
Browse files Browse the repository at this point in the history
  • Loading branch information
marpme committed Oct 22, 2023
1 parent 1639617 commit 8a6cf76
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 70 deletions.
52 changes: 0 additions & 52 deletions src/components/AboutTheTheme.astro

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<footer class="text-sm leading-[1.75] mt-4">
<div>
This blog is built with
This blog is built with <span class="text-red-500">❤</span> and
<a
class="unset gradient-link tracking-wider font-bold bg-clip-text text-transparent bg-gradient-to-r from-[#f57111] to-[#f79605] hover:after:bg-gradient-to-r hover:after:from-[#f57111] hover:after:to-[#f79605]"
href={"https://github.com/flexdinesh/blogster"}
Expand Down
26 changes: 11 additions & 15 deletions src/components/Intro.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,28 @@
---

<section class="mb-8">
<div class="mb-4">
<div class="my-20 text-center whitespace-nowrap overflow-auto">
<h1
class="font-extrabold text-5xl md:text-6xl tracking-tight pt-4 pb-2 overflow-hidden"
>
<span
class="bg-gradient-to-br from-[#fb923c] via-[#f97316] to-[#ea580c] dark:from-primary-main dark:via-primary-main dark:to-primary-main bg-clip-text text-transparent"
>
Captain Awesome
Welcome, I'm Marvin 👋🏻
</span>
</h1>
<p class="text-2xl pb-4">Web Developer. OSS Wizard. Blogger.</p>
<p class="text-xl italic pb-4 text-gray-300 hover:text-black transition-all">Software Engineer &mdash; Sometimes creating exciting things</p>
</div>
<div>
<p class="mb-5">
Hello! This is a starter template to build your own blog with
<a href={"https://github.com/flexdinesh/blogster"} target="_blank">Blogster</a>.
Available in four themes
<a href={"https://blogster-minimal.netlify.app"} target="_blank">minimal</a>,
<a href={"https://blogster-sleek.netlify.app"} target="_blank">sleek</a>,
<a href={"https://blogster-newspaper.netlify.app"} target="_blank">newspaper</a> and
<a href={"https://blogster-bubblegum.netlify.app"} target="_blank">bubblegum</a>.
This blog is a demo for <strong>sleek</strong> theme.
Get started with one simple command.
</p>
<p class="text-center whitespace-nowrap overflow-auto">
<code class="py-1 px-2">npx create-blogster@latest --theme sleek</code>
Hey and thank you for stepping into my corner of the digital world.
I'm thrilled to have you here. Whether you stumbled upon this blog by chance or arrived intentionally,
your presence is sincerely welcomed.

<strong>
Enjoy your stay and checkout my
<a href="/blog">blog</a> or <a href="/projects">projects</a> alike.
</strong>
</p>
</div>
</section>
2 changes: 0 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@
import PageMeta from "../components/PageMeta.astro";
import PageLayout from "../layouts/PageLayout.astro";
import Intro from "../components/Intro.astro";
import AboutTheTheme from "../components/AboutTheTheme.astro";
import { SITE_TITLE } from "../config";
---

<PageLayout>
<PageMeta title={`${SITE_TITLE}`} slot="meta" />
<Fragment slot="main">
<Intro />
<AboutTheTheme />
</Fragment>
</PageLayout>

0 comments on commit 8a6cf76

Please sign in to comment.