Skip to content

moatkon/links

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

51 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AstroLinks - Updated to v5.5.5

Astrolinks Demo Video

A minimalist link-in-bio template for all your social media links, built with Astro v5.5.5, Tailwind CSS and hosted on GitHub Pages.

This customized Astro starter kit includes Tailwind CSS, Astro Icon support, a light and dark mode toggle and the Typewriter effect, with automated deployment to GitHub Pages.

For more details on how I built this, check out the blog.

Live Project Via GitHub Pages

https://jperez00.github.io/astrolinks/

Features

  • Astro + Tailwind: Integrated Tailwind for utility-first styling.
  • Light & Dark mode toggle: Integrated darkclass from Tailwind.
  • Layout & Components: Created a reusable Layout.astro and a separate index.astro page.
  • Icons: Used astro-icon to import icons, including local SVGs in src/icons/.
  • GitHub Pages Deployment: Configured astro.config.mjs with site and base settings, and added a GitHub Actions workflow (.github/workflows/deploy.yml) to deploy the site to GitHub Pages.
  • Typewriter effect: Using React components in Astro, thanks to @astrojs/react.

Project Structure

/
β”œβ”€β”€ public/
β”‚   └── favicon.svg
β”‚   └── portrait.webp
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   └── Footer.astro
β”‚   β”‚   └── TypewriterText.tsx
β”‚   β”‚   └── ToggleTheme.tsx
β”‚   β”œβ”€β”€ icons/
β”‚   β”‚   └── github.svg
β”‚   β”‚   └── linkedin.svg
β”‚   β”‚   └── terminal.svg
β”‚   β”‚   └── twitter.svg
β”‚   β”‚   └── instagram.svg
β”‚   β”œβ”€β”€ layouts/
β”‚   β”‚   └── Layout.astro
β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   └── index.astro
β”‚   └── styles/
β”‚       └── global.css
└── package.json

To learn more about the folder structure of an Astro project, refer to this guide on project structure.

🧞 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 astro ... Run CLI commands like astro add, astro check
npm run astro -- --help Get help using the Astro CLI

πŸ‘€ Want to learn more?

Feel free to check the Astro documentation.

About

ι“ΎζŽ₯πŸ”— | links.moatkon.com

Resources

License

Stars

Watchers

Forks

Languages

  • Astro 59.5%
  • TypeScript 22.0%
  • Shell 14.1%
  • JavaScript 3.4%
  • CSS 1.0%