Initial preview site
This commit is contained in:
parent
e2d107a44c
commit
603754fdfb
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.ionide
|
|
@ -1 +1,3 @@
|
|||
# jobs-jobs-jobs
|
||||
# jobs-jobs-jobs
|
||||
|
||||
Repository for the development of No Agenda Jobs - currently parked [here](http://jobs.bitbadger.solutions)
|
||||
|
|
2
src/JobsJobsJobs.Api/.gitignore
vendored
Normal file
2
src/JobsJobsJobs.Api/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
obj/
|
||||
bin/
|
18
src/JobsJobsJobs.Api/JobsJobsJobs.Api.fsproj
Normal file
18
src/JobsJobsJobs.Api/JobsJobsJobs.Api.fsproj
Normal file
|
@ -0,0 +1,18 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.fs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="FSharp.Json" Version="0.4.0" />
|
||||
<PackageReference Include="Npgsql.FSharp" Version="3.7.0" />
|
||||
<PackageReference Include="Suave" Version="2.5.6" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
8
src/JobsJobsJobs.Api/Program.fs
Normal file
8
src/JobsJobsJobs.Api/Program.fs
Normal file
|
@ -0,0 +1,8 @@
|
|||
// Learn more about F# at http://fsharp.org
|
||||
|
||||
open System
|
||||
|
||||
[<EntryPoint>]
|
||||
let main argv =
|
||||
printfn "Hello World from F#!"
|
||||
0 // return an integer exit code
|
3
src/jobs-jobs-jobs/.browserslistrc
Normal file
3
src/jobs-jobs-jobs/.browserslistrc
Normal file
|
@ -0,0 +1,3 @@
|
|||
> 1%
|
||||
last 2 versions
|
||||
not dead
|
18
src/jobs-jobs-jobs/.eslintrc.js
Normal file
18
src/jobs-jobs-jobs/.eslintrc.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
node: true
|
||||
},
|
||||
'extends': [
|
||||
'plugin:vue/vue3-essential',
|
||||
'eslint:recommended',
|
||||
'@vue/typescript'
|
||||
],
|
||||
parserOptions: {
|
||||
parser: '@typescript-eslint/parser'
|
||||
},
|
||||
rules: {
|
||||
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
|
||||
}
|
||||
}
|
23
src/jobs-jobs-jobs/.gitignore
vendored
Normal file
23
src/jobs-jobs-jobs/.gitignore
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
.DS_Store
|
||||
node_modules
|
||||
/dist
|
||||
|
||||
|
||||
# local env files
|
||||
.env.local
|
||||
.env.*.local
|
||||
|
||||
# Log files
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
|
||||
# Editor directories and files
|
||||
.idea
|
||||
.vscode
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
5
src/jobs-jobs-jobs/babel.config.js
Normal file
5
src/jobs-jobs-jobs/babel.config.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
module.exports = {
|
||||
presets: [
|
||||
'@vue/cli-plugin-babel/preset'
|
||||
]
|
||||
}
|
12578
src/jobs-jobs-jobs/package-lock.json
generated
Normal file
12578
src/jobs-jobs-jobs/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
29
src/jobs-jobs-jobs/package.json
Normal file
29
src/jobs-jobs-jobs/package.json
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"name": "jobs-jobs-jobs",
|
||||
"version": "0.8.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
"lint": "vue-cli-service lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"core-js": "^3.6.5",
|
||||
"vue": "^3.0.0-0",
|
||||
"vue-class-component": "^8.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^2.33.0",
|
||||
"@typescript-eslint/parser": "^2.33.0",
|
||||
"@vue/cli-plugin-babel": "~4.5.0",
|
||||
"@vue/cli-plugin-eslint": "~4.5.0",
|
||||
"@vue/cli-plugin-typescript": "^4.5.4",
|
||||
"@vue/cli-service": "~4.5.0",
|
||||
"@vue/compiler-sfc": "^3.0.0-0",
|
||||
"@vue/eslint-config-typescript": "^5.0.2",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"eslint": "^6.7.2",
|
||||
"eslint-plugin-vue": "^7.0.0-0",
|
||||
"typescript": "~3.9.3"
|
||||
}
|
||||
}
|
BIN
src/jobs-jobs-jobs/public/favicon.ico
Normal file
BIN
src/jobs-jobs-jobs/public/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
17
src/jobs-jobs-jobs/public/index.html
Normal file
17
src/jobs-jobs-jobs/public/index.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
BIN
src/jobs-jobs-jobs/public/pelosi-jobs.mp3
Normal file
BIN
src/jobs-jobs-jobs/public/pelosi-jobs.mp3
Normal file
Binary file not shown.
BIN
src/jobs-jobs-jobs/public/thats-true.mp3
Normal file
BIN
src/jobs-jobs-jobs/public/thats-true.mp3
Normal file
Binary file not shown.
26
src/jobs-jobs-jobs/src/App.vue
Normal file
26
src/jobs-jobs-jobs/src/App.vue
Normal file
|
@ -0,0 +1,26 @@
|
|||
<template>
|
||||
<div id="app">
|
||||
<Home msg="this message is not displayed"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import Home from './components/Home.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
Home,
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
#app {
|
||||
font-family: Avenir, Helvetica, Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
text-align: center;
|
||||
color: #2c3e50;
|
||||
margin-top: 60px;
|
||||
}
|
||||
</style>
|
BIN
src/jobs-jobs-jobs/src/assets/logo.png
Normal file
BIN
src/jobs-jobs-jobs/src/assets/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
75
src/jobs-jobs-jobs/src/components/Home.vue
Normal file
75
src/jobs-jobs-jobs/src/components/Home.vue
Normal file
|
@ -0,0 +1,75 @@
|
|||
<template>
|
||||
<div class="hello">
|
||||
<h1>
|
||||
Jobs, Jobs, Jobs<br>
|
||||
<small><small><small><em>
|
||||
(and Jobs - <a class="audio" @click="playJobs">Let's Vote for Jobs!</a>)
|
||||
</em></small></small></small>
|
||||
</h1>
|
||||
<p>
|
||||
Future home of No Agenda Jobs, where citizens of Gitmo Nation can assist one another in finding or enhancing
|
||||
their employment. This will enable them to continue providing value for value to Adam and John, as they continue
|
||||
their work deconstructing the misinformation that passes for news on a day-to-day basis.
|
||||
</p>
|
||||
<p>
|
||||
Do you not understand the terms in the paragraph above? No worries; just head over to
|
||||
<a href="https://noagendashow.net">The Best Podcast in the Universe</a> <em><a class="audio" @click="playTrue">(it's true!)</a></em> and find out what
|
||||
you’re missing.
|
||||
</p>
|
||||
<audio ref="jobsAudio">
|
||||
<source src="/pelosi-jobs.mp3">
|
||||
</audio>
|
||||
<audio ref="trueAudio">
|
||||
<source src="/thats-true.mp3">
|
||||
</audio>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { ref } from 'vue'
|
||||
|
||||
export default {
|
||||
props: {
|
||||
msg: String
|
||||
},
|
||||
setup() {
|
||||
const jobsAudio = ref(null)
|
||||
const trueAudio = ref(null)
|
||||
|
||||
const playJobs = () => jobsAudio.value.play()
|
||||
const playTrue = () => trueAudio.value.play()
|
||||
return {
|
||||
jobsAudio,
|
||||
trueAudio,
|
||||
playJobs,
|
||||
playTrue
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||
<style scoped>
|
||||
|
||||
h3 {
|
||||
margin: 40px 0 0;
|
||||
}
|
||||
ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
}
|
||||
li {
|
||||
display: inline-block;
|
||||
margin: 0 10px;
|
||||
}
|
||||
a {
|
||||
color: #42b983;
|
||||
}
|
||||
a.audio {
|
||||
color: inherit;
|
||||
border-bottom: dotted 1px lightgray;
|
||||
}
|
||||
a.audio:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
4
src/jobs-jobs-jobs/src/main.ts
Normal file
4
src/jobs-jobs-jobs/src/main.ts
Normal file
|
@ -0,0 +1,4 @@
|
|||
import { createApp } from 'vue'
|
||||
import App from './App.vue'
|
||||
|
||||
createApp(App).mount('#app')
|
5
src/jobs-jobs-jobs/src/shims-vue.d.ts
vendored
Normal file
5
src/jobs-jobs-jobs/src/shims-vue.d.ts
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
declare module '*.vue' {
|
||||
import { defineComponent } from 'vue'
|
||||
const component: ReturnType<typeof defineComponent>
|
||||
export default component
|
||||
}
|
41
src/jobs-jobs-jobs/tsconfig.json
Normal file
41
src/jobs-jobs-jobs/tsconfig.json
Normal file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "esnext",
|
||||
"module": "esnext",
|
||||
"strict": false,
|
||||
"jsx": "preserve",
|
||||
"importHelpers": true,
|
||||
"moduleResolution": "node",
|
||||
"experimentalDecorators": true,
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
"esModuleInterop": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"sourceMap": true,
|
||||
"baseUrl": ".",
|
||||
"types": [
|
||||
"webpack-env"
|
||||
],
|
||||
"paths": {
|
||||
"@/*": [
|
||||
"src/*"
|
||||
]
|
||||
},
|
||||
"lib": [
|
||||
"esnext",
|
||||
"dom",
|
||||
"dom.iterable",
|
||||
"scripthost"
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.ts",
|
||||
"src/**/*.tsx",
|
||||
"src/**/*.vue",
|
||||
"tests/**/*.ts",
|
||||
"tests/**/*.tsx"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user