Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do some housekeeping #30

Merged
merged 2 commits into from
Aug 10, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix import declaration conflicts
  • Loading branch information
thefathdev committed Aug 5, 2023
commit 7e82a76cfb27c23f928cae8fbbffbd8b0de2894c
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>
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>