Skip to content

Releases: AVGVSTVS96/astroSite

v0.4.0

27 Jan 00:32
Compare
Choose a tag to compare

What's Changed

  • Add theme functionality using variables, optimize script logic, update NavBar layout by @AVGVSTVS96 in #18
    • Add theme switcher functionality
      • Add ThemeSwitcher.astro to switch accent color theme using data-theme attribute, add to NavBar.astro
      • Use variables to define accent colors with theme() to access Tailwind color palette
        • Add mix function to tailwind.config.cjs to ensure opacity modifiers work
    • Optimize dark mode ThemeToggle.astro logic
      • Use data-code-theme to set code theme instead of data-theme
      • Modularize script and reduce redundancy
    • Update layout styles
      • Update NavBar.astro, ThemeToggle.astro, and Button.astro margin and padding, use gap for button spacing
      • Update DropdownMenu.astro margin and set menu width to match button width
  • Add schema JSON-LD
    • Add ProfilePage schema to MainLayout.astro
    • Add BlogPosting schema to MDLayout.astro
      • Set schema as const with dynamic values from frontmatter for each blog post
  • Add image to blog2.md
  • Add conditional rendering to Button.astro
    • Render wrapper <a> element only if menu prop isn't passed or is equal to false
    • Pass menu prop to Button.astro in DropdownMenu.astro
  • Conditionally add w-full to DropdownMenu.astro when icon prop isn't passed

Full Changelog: v0.3.0...v0.4.0

v0.3.0

21 Jan 00:37
ccb0e09
Compare
Choose a tag to compare

What's Changed

  • Bump vite from 5.0.10 to 5.0.12 by @dependabot in #12
  • Add color variables, extend core border and text colors, remove prose from h1 by @AVGVSTVS96 in #13
    • Remove prose from h1 headings, create h1 class component to style them
    • Define primary and accent color shades 50-950 in tailwind.config.cjs
      • Use primaryColor and accentColor variables for each shade
    • Extend border and text color core plugin with custom colors
      • Consolidate text colors with text-light, text-dark, and text-muted

Full Changelog: v0.2.2...v0.3.0

v0.2.2

17 Jan 19:53
f817117
Compare
Choose a tag to compare

What's Changed

Add content collection for projects, Projects component, add types, upgrade Astro by @AVGVSTVS96 in #11

  • Add Content Collection for Project data
    • Add two project YAML files
    • Create Projects component and add to Index.astro
    • Update TS config
  • Update Card component
    • Add class and padding props
    • Make default content divs only appear when content is passed to their props
  • Adjust Footer border-t width and decrease margin
  • Update Index.astro styles to display Projects component, set max-w-3xl
  • Add typescript interfaces, update all JS to resolve TS errors by defining types and adding checks
  • Update Dropdown menu bg color for light mode, remove opacity and use slate-100

Full Changelog: v0.2.1...v0.2.2

v0.2.1

15 Jan 23:29
f5c1549
Compare
Choose a tag to compare

What's Changed

  • Add second dropdown for all menu items under 640px, update layout and margins for small screens by @AVGVSTVS96 in #10
    • Update DropdownMenu to use classes instead of IDs for opening and closing, allowing multiple instances of DropdownMenu per page
    • Update script for new classes and add a check to ensure dropdown doesn't close when clicking within it
    • Add Icon prop to Button to display an icon using astro-icon, using name prop to source the icon by it's name
    • Add mx-4 margin on MDLayout.astro for blogs, Card.astro, and Index.astro to add space around elements on small screens
  • Add Astro-Icon 5eab63d
  • Use Astro-Icon for Social.astro, Button.astro, and TableOfContentsHeading.astro
  • Add LinkedIn icon a7172f3 and set icon colors to change depending on light or dark mode 08fab4a
  • Update Navbar.astro styling, match color to bg, update margin and padding

Full Changelog: v0.2.0...v0.2.1

v0.2.0

08 Jan 20:33
3393a7f
Compare
Choose a tag to compare

What's Changed

  • Update tableOfContents branch with changes made in Master by @AVGVSTVS96 in #5
  • Add table of contents to blog pages, update layout by @AVGVSTVS96 in #6
  • Create Dropdown menu, format code by @AVGVSTVS96 in #7
  • Add dark mode, update toc script, add sample blog posts, update styling, update Tailwind config by @AVGVSTVS96 in #9

Full Changelog: v0.1.0...v0.2.0

v0.1.0

18 Dec 20:40
2e221b5
Compare
Choose a tag to compare