Skip to content

Commit

Permalink
Fixed some issues with the cache
Browse files Browse the repository at this point in the history
  • Loading branch information
IMXNOOBX committed Apr 2, 2024
1 parent 22892fe commit 8b366d2
Show file tree
Hide file tree
Showing 4 changed files with 451 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ CACHE_TIME=86400 # 1 day
MIN_SCREEN_SIZE=200 # Minimum screen size for the application

# API settings
API_URL=https://api.github.com
API_URL=https://api.github.com

# Public Domain
DOMAIN=https://imxnoobx.com # Where the application is hosted
11 changes: 11 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
NEXT_PUBLIC_GITHUB_USERNAME=IMXNOOBX # Your GitHub username

# General settings
CACHE_TIME=86400 # 1 day
MIN_SCREEN_SIZE=200 # Minimum screen size for the application

# API settings
API_URL=https://api.github.com

# Public Domain
DOMAIN=https://imxnoobx.com # Where the application is hosted
9 changes: 7 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Inter } from "next/font/google";
import Layout from "./components/layout";
import Navbar from "./components/navbar";
import Watermark from "./components/utils/Watermark";
import Favicon from '@/app/favicon.ico'
import "./globals.css";

const inter = Inter({ subsets: ["latin"] });
Expand All @@ -16,8 +17,12 @@ export const metadata: Metadata = {
}],
description: "Dive into my universe of pojects in my portfolio.",
twitter: {
title: "Universe",
images: [ { url: "https://opengraph.githubassets.com/1/IMXNOOBX/my-universe" } ]
title: "Universe",
card: "summary",
images: [
{ url: process.env.DOMAIN + '/favicon.ico' },
{ url: "https://opengraph.githubassets.com/1/IMXNOOBX/my-universe" },
]
},
authors: [{ name: "@IMXNOOBX", url: "https://github.com/IMXNOOBX" }],
};
Expand Down
Loading

0 comments on commit 8b366d2

Please sign in to comment.