Skip to content

Commit fc635ae

Browse files
committed
Address review comments
1 parent dc87ef0 commit fc635ae

File tree

4 files changed

+9
-29
lines changed

4 files changed

+9
-29
lines changed

{{cookiecutter.project_slug}}/frontend/app/components/Footer.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import Link from "next/link"
44

5-
const siteName: string = "CompanyName"
5+
const siteName: string = "{{ cookiecutter.project_name }}"
66

77
const githubIcon = () => {
88
return (
@@ -47,11 +47,13 @@ const footerNavigation = {
4747
social: [
4848
{
4949
name: "GitHub",
50+
// TODO: Switch to mongo-labs
5051
href: "https://github.com/whythawk/full-stack-fastapi-postgresql",
5152
icon: githubIcon,
5253
},
5354
{
5455
name: "Mastodon",
56+
// TODO: Switch to mongo-labs?
5557
href: "https://wandering.shop/@GavinChait",
5658
icon: mastodonIcon,
5759
},

{{cookiecutter.project_slug}}/frontend/app/content/privacy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ By using our website, you agree to relinquish all control over your sanity, your
2626

2727
Thank you for choosing [Website Name], where the rules of logic and reality are optional, and the nightmares are free of charge.
2828

29-
\_(Yes, generated by ChatGPT. Replace this with something meaningful.)
29+
\_(TODO)

{{cookiecutter.project_slug}}/frontend/app/lib/utilities/posts.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ import remarkToc from "remark-toc"
88

99
const postsDirectory = path.join(process.cwd(), "app/content/blog")
1010

11-
// -------------------------------------------------
12-
// GET THE DATA OF ALL POSTS IN SORTED ORDER BY DATE
13-
/*
14-
Returns an array that looks like this:
11+
/**
12+
* Get the data of all posts in sorted order by date
13+
* @return {List[Object]} Returns an array that looks like this:
1514
[
1615
{
1716
id: 'ssg-ssr',
@@ -24,8 +23,7 @@ const postsDirectory = path.join(process.cwd(), "app/content/blog")
2423
date: '2020-01-02'
2524
}
2625
]
27-
*/
28-
26+
*/
2927
export function getSortedPostsData() {
3028
// Get file names under /posts
3129
const fileNames = fs.readdirSync(postsDirectory) // [ 'pre-rendering.md', 'ssg-ssr.md' ]

{{cookiecutter.project_slug}}/frontend/tailwind.config.ts

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,6 @@
11
import type { Config } from "tailwindcss"
22

3-
// const config: Config = {
4-
// content: [
5-
// './pages/**/*.{js,ts,jsx,tsx,mdx}',
6-
// './components/**/*.{js,ts,jsx,tsx,mdx}',
7-
// './app/**/*.{js,ts,jsx,tsx,mdx}',
8-
// ],
9-
// theme: {
10-
// extend: {
11-
// backgroundImage: {
12-
// 'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
13-
// 'gradient-conic':
14-
// 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
15-
// },
16-
// },
17-
// },
18-
// plugins: [],
19-
// }
20-
// export default config
21-
22-
/** @type {import("tailwindcss").Config} */
23-
const colors = require("tailwindcss/colors")
3+
const colors: import("tailwindcss").Config = require("tailwindcss/colors")
244
module.exports = {
255
content: [
266
"./pages/**/*.{js,ts,jsx,tsx,mdx}",

0 commit comments

Comments
 (0)