Skip to content

Commit

Permalink
Merge pull request #30 from thefathdev/main
Browse files Browse the repository at this point in the history
Do some housekeeping
  • Loading branch information
surjithctly authored Aug 10, 2023
2 parents e412889 + 84b2b46 commit 420edd1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 18 deletions.
6 changes: 3 additions & 3 deletions src/components/navbar/dropdown.astro
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
import { Dropdown, DropdownItems } from "astro-navbar";
import { Dropdown as DropdownContainer, DropdownItems } from "astro-navbar";
const { title, lastItem, children } = Astro.props;
---

<li class="relative">
<Dropdown class="group">
<DropdownContainer class="group">
<button
class="flex items-center gap-1 w-full lg:w-auto lg:px-3 py-2 text-gray-600 hover:text-gray-900">
<span>{title}</span>
Expand Down Expand Up @@ -43,5 +43,5 @@ const { title, lastItem, children } = Astro.props;
</div>
</div>
</DropdownItems>
</Dropdown>
</DropdownContainer>
</li>
1 change: 0 additions & 1 deletion src/layouts/BlogLayout.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
import Container from "@components/container.astro";
import { getFormattedDate } from "@utils/all";
import { log } from "astro/dist/core/logger/core";
import Layout from "./Layout.astro";
const { frontmatter } = Astro.props;
Expand Down
6 changes: 1 addition & 5 deletions src/pages/404.astro
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
import { Icon } from "astro-icon";
import Layout from "@layouts/Layout.astro";
import Container from "@components/container.astro";
import Sectionhead from "@components/sectionhead.astro";
import Button from "@components/ui/button.astro";
import Contactform from "@components/contactform.astro";
import Layout from "@layouts/Layout.astro";
---

<Layout title="404 Not Found">
Expand Down
7 changes: 3 additions & 4 deletions src/pages/contact.astro
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
import { Icon } from "astro-icon";
import Layout from "@layouts/Layout.astro";
import Contactform from "@components/contactform.astro";
import Container from "@components/container.astro";
import Sectionhead from "@components/sectionhead.astro";
import Button from "@components/ui/button.astro";
import Contactform from "@components/contactform.astro";
import Layout from "@layouts/Layout.astro";
import { Icon } from "astro-icon";
---

<Layout title="Contact">
Expand Down
10 changes: 5 additions & 5 deletions src/pages/pricing.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import Layout from "@layouts/Layout.astro";
import Container from "@components/container.astro";
import Sectionhead from "@components/sectionhead.astro";
import Pricing from "@components/pricing.astro";
import PricingCard from "@components/pricing.astro";
const pricing = [
{
Expand Down Expand Up @@ -68,13 +68,13 @@ const pricing = [
<Container>
<Sectionhead>
<Fragment slot="title">Pricing</Fragment>
<Fragment slot="desc"
>Simple & Predictable pricing. No Surprises.</Fragment
>
<Fragment slot="desc">
Simple & Predictable pricing. No Surprises.
</Fragment>
</Sectionhead>

<div class="grid md:grid-cols-3 gap-10 mx-auto max-w-screen-lg mt-12">
{pricing.map((item) => <Pricing plan={item} />)}
{pricing.map((item) => <PricingCard plan={item} />)}
</div>
</Container>
</Layout>

1 comment on commit 420edd1

@vercel
Copy link

@vercel vercel bot commented on 420edd1 Aug 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.