Skip to content

Commit

Permalink
add two more templates (Airbnb, Wordpress)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyfish committed Nov 4, 2024
1 parent b2c2045 commit 5bd76ce
Show file tree
Hide file tree
Showing 7 changed files with 3,838 additions and 1 deletion.
Binary file added src/assets/templates/airbnb-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/templates/airbnb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/templates/mysql/wordpress-db-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/templates/mysql/wordpress-db.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion src/templates-data/templates-data.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import type { Diagram } from '@/lib/domain/diagram';
import { employeeDb } from './templates/employee-db';
import { visualNovelDb } from './templates/visual-novel-db';
import { airbnbDb } from './templates/airbnb-db';
import { wordpressDb } from './templates/wordpress-db';

export interface Template {
slug: string;
Expand All @@ -16,4 +18,9 @@ export interface Template {
url?: string;
}

export const templates: Template[] = [employeeDb, visualNovelDb];
export const templates: Template[] = [
employeeDb,
visualNovelDb,
airbnbDb,
wordpressDb,
];
Loading

0 comments on commit 5bd76ce

Please sign in to comment.