Update GitHub repo links and minor cleanup
Changed all GitHub repository references from 'Nutlope/aicommits' to 'nutlope/make-comics' in the navbar and README. Also removed an outdated comment from .gitignore for clarity.
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
/node_modules
|
/node_modules
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ The AI references previous pages as visual reference for coherence and uses char
|
|||||||
|
|
||||||
## Cloning & running
|
## Cloning & running
|
||||||
|
|
||||||
1. Clone the repo: `git clone https://github.com/yourusername/make-comics`
|
1. Clone the repo: `git clone https://github.com/nutlope/make-comics`
|
||||||
2. Create a `.env` file based on `.example.env` and add your API keys:
|
2. Create a `.env` file based on `.example.env` and add your API keys:
|
||||||
- **Together AI API key**: `TOGETHER_API_KEY=<your_together_ai_api_key>`
|
- **Together AI API key**: `TOGETHER_API_KEY=<your_together_ai_api_key>`
|
||||||
- **AWS S3 credentials**: `S3_UPLOAD_KEY`, `S3_UPLOAD_SECRET`, `S3_UPLOAD_BUCKET`, `S3_UPLOAD_REGION`
|
- **AWS S3 credentials**: `S3_UPLOAD_KEY`, `S3_UPLOAD_SECRET`, `S3_UPLOAD_BUCKET`, `S3_UPLOAD_REGION`
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ export function Navbar() {
|
|||||||
async function fetchStars() {
|
async function fetchStars() {
|
||||||
try {
|
try {
|
||||||
const res = await fetch(
|
const res = await fetch(
|
||||||
"https://api.github.com/repos/Nutlope/aicommits",
|
"https://api.github.com/repos/nutlope/make-comics",
|
||||||
{
|
{
|
||||||
headers: {
|
headers: {
|
||||||
Accept: "application/vnd.github+json",
|
Accept: "application/vnd.github+json",
|
||||||
@@ -82,17 +82,17 @@ export function Navbar() {
|
|||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<Link
|
<Link
|
||||||
href="https://github.com/Nutlope/make-comics"
|
href="https://github.com/nutlope/make-comics"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="flex items-center gap-1.5 sm:gap-2 px-2 sm:px-3 py-1.5 glass-panel glass-panel-hover transition-all text-xs rounded-md"
|
className="flex items-center gap-1.5 sm:gap-2 px-2 sm:px-3 py-1.5 glass-panel glass-panel-hover transition-all text-xs rounded-md"
|
||||||
>
|
>
|
||||||
<Github className="w-3.5 h-3.5 sm:w-4 sm:h-4" />
|
<Github className="w-3.5 h-3.5 sm:w-4 sm:h-4" />
|
||||||
<span className="text-muted-foreground text-xs sm:text-sm hidden sm:inline">
|
<span className="text-muted-foreground text-xs sm:text-sm hidden sm:inline">
|
||||||
{stars}
|
{stars}
|
||||||
</span>
|
</span>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
<SignedOut>
|
<SignedOut>
|
||||||
<SignInButton mode="modal">
|
<SignInButton mode="modal">
|
||||||
@@ -104,15 +104,15 @@ export function Navbar() {
|
|||||||
</SignInButton>
|
</SignInButton>
|
||||||
</SignedOut>
|
</SignedOut>
|
||||||
<SignedIn>
|
<SignedIn>
|
||||||
{isOnStoriesPage ? (
|
{isOnStoriesPage ? (
|
||||||
<Link href="/">
|
<Link href="/">
|
||||||
<button className="flex items-center gap-1.5 sm:gap-2 px-2 sm:px-3 py-1.5 bg-white hover:bg-neutral-200 text-black transition-all text-xs rounded-md cursor-pointer font-medium">
|
<button className="flex items-center gap-1.5 sm:gap-2 px-2 sm:px-3 py-1.5 bg-white hover:bg-neutral-200 text-black transition-all text-xs rounded-md cursor-pointer font-medium">
|
||||||
<Plus className="w-3.5 h-3.5 sm:w-4 sm:h-4" />
|
<Plus className="w-3.5 h-3.5 sm:w-4 sm:h-4" />
|
||||||
<span className="text-black text-xs sm:text-sm hidden sm:inline tracking-tight">
|
<span className="text-black text-xs sm:text-sm hidden sm:inline tracking-tight">
|
||||||
Create New
|
Create New
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</Link>
|
</Link>
|
||||||
) : (
|
) : (
|
||||||
<Link href="/stories">
|
<Link href="/stories">
|
||||||
<button className="flex items-center gap-1.5 sm:gap-2 px-2 sm:px-3 py-1.5 glass-panel glass-panel-hover transition-all text-xs rounded-md cursor-pointer">
|
<button className="flex items-center gap-1.5 sm:gap-2 px-2 sm:px-3 py-1.5 glass-panel glass-panel-hover transition-all text-xs rounded-md cursor-pointer">
|
||||||
|
|||||||
Reference in New Issue
Block a user