fix template, remove okr, use casan.*
This commit is contained in:
+11
@@ -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>
|
||||
);
|
||||
}
|
||||
+10
@@ -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();
|
||||
});
|
||||
});
|
||||
+1
@@ -0,0 +1 @@
|
||||
import '@testing-library/jest-dom/vitest';
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
body { margin: 0; min-width: 320px; min-height: 100vh; }
|
||||
+6
@@ -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>);
|
||||
Reference in New Issue
Block a user