Skip to content

AstroPie is a free restaurant theme for Astro sites

Notifications You must be signed in to change notification settings

wpinfusion/AstroPie

Repository files navigation

AstroPie

AstroPie is a free theme for the Astro framework, designed to provide a beautiful and functional starting point for your next restaurant or bistro website. Whether you're running an Italian restaurant, a cozy bistro, or any other type of dining establishment, AstroPie has you covered with its clean design and easy-to-use components.

🌟 About AstroPie

AstroPie is perfect for restaurant owners, developers, and designers who want to quickly set up a stylish and responsive website. It leverages modern web technologies to ensure a smooth and performant user experience.

🛠️ Technologies Used

  • Astro: The core framework for building fast, content-focused websites.
  • TailwindCSS: A utility-first CSS framework for rapid UI development.
  • Alpine.js: A lightweight JavaScript framework for adding interactivity.
  • Swiper: A modern slider library for creating responsive sliders.
  • GLightbox: A pure JavaScript lightbox for displaying images and videos.

🚀 Installation and Deployment

To get started with AstroPie, follow these steps:

  1. Clone AstroPie:

    git clone https://github.com/wpinfusion/AstroPie.git
  2. Install Dependencies:

    npm install
  3. Run Development Server:

    npm run dev
  4. Build for Production:

    npm run build

📂 Project Structure

Inside of your AstroPie project, you'll see the following folders and files:

/
├── public/
│   └── favicon.svg
├── src/
│   ├── assets/
│   ├── components/
│   ├── layouts/
│   │   └── Layout.astro
│   ├── pages/
│   │   ├── index.astro
│   │   ├── about-us.astro
│   │   ├── menu.astro
│   │   ├── gallery.astro
│   │   ├── contact.astro
│   │   └── book.astro
│   └── styles/
└── package.json

📄 Premade Pages

  • Home: index.astro
  • About Us: about-us.astro
  • Menu: menu.astro
  • Gallery: gallery.astro
  • Contact: contact.astro
  • Book a Table: book.astro

🧩 Available Components

  • Article: Article.astro
  • Badge: Badge.astro
  • Button: Button.astro
  • ButtonCallUs: ButtonCallUs.astro
  • Card: Card.astro
  • Footer: Footer.astro
  • FormBook: FormBook.astro
  • FormContact: FormContact.astro
  • Grid: Grid.astro
  • Header: Header.astro
  • Heading: Heading.astro
  • Hero: Hero.astro
  • Menu: Menu.astro
  • ReviewSlider: ReviewSlider.astro
  • Section: Section.astro
  • WideImage: WideImage.astro

📚 Component Documentation

Article

A component for displaying articles.

<Article contain={true}>
  <h1>Title</h1>
  <p>Content goes here...</p>
</Article>

Badge

A component for displaying badges.

<Badge color="green" title="New" />

Button

A component for displaying buttons.

<Button color="green" url="/contact">Contact Us</Button>

ButtonCallUs

A component for displaying a call-to-action button.

<ButtonCallUs />

Card

A component for displaying cards.

<Card>
  <h2>Card Title</h2>
  <p>Card content goes here...</p>
</Card>

Footer

A component for displaying the footer.

<Footer />

FormBook

A component for displaying a booking form.

<FormBook />

FormContact

A component for displaying a contact form.

<FormContact />

Grid

A component for displaying a grid layout.

<Grid>
  <div slot="grid-content-1">Content 1</div>
  <div slot="grid-content-2">Content 2</div>
  <div slot="grid-content-3">Content 3</div>
</Grid>

Header

A component for displaying the header.

<Header />

Heading

A component for displaying headings.

<Heading>
  <h1 slot="heading-title">Title</h1>
  <p slot="heading-content">Content goes here...</p>
</Heading>

Hero

A component for displaying the hero section.

<Hero>
  <div slot="hero-content-left">Left Content</div>
  <div slot="hero-content-right">Right Content</div>
</Hero>

Menu

A component for displaying a menu.

<Menu />

ReviewSlider

A component for displaying a review slider.

<ReviewSlider />

Section

A component for displaying a section.

<Section>
  <p>Section content goes here...</p>
</Section>

WideImage

A component for displaying a wide image.

<WideImage src={importedImage} alt="alt description" />

👀 Stuck?

If you have any questions or need help with AstroPie, feel free to reach out to me at [email protected], or open an issue on the AstroPie GitHub repository

About

AstroPie is a free restaurant theme for Astro sites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published