Skip to content

v0.4.2

Choose a tag to compare

@furkanural furkanural released this 06 Mar 12:54
· 34 commits to main since this release
2eaf45a

Breaking Changes

  • hero block removed: Sayfa.Blocks.Hero has been removed from the built-in block registry. The default home layout no longer renders a hero section — site title and description are already visible in the header, so the hero was redundant.

    Migration: Replace any @block.(:hero, ...) calls in custom layouts with content from your index.md body or implement a custom block. The .home-hero-section and .hero-subtitle CSS classes are also removed from the default theme.

Details

  • Deleted lib/sayfa/blocks/hero.ex
  • Updated priv/default_theme/layouts/home.html.eex: removed hero section, index.md content now has full top spacing via section-spacing-lg
  • Removed .home-hero-section and .hero-subtitle from default theme CSS
  • Block count updated from 17 → 16 throughout docs and scaffolding templates
  • gen.block example updated from MyApp.Blocks.Hero to MyApp.Blocks.Banner

Full Changelog: v0.4.1...v0.4.2