A simple test module with two files.
Last active
February 21, 2026 09:45
-
-
Save jacobparis/b0966258ac3fd377fb83dbdc3314dffc to your computer and use it in GitHub Desktop.
gitcn test: simple static files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { greet } from '../lib/utils'; | |
| export default function Page() { | |
| return <div>{greet('world')}</div>; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export function greet(name: string): string { | |
| return `Hello, ${name}!`; | |
| } | |
| export function farewell(name: string): string { | |
| return `Goodbye, ${name}!`; | |
| } | |
| export function celebrate(name: string): string { | |
| return `Congratulations, ${name}!`; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment