GithubHelp home page GithubHelp logo

isooosi / astroverse Goto Github PK

View Code? Open in Web Editor NEW
64.0 2.0 20.0 6.23 MB

An Astro theme tailored for impactful image-text blogging, ideal for content creators.

Home Page: https://astroverse.inote.xyz

License: MIT License

JavaScript 10.00% Astro 77.53% TypeScript 8.11% MDX 4.36%
astro astro-themes blog astrojs blog-template blog-theme jamstack static theme astro-theme

astroverse's Introduction

🌍Language Versions / 语言版本

🇺🇸English 🇨🇳中文

🚀 AstroVerse: An Astro Theme for Visual Storytelling

AstroVerse is an Astro theme tailored for captivating photo-text storytelling.

It seamlessly merges visuals and written content, empowering creators to deliver compelling narratives with high-impact imagery.

Ideal for bloggers and content creators seeking to make their stories stand out through the fusion of striking visuals and engaging prose, AstroVerse provides a platform to create immersive and influential digital experiences.

AstroVerse Screenshot

💯Lighthouse Score

AstroVerse Lighthouse Score

🎉 Features

  • ✅ Powered by Astro
  • ✅ Development with Tailwind CSS and Preline UI
  • ✅ Fully Responsive Design
  • ✅ Perfect 100/100 Lighthouse Performance Score
  • ✅ SEO Optimized
  • ✅ Inbuilt Site Search
  • ✅ Sitemap and RSS Feed Support
  • ✅ Markdown & MDX Ready
  • ✅ Tag Statistics and Last Modified Time Display
  • ✅ Optimized Image Handling
  • ✅ Automatic Dark Mode Switching
  • ✅ Pagination for Easy Navigation
  • ✅ Code formatted with Prettier in one click

🎡 Live demo

Experience AstroVerse in action.

🌆 Showcase

Share your project built with AstroVerse! Open an issue titled "Showcase Submission" with your project's details to be featured in our Showcase.

💻 Running Locally

Recommended extensions for VSCode:

  1. Fork or use this template

  2. Install dependencies:

pnpm install
  1. Run the development server:
pnpm run dev

📄 Adding a post

Adding a post is as simple as adding a .md or .mdx file to the blog folder at the path src/content/posts.

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:4321
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run format Code formatter using prettier

🔧Configuration

Basic configuration file: ./src/consts.ts

// Place any global data in this file.
// You can import this data from anywhere in your site by using the `import` keyword.

// Base Page Metadata, src/layouts/BaseLayout.astro
export const BRAND_NAME = "AstroVerse";
export const SITE_TITLE = "AstroVerse";
export const SITE_DESCRIPTION = "An Astro Theme for Visual Storytelling";

// Tags Page Metadata, src/pages/tags/index.astro
export const Tags_TITLE = "AstroVerse - All Tags";
export const Tags_DESCRIPTION =
  "AstroVerse - All tags and the count of articles related to each tag";

// Tags Page Metadata, src/pages/tags/[tag]/[page].astro
export function getTagMetadata(tag: string) {
  return {
    title: `All articles on '${tag}' tag in AstroVerse`,
    description: `Explore articles about ${tag} for different perspectives and in-depth analysis.`,
  };
}

// Category Page Metadata, src/pages/category/[category]/[page].astro
export function getCategoryMetadata(category: string) {
  return {
    title: `All articles in '${category}' category in AstroVerse`,
    description: `Browse all articles under the ${category} category in AstroVerse`,
  };
}

// Header Links, src/components/Header.astro
export const HeaderLinks = [
  { href: "/category/One/1/", title: "One" },
  { href: "/category/Two/1/", title: "Two" },
  { href: "/category/Three/1/", title: "Three" },
];

// Footer Links, src/components/Footer.astro
export const FooterLinks = [
  { href: "/posts/why-astro/", title: "Astro" },
  { href: "/posts/tailwind-typography/", title: "Tailwind" },
  { href: "/tags/", title: "Tags" },
];

// Social Links, src/components/Footer.astro
export const SocialLinks = [
  { href: "/rss.xml", icon: "tabler:rss", label: "RSS" },
  {
    href: "https://twitter.com/astrodotbuild",
    icon: "tabler:brand-twitter",
    label: "Twitter",
  },
  {
    href: "https://github.com/isooosi",
    icon: "tabler:brand-github",
    label: "GitHub",
  },
];

// Search Page Metadata, src/pages/search.astro
export const SEARCH_PAGE_TITLE = `${SITE_TITLE} - Site Search`;
export const SEARCH_PAGE_DESCRIPTION = `Search all content on ${SITE_TITLE}`;

Deployment

Click the button below to start deploying your project on Vercel:

Deploy to Vercel

✨ Join and Contribute

Your contributions make AstroVerse better! Whether it's through code, design, bug reports, or feature ideas, we value your input. Check our Issues or submit a Pull Request to get started. Together, let's enhance AstroVerse!

astroverse's People

Contributors

isooosi avatar dependabot[bot] avatar silent1mezzo avatar

Stargazers

Robert McGuinness avatar Faizan gondal avatar  avatar Nikola Hristov avatar Hiep Vu avatar Anthony Dorian avatar  avatar ARATA avatar Atharva avatar Ricardo Daniel González avatar  avatar OJ Kwon avatar Сергей Ворон avatar Christopher Sherrod avatar Dwaipayan Dutta avatar Derick avatar Nikola avatar  avatar Fabian Martinez avatar Banbanlu avatar Christopher Garza avatar Juan Carlos avatar Julien Jung avatar MARCOUX avatar  avatar Absurdities Media Group - Executive Team Accout avatar D0NN1E avatar Casper Strand avatar Justin Roberson avatar HeisenBerg? avatar Kieran Wood avatar Hermann Yakushev avatar Jioh Kim avatar yu avatar Valerii Manchynskyi avatar Nathan avatar Daniel avatar Armando Cesar Martin Calderón avatar Ahmed avatar Sean Goresht avatar Nguyen Long Nhat avatar Hyperoot avatar Tenvi avatar Jorge Mena avatar  avatar Lloyd Atkinson avatar xieyi avatar  avatar Kacper Kwapisz avatar Sajay Prakash avatar Ahamed Bilal avatar Julian avatar Juanma Escudero avatar Ivan avatar codetrotter avatar BobH avatar  avatar  avatar Noisk8 avatar  avatar  avatar Daniel Bahl avatar Alterhuman avatar zhaomeicheng avatar

Watchers

 avatar  avatar

astroverse's Issues

pagination

hello
do you have pagination?
telegram yakushevhk

About cover picture file configuration problem

After reviewing the code, const socialImageURL = new URL(ogImage ? ogImage : '/open-graph. webp', Astro.url).href;The cover image found is a relative path by defaultsrc/images/visvrs1.webp. What if I want to configure absolute addresses such ashttps://www.notion.so/images/page-cover/rijksmuseum_jansz_1649.jpg?

搜索功能无法加载bug

image
只要先点击某个页面的链接,再点击搜索一定出现白屏. f5刷新页面后,搜索功能才能正常

Content duplication

Click the page number button from the first page to the second page, and the content is repeated, for example, the last three items on the first page are also displayed on the second page.
page 1
image
page 2
image

Table of contents

Would be possible to add headings/table of contents to articles on the right?

image

About the document's fields

posts → aliases.md frontmatter does not match collection schema.
pubDate: Required
description: Required
coverAlt: Required
author: Required


Could you change 'description', 'coverAlt', 'author' to a non-required type ?or provide some default values,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.