diff options
Diffstat (limited to 'Main/wwwroot')
-rw-r--r-- | Main/wwwroot/css/main.css | 0 | ||||
-rw-r--r-- | Main/wwwroot/index.html | 18 | ||||
-rw-r--r-- | Main/wwwroot/scripts/main.ts | 8 | ||||
-rw-r--r-- | Main/wwwroot/tsconfig.json | 8 |
4 files changed, 34 insertions, 0 deletions
diff --git a/Main/wwwroot/css/main.css b/Main/wwwroot/css/main.css new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Main/wwwroot/css/main.css diff --git a/Main/wwwroot/index.html b/Main/wwwroot/index.html new file mode 100644 index 0000000..cd392d4 --- /dev/null +++ b/Main/wwwroot/index.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html> + +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <title>Page Title</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="stylesheet" type="text/css" media="screen" href="css/main.css"> + <script src="js/main.js"></script> +</head> + +<body> + <div class="app"> + </div> +</body> + +</html>
\ No newline at end of file diff --git a/Main/wwwroot/scripts/main.ts b/Main/wwwroot/scripts/main.ts new file mode 100644 index 0000000..77a80d3 --- /dev/null +++ b/Main/wwwroot/scripts/main.ts @@ -0,0 +1,8 @@ +var root = document.getElementsByClassName('app'); + +class Article { + Title: HTMLElement; + Description: string; + ArticleLink: string; + Image: HTMLElement; +}
\ No newline at end of file diff --git a/Main/wwwroot/tsconfig.json b/Main/wwwroot/tsconfig.json new file mode 100644 index 0000000..89d01c4 --- /dev/null +++ b/Main/wwwroot/tsconfig.json @@ -0,0 +1,8 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "esnext", + "sourceMap": true, + "outDir": "js/" + } +}
\ No newline at end of file |