Skip to content

torresh79/testsite

Repository files navigation

📸 Astro Photography Portfolio Template

Build & Test

A modern, fast, and highly customizable photography portfolio template built with Astro. Ideal for photographers who want to showcase their work through a sleek, performant, and professional website.

👉 View the demo

✨ Features

  • Lightning-fast performance with Astro
  • Fully responsive design
  • Optimized image loading and handling
  • Easy to customize
  • Easy to organized gallery via a yaml file
  • Multiple albums support
  • Image zoom capabilities
  • Automatic deployment to GitHub pages
  • Script to automatically create a gallery from images

🚀 Getting Started

Prerequisites

  • Check AstroJS documentation for prerequisites
  • Basic knowledge of Astro and web development

Installation

  1. click "Use this template" on GitHub
  2. Clone your newly created template
  3. Install dependencies:
npm install
# or
yarn install
  1. Start the development server:
npm run dev
# or
yarn dev

📝 Make it your own

Configuration

Edit the astro.config.ts file to update your github pages details:

export default defineConfig({
  site: '<github pages domain>',
  base: '<repository name>',
  // ...
});

Edit the site.config.mts file to update your personal information:

export default {
  title: 'SR',
  favicon: 'favicon.ico',
  owner: 'Sara Richard',
  // ... Other configurations
};

Customize site icon

Replace public/favicon.ico with your icon and change the configuration if your file has a different name/location.

Customize the About page

Adding Your Photos

  1. Place your images in the src/gallery/<album> directory
  2. Update the gallery details in src/gallery/gallery.yaml. Optionally, you can run npm run generate to generate a gallery.yaml file from the images in the directory.
  3. Update meta-data for images in the src/gallery/gallery.yaml file.
  4. Images are automatically optimized during build

Adding photos to the featured section

"featured" is a builtin collection, and images can be added to it by specifying it in the collections parameter like any other collection.

🛠️ Built With

⚙️ Provided GitHub actions

📄 License

This project is licensed under the MIT License, see the LICENSE file for details.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request or an Issue.

💖 Support

If you find this template useful, please consider giving it a ⭐️ on GitHub!

📧 Contact

About

Es la prueba de un sitio gratuito y estático pensado para porfolio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors