fix template, remove okr, use casan.*

This commit is contained in:
thanhnv
2026-07-18 16:45:31 +07:00
parent 0dfd1742d3
commit 13fae3e6c3
249 changed files with 4881 additions and 5702 deletions
@@ -0,0 +1,11 @@
export function App() {
return (
<main className="min-h-screen bg-gray-50 p-6 text-gray-800">
<section className="mx-auto max-w-4xl rounded-xl border border-gray-200 bg-white p-6 shadow-sm">
<p className="text-sm font-medium text-blue-600">CASAN-governed project</p>
<h1 className="mt-2 text-2xl font-semibold">__PROJECT_NAME__</h1>
<p className="mt-3 text-gray-500">The production shell is ready. Implement product screens from the approved requirement and architecture.</p>
</section>
</main>
);
}
@@ -0,0 +1,10 @@
import { render, screen } from '@testing-library/react';
import { describe, expect, it } from 'vitest';
import { App } from '../App';
describe('App', () => {
it('renders the project identity', () => {
render(<App />);
expect(screen.getByRole('heading', { name: '__PROJECT_NAME__' })).toBeInTheDocument();
});
});
@@ -0,0 +1 @@
import '@testing-library/jest-dom/vitest';
@@ -0,0 +1,5 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
body { margin: 0; min-width: 320px; min-height: 100vh; }
@@ -0,0 +1,6 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import { App } from './App';
import './index.css';
ReactDOM.createRoot(document.getElementById('root')!).render(<React.StrictMode><App /></React.StrictMode>);