diff --git a/README.md b/README.md index 9284b7e..73b30a9 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# PCS UI +# Aviation Weather # Getting Started The main installed packages are the following: diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f5e8ad6 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,15 @@ +version: '3' + +services: + db: + image: postgres:latest + container_name: aviation-weather_db + environment: + POSTGRES_USER: ${POSTRGRES_USER} + POSTGRESS_PASSWORD: ${POSTGRES_PASSWORD} + POSTGRES_DB: ${POSTGRES_DB} + volumes: + - ./data:/var/lib/postgresql/data + ports: + -'5432:5432' + restart: unless-stopped \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 12e4fe3..0416968 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "pcs-ui", + "name": "aviation-weather", "version": "0.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "pcs-ui", + "name": "aviation-weather", "version": "0.1.0", "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.4.2", diff --git a/package.json b/package.json index e0bc1ea..7bb983f 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "pcs-ui", + "name": "aviation-weather", "version": "0.1.0", "private": true, "scripts": { diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 44cc3b2..aa5ddf4 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -7,12 +7,20 @@ import '@fortawesome/fontawesome-svg-core/styles.css'; import { config } from '@fortawesome/fontawesome-svg-core'; config.autoAddCss = false; /* eslint-disable import/first */ import 'styles/globals.css'; +import Link from 'next/link'; export default function RootLayout({ children }: { children: React.ReactNode }) { return ( +
+{airport.metar?.raw_text}