Skip to content

Commit

Permalink
🫧 Refactored codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ShafSpecs committed Jan 26, 2024
1 parent ac8436f commit 426f415
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function Index() {
</section>
<section className="lg:pb-18 relative px-4 pb-8 pt-16 sm:px-6 sm:pb-14 sm:pt-24 lg:px-8 lg:pt-32">
<h1 className="select-none overflow-hidden text-center text-7xl font-medium sm:text-6xl lg:text-8xl">
<span className="font-space block pb-2 pr-2 text-center uppercase text-white drop-shadow-md">
<span className="block pb-2 pr-2 text-center font-space uppercase text-white drop-shadow-md">
<span className="text-center">Journal&nbsp;</span>
<span className="block h-full bg-gradient-to-tr from-indigo-500 to-sky-300 bg-clip-text pb-1 pr-1 text-center text-transparent dark:from-indigo-500 dark:to-sky-300 sm:inline sm:pb-0">
Stack
Expand Down
6 changes: 3 additions & 3 deletions app/utils/server/doc.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const getParsedMetadata = async (tag: string) => {
}

const promise = await s3.getObject({
Bucket: process.env.AWS_BUCKET_NAME || '',
Bucket: process.env.AWS_S3_BUCKET || '',
Key: `posts/${tag}/metadata.json`,
})

Expand Down Expand Up @@ -130,7 +130,7 @@ export const getPostContent = async (tag: string, slug: string) => {
}

const promise = await s3.getObject({
Bucket: process.env.AWS_BUCKET_NAME || '',
Bucket: process.env.AWS_S3_BUCKET || '',
Key: `posts/${tag}/${
slug === '/' ? '_index' : `${metadata.paths[stripTrailingSlashes(slug)]}`
}.mdx`,
Expand Down Expand Up @@ -177,7 +177,7 @@ export const getVersions = async () => {
}

const promise = await s3.getObject({
Bucket: process.env.AWS_BUCKET_NAME || '',
Bucket: process.env.AWS_S3_BUCKET || '',
Key: 'posts/versions.json',
})

Expand Down

0 comments on commit 426f415

Please sign in to comment.