Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<title>HSCStack - Study Resources Preview</title>
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=instrument-sans:400,500,600,700" rel="stylesheet" />
<link rel="icon" href="/favicon.png" type="image/png">
</head>
<body class="font-sans antialiased bg-slate-50 text-slate-800 dark:bg-gray-950 dark:text-gray-100 selection:bg-indigo-50 dark:selection:bg-indigo-500/30">
<div id="app" data-page='{"component":"Node","props":{"auth":{"user":null,"can_access_admin":false,"permissions":[]},"subject":{"id":1,"name":"পদার্থবিজ্ঞান ১ম পত্র","english_name":"Physics 1st","course":"hsc","slug":"physics-1st"},"currentNode":{"id":2,"name":"অধ্যায় ০২: ভেক্টর (Vectors)","slug":"vectors"},"breadcrumb":[{"name":"পদার্থবিজ্ঞান ১ম পত্র","slug":"physics-1st"},{"name":"ভেক্টর","slug":"vectors"}],"nodes":[{"id":101,"name":"টপিকভিত্তিক লেকচার ও শর্টকাট কনসেপ্ট","slug":"topic-lectures","resources_count":5,"children_count":0,"upvotes_count":18},{"id":102,"name":"বোর্ড ও শীর্ষ কলেজ প্রশ্ন সমাধান (২০১৭-২০২৪)","slug":"board-questions","resources_count":8,"children_count":0,"upvotes_count":32}],"resources":[{"id":1,"resource_type":"note","title":"ভেক্টর রাশির ডট ও ক্রস গুণন স্পেশাল হ্যান্ডনোট","content":"ডট গুণন, ক্রস গুণন এবং লব্ধির মান নির্ণয়ের শর্টকাট সূত্র ও উদাহরণসহ ব্যাখ্যা।","chapter":"ভেক্টর","subject":"Physics 1st","batch":"HSC 25"},{"id":2,"resource_type":"pdf","title":"ভেক্টর শীর্ষ সৃজনশীল (CQ) সাজেশন ও নমুনা উত্তর ২০২৫","content":"সকল শিক্ষা বোর্ডের জন্য সর্বাধিক সম্ভাব্য সৃজনশীল গ ও ঘ অংশের সমাধান।","chapter":"ভেক্টর","subject":"Physics 1st","batch":"HSC 25"},{"id":3,"resource_type":"pdf","title":"ভেক্টর ১০০টি টপ MCQ প্র্যাকটিস শিট (ব্যাখ্যাসহ)","content":"বিগত ১০ বছরের বোর্ড প্রশ্ন এবং নটর ডেম, ভিকারুননিসা কলেজের টেস্ট পেপার MCQ।","chapter":"ভেক্টর","subject":"Physics 1st","batch":"HSC 26"},{"id":4,"resource_type":"pdf","title":"ঢাকা ও চট্টগ্রাম বোর্ড ২০২৪ ভেক্টর প্রশ্নব্যাংক","content":"এইচএসসি ২০২৪ বোর্ড পরীক্ষার মূল প্রশ্নপত্র ও অফিশিয়াল স্ট্যান্ডার্ড মার্কিং সলিউশন।","chapter":"ভেক্টর","subject":"Physics 1st","batch":"HSC 24"},{"id":5,"resource_type":"video","title":"নদী-নৌকা ও বৃষ্টির আপেক্ষিক বেগ মাস্টারক্লাস (Video Lecture)","content":"ভিজুয়াল অ্যানিমেশনের মাধ্যমে নদী পারাপারের ন্যূনতম সময় ও ন্যূনতম দূরত্বের অংক।","chapter":"ভেক্টর","subject":"Physics 1st","batch":"HSC 25"},{"id":6,"resource_type":"note","title":"পদার্থবিজ্ঞান ১ম পত্র ব্যবহারিক (Practical) ল্যাব গাইড","content":"স্লাইড ক্যালিপার্স ও স্ক্রু গজ দ্বারা তারের প্রস্থচ্ছেদ নির্ণয়ের ল্যাব নোট।","chapter":"ব্যবহারিক","subject":"Physics 1st","batch":"HSC 25"},{"id":7,"resource_type":"pdf","title":"রসায়ন ১ম পত্র - গুণগত রসায়ন CQ সুপার সাজেশন","content":"দ্রাব্যতা গুণফল ও আয়ন শনাক্তকরণ সৃজনশীল প্রশ্ন ও সমাধান।","chapter":"গুণগত রসায়ন","subject":"Chemistry 1st","batch":"HSC 25"},{"id":8,"resource_type":"pdf","title":"উচ্চতর গণিত - ম্যাট্রিক্স ও নির্ণায়ক MCQ টেস্ট শিট","content":"বিপরীত ম্যাট্রিক্স ও ক্র্যামারের নিয়মের বিগত ১৫ বছরের প্রশ্নাবলি।","chapter":"ম্যাট্রিক্স","subject":"Higher Math","batch":"HSC 25"},{"id":9,"resource_type":"video","title":"তথ্য ও যোগাযোগ প্রযুক্তি (ICT) সংখ্যা পদ্ধতি ও লজিক গেইট ক্লাস","content":"বাইনারি, অকটাল, হেক্সাডেসিমেল রূপান্তর এবং ডিমরগ্যান উপপাদ্য।","chapter":"সংখ্যা পদ্ধতি","subject":"ICT","batch":"HSC 26"},{"id":10,"resource_type":"pdf","title":"জীববিজ্ঞান ১ম পত্র - কোষ ও এর গঠন রিভিশন নোট","content":"প্লাস্টিড, মাইটোকন্ড্রিয়া এবং ডিএনএ ডাবল হেলিক্স কাঠামোর চিহ্নিত চিত্র।","chapter":"কোষ","subject":"Biology","batch":"HSC 25"},{"id":11,"resource_type":"note","title":"বাংলা ১ম পত্র - অপরিচিতা গল্প মূলভাব ও জ্ঞানমূলক নোট","content":"অনুপমের আত্মকথন, তৎকালীন যৌতুক প্রথা এবং কল্যাণীর দৃঢ় ব্যক্তিত্বের বিশ্লেষণ।","chapter":"অপরিচিতা","subject":"Bangla","batch":"HSC 25"},{"id":12,"resource_type":"pdf","title":"English 1st Paper - Flow Chart & Theme Writing Hacks","content":"Tips and tested templates to score full marks in Question 2 and 3.","chapter":"Unit 1","subject":"English","batch":"HSC 25"}],"upvotesCount":42,"downvotesCount":2,"userVote":null,"upvoters":[]},"url":"/physics-1st/vectors","version":"1.0.0"}'></div>
<script type="module" src="/resources/js/preview.ts"></script>
</body>
</html>
127 changes: 64 additions & 63 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,65 +1,66 @@
{
"$schema": "https://www.schemastore.org/package.json",
"private": true,
"type": "module",
"scripts": {
"build": "vite build",
"build:ssr": "vite build && vite build --ssr",
"dev": "composer run dev",
"dev:server": "vite",
"format": "prettier --write resources/",
"format:check": "prettier --check resources/",
"lint": "eslint . --fix",
"lint:check": "eslint .",
"types:check": "vue-tsc --noEmit",
"prepare": "husky"
},
"lint-staged": {
"resources/**/*.{js,ts,vue,css}": [
"prettier --write",
"eslint --fix"
]
},
"devDependencies": {
"@eslint/js": "^9.19.0",
"@laravel/vite-plugin-wayfinder": "^0.1.3",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/node": "^22.13.5",
"@vitejs/plugin-vue-jsx": "^5.1.6",
"@vue/eslint-config-typescript": "^14.3.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-vue": "^9.32.0",
"husky": "^9.1.7",
"lint-staged": "^17.4.1",
"prettier": "^3.4.2",
"prettier-plugin-tailwindcss": "^0.6.11",
"typescript-eslint": "^8.23.0",
"vite-plugin-pwa": "^1.3.0",
"vue-tsc": "^2.2.4"
},
"dependencies": {
"@inertiajs/vite": "^3.0.0",
"@inertiajs/vue3": "^3.0.0",
"@tailwindcss/vite": "^4.1.11",
"@vitejs/plugin-vue": "^6.0.0",
"clsx": "^2.1.1",
"concurrently": "^9.0.1",
"laravel-echo": "^2.4.0",
"laravel-vite-plugin": "^3.1",
"lucide-vue-next": "^1.0.0",
"pusher-js": "^8.6.0",
"tailwind-merge": "^3.2.0",
"tailwindcss": "^4.1.1",
"typescript": "^5.2.2",
"vite": "^8.0.0",
"vue": "^3.5.13"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.9.5",
"@tailwindcss/oxide-linux-x64-gnu": "^4.0.1",
"lightningcss-linux-x64-gnu": "^1.29.1"
}
"$schema": "https://www.schemastore.org/package.json",
"private": true,
"type": "module",
"scripts": {
"build": "vite build",
"build:ssr": "vite build && vite build --ssr",
"dev": "composer run dev",
"dev:server": "vite",
"preview:local": "node preview-server.js",
"format": "prettier --write resources/",
"format:check": "prettier --check resources/",
"lint": "eslint . --fix",
"lint:check": "eslint .",
"types:check": "vue-tsc --noEmit",
"prepare": "husky"
},
"lint-staged": {
"resources/**/*.{js,ts,vue,css}": [
"prettier --write",
"eslint --fix"
]
},
"devDependencies": {
"@eslint/js": "^9.19.0",
"@laravel/vite-plugin-wayfinder": "^0.1.3",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/node": "^22.13.5",
"@vitejs/plugin-vue-jsx": "^5.1.6",
"@vue/eslint-config-typescript": "^14.3.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-vue": "^9.32.0",
"husky": "^9.1.7",
"lint-staged": "^17.4.1",
"prettier": "^3.4.2",
"prettier-plugin-tailwindcss": "^0.6.11",
"typescript-eslint": "^8.23.0",
"vite-plugin-pwa": "^1.3.0",
"vue-tsc": "^2.2.4"
},
"dependencies": {
"@inertiajs/vite": "^3.0.0",
"@inertiajs/vue3": "^3.0.0",
"@tailwindcss/vite": "^4.1.11",
"@vitejs/plugin-vue": "^6.0.0",
"clsx": "^2.1.1",
"concurrently": "^9.0.1",
"laravel-echo": "^2.4.0",
"laravel-vite-plugin": "^3.1",
"lucide-vue-next": "^1.0.0",
"pusher-js": "^8.6.0",
"tailwind-merge": "^3.2.0",
"tailwindcss": "^4.1.1",
"typescript": "^5.2.2",
"vite": "^8.0.0",
"vue": "^3.5.13"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.9.5",
"@tailwindcss/oxide-linux-x64-gnu": "^4.0.1",
"lightningcss-linux-x64-gnu": "^1.29.1"
}
}
38 changes: 38 additions & 0 deletions preview-server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import tailwindcss from '@tailwindcss/vite';
import vue from '@vitejs/plugin-vue';
import vueJsx from '@vitejs/plugin-vue-jsx';
import { createServer } from 'vite';

const __dirname = path.dirname(fileURLToPath(import.meta.url));

const server = await createServer({
configFile: false,
root: __dirname,
plugins: [
tailwindcss(),
vue({
template: {
transformAssetUrls: {
base: null,
includeAbsolute: false,
},
},
}),
vueJsx(),
],
resolve: {
alias: {
'@': path.resolve(__dirname, 'resources/js'),
},
},
server: {
port: 3000,
host: 'localhost',
strictPort: false,
},
});

await server.listen();
server.printUrls();
Loading
Loading