Skip to content

Commit 47a5522

Browse files
committed
chore: align docs and code with vite spa runtime
1 parent 500c3c5 commit 47a5522

15 files changed

Lines changed: 23 additions & 13 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ A modern, responsive portfolio website built with React, Vite, Tailwind CSS, and
3636

3737
```
3838
/
39-
├── actions/ # Server actions (if using Next.js features, though this is a Vite app)
39+
├── actions/ # Client-triggered action handlers used by the SPA
4040
├── api/ # API related files
4141
├── app/ # Main application pages and layouts
4242
│ ├── admin/ # Admin dashboard components
@@ -57,6 +57,7 @@ A modern, responsive portfolio website built with React, Vite, Tailwind CSS, and
5757
│ ├── api.ts # API service functions for data fetching
5858
│ ├── database.types.ts # TypeScript definitions for Supabase tables
5959
│ └── ...
60+
├── experimental/ # Archived or optional modules not used in current production runtime
6061
├── public/ # Static assets
6162
└── ...
6263
```

app/admin.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use client';
21

32
import React, { useState } from 'react';
43
import { useNavigate } from 'react-router-dom';

app/login.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use client';
21

32
import React, { useEffect } from 'react';
43
import { useNavigate } from 'react-router-dom';

app/page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use client';
21

32
import React, { useState, useEffect, useRef } from 'react';
43
import { useQuery } from '@tanstack/react-query';

app/privacy.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use client';
21

32
import React from 'react';
43
import { Navbar } from '../components/Navbar';

app/project-detail.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use client';
21

32
import React from 'react';
43
import { useQuery } from '@tanstack/react-query';

app/terms.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use client';
21

32
import React from 'react';
43
import { Navbar } from '../components/Navbar';

components/ContactForm.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use client';
21

32
import React, { useState, useRef, useEffect, useCallback } from 'react';
43
import { useMutation, useQueryClient } from '@tanstack/react-query';

components/ImageCarousel.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use client';
21

32
import React, { useState } from 'react';
43
import { ChevronLeft, ChevronRight } from 'lucide-react';

components/Navbar.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use client';
21

32
import React, { useState } from 'react';
43
import { Menu, X, Sun, Moon } from 'lucide-react';

0 commit comments

Comments
 (0)