├── src
├── index.css
├── App.jsx
└── main.jsx
├── public
├── logo.png
├── favicon.ico
├── postImg.jpeg
├── userImg.jpeg
├── featured1.jpeg
├── featured2.jpeg
├── featured3.jpeg
├── featured4.jpeg
├── facebook.svg
├── delete.svg
└── instagram.svg
├── postcss.config.js
├── vite.config.js
├── tailwind.config.js
├── .gitignore
├── README.md
├── index.html
├── package.json
└── eslint.config.js
/src/index.css:
--------------------------------------------------------------------------------
1 | @tailwind base;
2 | @tailwind components;
3 | @tailwind utilities;
--------------------------------------------------------------------------------
/public/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/safak/full-stack-blog/HEAD/public/logo.png
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/safak/full-stack-blog/HEAD/public/favicon.ico
--------------------------------------------------------------------------------
/public/postImg.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/safak/full-stack-blog/HEAD/public/postImg.jpeg
--------------------------------------------------------------------------------
/public/userImg.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/safak/full-stack-blog/HEAD/public/userImg.jpeg
--------------------------------------------------------------------------------
/public/featured1.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/safak/full-stack-blog/HEAD/public/featured1.jpeg
--------------------------------------------------------------------------------
/public/featured2.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/safak/full-stack-blog/HEAD/public/featured2.jpeg
--------------------------------------------------------------------------------
/public/featured3.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/safak/full-stack-blog/HEAD/public/featured3.jpeg
--------------------------------------------------------------------------------
/public/featured4.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/safak/full-stack-blog/HEAD/public/featured4.jpeg
--------------------------------------------------------------------------------
/postcss.config.js:
--------------------------------------------------------------------------------
1 | export default {
2 | plugins: {
3 | tailwindcss: {},
4 | autoprefixer: {},
5 | },
6 | }
7 |
--------------------------------------------------------------------------------
/src/App.jsx:
--------------------------------------------------------------------------------
1 | const App = () => {
2 | return (
3 |
Hello World
4 | )
5 | }
6 |
7 | export default App
--------------------------------------------------------------------------------
/vite.config.js:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'vite'
2 | import react from '@vitejs/plugin-react'
3 |
4 | // https://vite.dev/config/
5 | export default defineConfig({
6 | plugins: [react()],
7 | })
8 |
--------------------------------------------------------------------------------
/tailwind.config.js:
--------------------------------------------------------------------------------
1 | /** @type {import('tailwindcss').Config} */
2 | export default {
3 | content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
4 | theme: {
5 | extend: {},
6 | },
7 | plugins: [],
8 | };
--------------------------------------------------------------------------------
/src/main.jsx:
--------------------------------------------------------------------------------
1 | import { StrictMode } from 'react'
2 | import { createRoot } from 'react-dom/client'
3 | import './index.css'
4 | import App from './App.jsx'
5 |
6 | createRoot(document.getElementById('root')).render(
7 |
8 |
9 | ,
10 | )
11 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | pnpm-debug.log*
8 | lerna-debug.log*
9 |
10 | node_modules
11 | dist
12 | dist-ssr
13 | *.local
14 |
15 | # Editor directories and files
16 | .vscode/*
17 | !.vscode/extensions.json
18 | .idea
19 | .DS_Store
20 | *.suo
21 | *.ntvs*
22 | *.njsproj
23 | *.sln
24 | *.sw?
25 |
--------------------------------------------------------------------------------
/public/facebook.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # React + Vite
2 |
3 | This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4 |
5 | Currently, two official plugins are available:
6 |
7 | - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
8 | - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
9 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Lama Dev Blog App
8 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "lamadevblogapp",
3 | "private": true,
4 | "version": "0.0.0",
5 | "type": "module",
6 | "scripts": {
7 | "dev": "vite",
8 | "build": "vite build",
9 | "lint": "eslint .",
10 | "preview": "vite preview"
11 | },
12 | "dependencies": {
13 | "react": "19.0.0-rc-66855b96-20241106",
14 | "react-dom": "19.0.0-rc-66855b96-20241106"
15 | },
16 | "devDependencies": {
17 | "@eslint/js": "^9.13.0",
18 | "@types/react": "npm:types-react@rc",
19 | "@types/react-dom": "npm:types-react-dom@rc",
20 | "@vitejs/plugin-react": "^4.3.3",
21 | "autoprefixer": "^10.4.20",
22 | "eslint": "^9.13.0",
23 | "eslint-plugin-react": "^7.37.2",
24 | "eslint-plugin-react-hooks": "^5.1.0-rc.0",
25 | "eslint-plugin-react-refresh": "^0.4.14",
26 | "globals": "^15.11.0",
27 | "postcss": "^8.4.47",
28 | "tailwindcss": "^3.4.14",
29 | "vite": "^5.4.10"
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/public/delete.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/eslint.config.js:
--------------------------------------------------------------------------------
1 | import js from "@eslint/js";
2 | import globals from "globals";
3 | import react from "eslint-plugin-react";
4 | import reactHooks from "eslint-plugin-react-hooks";
5 | import reactRefresh from "eslint-plugin-react-refresh";
6 |
7 | export default [
8 | { ignores: ["dist"] },
9 | {
10 | files: ["**/*.{js,jsx}"],
11 | languageOptions: {
12 | ecmaVersion: 2020,
13 | globals: globals.browser,
14 | parserOptions: {
15 | ecmaVersion: "latest",
16 | ecmaFeatures: { jsx: true },
17 | sourceType: "module",
18 | },
19 | },
20 | settings: { react: { version: "18.3" } },
21 | plugins: {
22 | react,
23 | "react-hooks": reactHooks,
24 | "react-refresh": reactRefresh,
25 | },
26 | rules: {
27 | ...js.configs.recommended.rules,
28 | ...react.configs.recommended.rules,
29 | ...react.configs["jsx-runtime"].rules,
30 | ...reactHooks.configs.recommended.rules,
31 | "no-unused-vars": "warn",
32 | "react/prop-types": "off",
33 | "react/jsx-no-target-blank": "off",
34 | "react-refresh/only-export-components": [
35 | "warn",
36 | { allowConstantExport: true },
37 | ],
38 | },
39 | },
40 | ];
--------------------------------------------------------------------------------
/public/instagram.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------