Skip to content

Commit

Permalink
Refactor FrameButton component to update close button styling and add…
Browse files Browse the repository at this point in the history
… support for displaying full changelog
  • Loading branch information
Adammatthiesen committed Dec 22, 2024
1 parent faa970f commit 83ab56f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/studiocms/src/utils/changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const changelogHelper = defineUtility('astro:config:setup')(async (params
const changelog = loadChangelog(resolve('../../CHANGELOG.md'));

// Generate markdown output
const output: string[] = [];
const output: string[] = ['# Release Notes'];

const ast: Root = {
type: 'root',
Expand Down Expand Up @@ -46,7 +46,7 @@ export const changelogHelper = defineUtility('astro:config:setup')(async (params
ast.children.push({
type: 'heading',
depth: 2,
children: [{ type: 'text', value: `Release Notes: ${latestVersion.version}` }],
children: [{ type: 'text', value: `${latestVersion.version}` }],
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const { link } = Astro.props;

frameContent.innerHTML = `
<h1>Full Changelog</h1>
<a href="${link}" target="_blank">Read more on GitHub</a>
<a href="${link}" target="_blank">See on GitHub</a>
${jsonRes.changelog}
`;

Expand Down

0 comments on commit 83ab56f

Please sign in to comment.