mirror of
https://github.com/audacity/audacity.github.io.git
synced 2026-04-17 08:45:44 -05:00
Set up new blog structure
This commit is contained in:
BIN
src/content/blog/audacity-3.3.png
Normal file
BIN
src/content/blog/audacity-3.3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 272 KiB |
BIN
src/content/blog/beats-and-bars.png
Normal file
BIN
src/content/blog/beats-and-bars.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 107 KiB |
22
src/content/blog/blog1.md
Normal file
22
src/content/blog/blog1.md
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
title: Audacity 3.3
|
||||
author: Leo Wattenberg
|
||||
description: A lot of our work has been focused on getting Audacity ready for a version 4. As such, a lot of under-the-hood work has been happening - in technical terms - reducing dependency on wxWidgets, library extractions and general refactoring. This work will continue for the next few releases in parallel with feature development.
|
||||
cover: "./audacity-3.3.png"
|
||||
coverAlt: "A picture of Audacity 3.3"
|
||||
publishDate: 2023-04-02
|
||||
draft: false
|
||||
---
|
||||
|
||||

|
||||
A lot of our work has been focused on getting Audacity ready for a version 4. As such, a lot of under-the-hood work has been happening - in technical terms - reducing dependency on wxWidgets, library extractions and general refactoring. This work will continue for the next few releases in parallel with feature development.
|
||||
|
||||
By and large Audacity 3.3 is a quiet update, with most of the work being done under the hood. Some noteworthy changes:
|
||||
|
||||
* Some built-in effects are realtime capable now
|
||||
* A new **Shelf Filter** effect has been added, it’s in the EQ & Filters category
|
||||
* An initial (beta) version of a [beats and measures](https://support.audacityteam.org/music/aligning-music-to-beats-and-measures) feature has been added, you can enable it via View → Toolbars → Time Signature Toolbar (beta), then right-clicking the timeline to change to beats and measures, and then changing the snapping and time and selection toolbar clocks to a beats format.
|
||||
* A new vertical ruler (**Linear (dB)**) has been added, you can enable it by right-clicking on the vertical ruler.
|
||||
* **Project Rate** has been moved to the Audio Setup button → Audio Settings and renamed Project Sample Rate.
|
||||
|
||||
More changes can be found in the changelog: [Audacity 3.3 – Audacity Support](https://support.audacityteam.org/additional-resources/changelog/audacity-3.3)
|
||||
19
src/content/blog/blog2.md
Normal file
19
src/content/blog/blog2.md
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
title: Our new website
|
||||
author: Leo Wattenberg
|
||||
description: audacityteam.org now has a new look!
|
||||
cover: "./beats-and-bars.png"
|
||||
coverAlt: "A picture of Audacity 3.3"
|
||||
publishDate: 2023-08-03
|
||||
draft: false
|
||||
---
|
||||
|
||||
Hello everyone!
|
||||
|
||||
This is a quick note to let you know we updated our website. Audacity itself will get a new look soon-ish as well, though that is a herculean task which is better measured in years than weeks.
|
||||
|
||||
This new website no longer uses Wordpress, opting for a much more lightweight static site generator instead. Additionally, things have been slimmed down a bit. Old posts got [archived](https://archive.org/details/posts.audacity.WordPress.2023-09-11) and the page structure has been consolidated. If you encounter any issues or have suggestions for this website in particular, feel free to raise an issue [on Github](https://github.com/audacity/audacity.github.io/issues).
|
||||
|
||||
In the future, we want to translate this website into more languages, too. We'll let you know when we're opening up translations here. In the meantime, you can get involved in [translating Audacity](https://support.audacityteam.org/community/contributing/translating) if translation is your thing. If you'd rather help other users, you can do so in our [Forum](https://forum.audacityteam.org/) (which also has a new look as of earlier this year) or [on Discord](https://discord.gg/audacity).
|
||||
|
||||
And that's it! Let us know what you think!
|
||||
BIN
src/content/blog/our-new-website.jpg
Normal file
BIN
src/content/blog/our-new-website.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
21
src/content/config.ts
Normal file
21
src/content/config.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
// 1. Import utilities from `astro:content`
|
||||
import { z, defineCollection } from 'astro:content';
|
||||
|
||||
// 2. Define a `type` and `schema` for each collection
|
||||
const blogCollection = defineCollection({
|
||||
type: 'content', // v2.5.0 and later
|
||||
schema: ({image}) => z.object({
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
author: z.enum(["Dawson Custons-Cole", "Leo Wattenberg"]),
|
||||
cover: image(),
|
||||
coverAlt: z.string(),
|
||||
publishDate: z.date(),
|
||||
draft: z.boolean()
|
||||
}),
|
||||
});
|
||||
|
||||
// 3. Export a single `collections` object to register your collection(s)
|
||||
export const collections = {
|
||||
'blog': blogCollection,
|
||||
};
|
||||
26
src/pages/blog/[slug].astro
Normal file
26
src/pages/blog/[slug].astro
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
import { getCollection } from "astro:content";
|
||||
import BaseLayout from "../../layouts/BaseLayout.astro";
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const publishedBlogPosts = await getCollection("blog");
|
||||
return publishedBlogPosts.map((post) => ({
|
||||
params: { slug: post.slug },
|
||||
props: { post },
|
||||
}));
|
||||
}
|
||||
|
||||
const { post } = Astro.props;
|
||||
const { Content } = await post.render();
|
||||
---
|
||||
|
||||
<BaseLayout title="Audacity | ">
|
||||
<article class="prose prose-xl mx-auto my-12">
|
||||
<div class="flex flex-col gap-2 border-b pb-6">
|
||||
<h2 class="mb-0">{post.data.title}</h2>
|
||||
<p class="mb-0">By {post.data.author}</p>
|
||||
<small>{post.data.publishDate}</small>
|
||||
</div>
|
||||
<Content />
|
||||
</article>
|
||||
</BaseLayout>
|
||||
@@ -2,6 +2,8 @@
|
||||
"extends": "astro/tsconfigs/strict",
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx",
|
||||
"jsxImportSource": "react"
|
||||
"jsxImportSource": "react",
|
||||
"strictNullChecks": true,
|
||||
"allowJs": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user