Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
a711d69
feat: Added Faust.js Showcase page with responsive grid layout and ex…
Fran-A-Dev Oct 23, 2024
8d033a4
Fix: Align showcase card title section and apply solid background
Fran-A-Dev Oct 28, 2024
5c5f426
refactor: removing WP integration
moonmeister Oct 28, 2024
0e00637
fix: oops on showcase
moonmeister Oct 28, 2024
75a90bd
feat: add new link component
moonmeister Oct 28, 2024
cfc37c9
refactor: move site to use new custom link component
moonmeister Oct 28, 2024
a3e3d5c
fix: MDX links going to wrong places
moonmeister Oct 28, 2024
5556b76
feat: add new link to new showcase
moonmeister Oct 28, 2024
c580a18
fix: remove external link icon from social icons, add proper title fo…
moonmeister Oct 28, 2024
424a3f7
Wrap normalization styles in @layer base
colorful-tones Oct 30, 2024
e5ec02c
Add new utility class .container-main
colorful-tones Oct 30, 2024
cd580ca
Remove <main> element from layout.js
colorful-tones Oct 30, 2024
414e891
Convert docs layout to container-main wrapper class
colorful-tones Oct 30, 2024
418ddd7
Convert blog layout to container-main wrapper class
colorful-tones Oct 30, 2024
de98236
Convert showcase layout to container-main wrapper class
colorful-tones Oct 30, 2024
3c5ab99
Add hero-gradient as custom theme extension
colorful-tones Oct 31, 2024
a10efe5
Add hero section to home page
colorful-tones Oct 31, 2024
58352d1
Switch div to main and section elements
colorful-tones Oct 31, 2024
c0ea307
Wrap Faust logo in link
colorful-tones Oct 31, 2024
991c3df
Increase space between Faust logo and "Faust" text in header
colorful-tones Oct 31, 2024
4be4346
Add home page feature sections w/ styling
colorful-tones Oct 31, 2024
48373b5
Remove vertical margin from .container-main
colorful-tones Oct 31, 2024
af0cdd5
Add vertical margin to Blog, Showcase, Doc layout
colorful-tones Oct 31, 2024
c677365
minor change form div to main html element for proper semantic html
Fran-A-Dev Oct 31, 2024
abd62da
feat: Integration of search functionality with custom indexing and me…
Fran-A-Dev Oct 25, 2024
0ceedfc
Merge branch 'toolkit' into smart-search-nextjs-plugin
moonmeister Nov 1, 2024
ae4b55a
feat: implement split API routes for MDX and WP search, refactor Sear…
moonmeister Nov 1, 2024
cc87296
changes added
Fran-A-Dev Oct 30, 2024
5342c91
Update search bar code
kellenmace Nov 1, 2024
fbd0b23
Restore husky precommit hooks 🙃
kellenmace Nov 1, 2024
356a85a
Implement search feature using Downshift
kellenmace Nov 5, 2024
4145856
fix: various bugs and cleanup
moonmeister Nov 6, 2024
6e93864
added next router to navigate to pages, took out next/link and used g…
Fran-A-Dev Nov 6, 2024
a72442d
added next/link component back into it wrapping it in the list element
Fran-A-Dev Nov 7, 2024
a80d88f
Merge branch 'toolkit' into smart-search-nextjs-plugin-copy
Fran-A-Dev Nov 7, 2024
5bce80a
Save progress before merging toolkit into search-bar.jsx
Fran-A-Dev Nov 8, 2024
27fd630
Merge branch 'toolkit' into smart-search-nextjs-plugin
Fran-A-Dev Nov 8, 2024
7df10af
added clear search input when repopening modal, adjusted placement of…
Fran-A-Dev Nov 8, 2024
5809dcc
added ES lint fixes
Fran-A-Dev Nov 8, 2024
d8d401b
Merge branch 'toolkit' into smart-search-nextjs-plugin
Fran-A-Dev Nov 8, 2024
67ac8f4
Regenerate package-lock.json to resolve merge conflicts
Fran-A-Dev Nov 11, 2024
26b8d2f
updated and resolved package lock
Fran-A-Dev Nov 12, 2024
dde869d
Resolve merge conflict in package-lock.json
Fran-A-Dev Nov 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"cSpell.words": [
"combobox",
"faustwp",
"heroicons",
"Kevinbatdorf",
"rehype",
"shiki",
"shikijs",
"sindresorhus",
"stylesheet",
"tailwindcss"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Frontend for the [faustjs.org](https://faustjs.org/) website.
Linting - checks for potential errors and code style. i.e. eslint
Formatting - checks for spaces, line length, etc. i.e prittier

Both are run agaist staged files on commit. If it's failing for a good reaason and you need to bypass you can use the `--no-verify` or `-n` flag. `git commit -nm "my message"`
Both are run against staged files on commit. If it's failing for a good reaason and you need to bypass you can use the `--no-verify` or `-n` flag. `git commit -nm "my message"`

## Documentation Docs

Expand Down
14 changes: 14 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { env } from "node:process";
import { withFaust, getWpHostname } from "@faustwp/core";
import createMDX from "@next/mdx";
import { transformerNotationDiff } from "@shikijs/transformers";
import { createSecureHeaders } from "next-secure-headers";
import rehypeMdxImportMedia from "rehype-mdx-import-media";
import { rehypePrettyCode } from "rehype-pretty-code";
import rehypeSlug from "rehype-slug";
import smartSearchPlugin from "./src/lib/smart-search-plugin.mjs";

/**
* @type {import('next').NextConfig}
Expand Down Expand Up @@ -51,6 +53,18 @@ const nextConfig = {
},
];
},
webpack: (config, { isServer }) => {
if (isServer) {
config.plugins.push(
smartSearchPlugin({
endpoint: env.NEXT_PUBLIC_SEARCH_ENDPOINT,
accessToken: env.NEXT_SEARCH_ACCESS_TOKEN,
}),
);
}

return config;
},
};

const withMDX = createMDX({
Expand Down
Loading