Afet anında, öncesinde ve sonrasında kullanılmak üzere bağımsız gönüllüler ile açık kaynak olarak 86 | geliştirilen teknolojiler resmi kurumların ve sivil toplum kuruluşların erişimi için afet.org'da. 87 |
88 |├── project ├── README.md ├── OCR │ └── README.md ├── ai │ └── README.md ├── bots │ ├── README.md │ ├── twitter.md │ ├── depremyardim.md │ ├── whatsapp.md │ └── telegram.md ├── data │ └── README.md ├── desing │ └── README.md ├── frontend │ └── README.md ├── geolocation │ └── README.md ├── infrastructure │ └── README.md └── grafana-dashboard.json ├── src ├── afetorg.png ├── favicon.ico ├── style.css └── index.html ├── README.md ├── README.tr.md └── LICENSE /project/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/OCR/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/ai/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/bots/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/bots/twitter.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/data/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/bots/depremyardim.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/bots/whatsapp.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/desing/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/frontend/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/geolocation/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/infrastructure/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/afetorg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acikyazilimagi/afet-org/HEAD/src/afetorg.png -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acikyazilimagi/afet-org/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /project/bots/telegram.md: -------------------------------------------------------------------------------- 1 | # Deprem yardım projesi Twitter bot projesi dökümantasyonu 2 | 3 | Bu proje anahtar kelimelere göre yardım isteyen kişilerin twitlerini bulup retweet eden bir proje. 4 | 5 | ## Bağımlılıklar 6 | 7 | ### Programlama Dili 8 | 9 | - Go 10 | 11 | ### Libraries 12 | 13 | - flag 14 | - github.com/dghubble/go-twitter/twitter 15 | - github.com/dghubble/oauth1 16 | - io 17 | - log 18 | - net/http 19 | - strconv 20 | 21 | ## Project 22 | 23 | - https://github.com/acikkaynak/afet-yardim-twitter-bot : Proje Repository 24 | 25 | bu projede kullanmak için twitter credentials discord üzerinden özel paylaşılıyor. 26 | 27 | 28 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Earthquake Relief Project 2 | 3 | [TÜRKÇE VERSİYON](README.tr.md) 4 | 5 | We collect all calls for help from different sources such as Twitter, Instagram, Whatsapp and various websites and refine this data into meaningful, refined data to be used in the field. Our aim is to help relevant organizations and NGOs by using information technologies and to provide an open data platform in times of disaster. 6 | 7 | ## Data Entry 8 | 9 | - https://www.depremyardim.com/ 10 | 11 | ## Disaster Map Project 12 | 13 | ### Broadcast addresses 14 | 15 | - https://afetharita.com/ 16 | - API: https://api.afetharita.com/ 17 | 18 | #### General information and links 19 | 20 | - [Discord](https://discord.gg/37MHpdPxh4) 21 | - [Design process](https://www.figma.com/file/sctw6xtcdoFOfmE0gC97Ft/Deprem-Yard%C4%B1m?node-id=0%3A1&t=FUHjVXfXqqXLN5js-1) (Figma) 22 | - [Trello Invitation to Join](https://trello.com/invite/b/d1rYoCUL/ATTId7774aa53af7d5ed9df79d8c32d0f6c2F7837B42/it-yardim) (Trello) 23 | - [Trello](https://trello.com/b/d1rYoCUL/afet-harita) 24 | - [GitHub Repositories](https://github.com/orgs/acikkaynak/repositories) 25 | - [afetharita.com-frontend](https://github.com/acikkaynak/deprem-yardim-frontend) 26 | Technology and Systems Used: 27 | - Next.js, React, Leaflet, Vercel 28 | - [afetharita.com-backend-go](https://github.com/acikkaynak/deprem-yardim-backend-go) 29 | - Go (Fiber, Pgxpool, Jsoniter, Go-Redis, Sarama, Fasthttp), Kafka, PostgreSQL, Redis, AWS (Elastic Load Balancer, ECS, AWS Fargate) 30 | - [beniyiyim.com-frontend](https://github.com/acikkaynak/ben-iyiyim-frontend) 31 | - Google Forms, Spreadsheet 32 | - [afetharita.com-data](https://github.com/acikkaynak/deprem-yardim-data) 33 | - To be updated... 34 | - [afetharita.com-whatsapp-integration](https://github.com/acikkaynak/deprem-yardim-whatsapp) 35 | - To be updated... 36 | - [afetharita.com-telegram-bot](https://github.com/acikkaynak/afet-yardim-telegram-bot) 37 | - Go 38 | 39 | - [Backend Architecture and Docs](https://docs.google.com/document/d/1RxTHmxblYkum0HJLWkOsv98nSa8r4dLMsu97Drr-xVg/) 40 | - [Keyword List for Twitter data extraction](https://docs.google.com/spreadsheets/d/1_w1akARJIKzCxMQnlv9ZObM7m-yXu_XJn-_SvjR6j74/edit) 41 | - [Contact and skill information for those who can help](https://docs.google.com/spreadsheets/d/1bZ49eLf2ymisuvPwdOFPmcbasnOVJr5-swLGvhySIHI) 42 | - [Workflow](https://excalidraw.com/#room=0571f83dc3c3d9eb9fb8,IdGc97dCxjdYsVsZ2NTEiQ) 43 | - Data 44 | - [Some withdrawn Tweets](https://docs.google.com/spreadsheets/d/1GX_37xMMvU-lcMz4XI0uLYPUV6LiZtn9EZOGSwqPuZA) 45 | - [depremyardim.com-json-data](https://www.depremyardim.com/json.php) 46 | - [Data Collectors](https://docs.google.com/spreadsheets/d/11oiJTFlDLKd7Ykuib4q4J9UCZ3QvB3SgCTrrXISz484/edit) (Google Spreadsheets) 47 | 48 | ### Technology and Systems Used 49 | 50 | - **Frontend:** Next.js, React / Deployment: Vercel 51 | - **Backend:** Go - Fiber, AWS (Elastic Load Balancer, ECS, AWS Fargate) 52 | - **Database:** Postgres (PostgreSQL), Redis, ElasticSearch 53 | - **Map Source:** Leaflet 54 | - **Data Scraping:** Twitter, Whatsapp, Telegram, depremyardim.com 55 | 56 | ## I'm Fine Project 57 | 58 | ### Broadcast addresses 59 | 60 | - http://beniyiyim.com/ 61 | 62 | #### General information and links 63 | 64 | - [Trello](https://trello.com/b/nSajc3v7/ben-i%CC%87yiyim-app) 65 | 66 | ### Technology and Systems Used 67 | 68 | - Google Form, Google Docs (Form for status reporting with simple inputs) 69 | 70 | ## Aid Network Project 71 | 72 | ### Broadcast addresses 73 | 74 | - Not yet determined! 75 | 76 | ### General information and links 77 | 78 | - [Workflow](https://excalidraw.com/#room=b09286c9041a10c59719,JnU6aU-5IAvXhmTEkYW2IA) 79 | - [Design process](https://www.figma.com/file/ggMF14osmhGOvKvS0VKuvQ/Yard%C4%B1m-A%C4%9F%C4%B1-App?node-id=0%3A1&t=lnWdXzRpwUmBurZd-1) (Figma) 80 | - [Trello Davet](https://trello.com/invite/b/cU4C34JQ/ATTI6f42a0a0396fdb62e570d423d8fc3e930962B558/deprem-yardim-agis) 81 | - [Trello](https://trello.com/b/RzM8Tia3/yard%C4%B1m-agi-app) 82 | - Github 83 | - [help-agi-flutter](https://github.com/acikkaynak/yardim-agi-flutter) 84 | - [help-agi-firebase](https://github.com/acikkaynak/yardim-agi-firebase) 85 | 86 | ### Technology and Systems Used 87 | 88 | - Flutter (Web) 89 | - Google Firebase & Lambda (Cloud Function) & Firestore 90 | 91 | ## 3rd Party enhancements 92 | 93 | #### Image to Text Address OCR 94 | 95 | Library for transcribing the address information in the image 96 | 97 | - Technologies Used: Python 98 | - [Github Repo](https://github.com/cobanov/deprem-ocr) [(Live)](https://huggingface.co/spaces/mertcobanov/deprem-ocr) 99 | -------------------------------------------------------------------------------- /README.tr.md: -------------------------------------------------------------------------------- 1 | # Deprem Yardım Projesi 2 | 3 | [ENGLISH VERSION](README.en.md) 4 | 5 | Twitter, Instagram, Whatsapp ve çeşitli web siteleri gibi farklı kaynaklardan gelen tüm yardım çağrılarını topluyoruz ve bu veriyi sahada kullanılmak üzere anlamlı, rafine hale getiriyoruz. Amacımız bilgi teknolojilerini kullanarak ilgili kurum ve STK'lara yardımcı olmak ve afet zamanlarında açık bir veri platformu sağlamak. 6 | 7 | ## Veri Girişi 8 | 9 | - https://www.depremyardim.com/ 10 | 11 | ## Afet Harita Projesi 12 | 13 | ### Yayına alınan adresler 14 | 15 | - https://afetharita.com/ 16 | - API: https://api.afetharita.com/ 17 | 18 | ### Genel bilgilendirme ve bağlantılar 19 | 20 | - [Discord](https://discord.gg/37MHpdPxh4) 21 | - [Tasarım süreci](https://www.figma.com/file/sctw6xtcdoFOfmE0gC97Ft/Deprem-Yard%C4%B1m?node-id=0%3A1&t=FUHjVXfXqqXLN5js-1) (Figma) 22 | - [Trello Katılım Daveti](https://trello.com/invite/b/d1rYoCUL/ATTId7774aa53af7d5ed9df79d8c32d0f6c2F7837B42/it-yardim) (Trello) 23 | - [Trello](https://trello.com/b/d1rYoCUL/afet-harita) 24 | - [GitHub Depoları](https://github.com/orgs/acikkaynak/repositories) 25 | - [afetharita.com-frontend](https://github.com/acikkaynak/deprem-yardim-frontend) 26 | Kullanılan Teknoloji ve Sistemler: 27 | - Next.js 28 | - React 29 | - Leaflet 30 | - Vercel 31 | - [afetharita.com-backend](https://github.com/acikkaynak/deprem-yardim-backend) 32 | - Python (Django) 33 | - Postgres (PostgreSQL) 34 | - Redis 35 | - AWS (Elastic Load Balancer, ECS, AWS Fargate) : Bu hizmetler için AWS tarafında destek sağlanıyor. 36 | - OpenAI (Görsellerin metine çevirilmesi) : OpenAI çalışanları iletişim biraz yavaş başka bir alternatif kullanılabilir. 37 | - [beniyiyim.com-frontend](https://github.com/acikkaynak/ben-iyiyim-frontend) 38 | - Google Forms 39 | - Spreadsheet 40 | - [afetharita.com-data](https://github.com/acikkaynak/deprem-yardim-data) 41 | - Güncellenecek.. 42 | - [afetharita.com-whatsapp-entegrasyon](https://github.com/acikkaynak/deprem-yardim-whatsapp) 43 | - Güncellenecek.. 44 | - [afetharita.com-twitter-bot](https://github.com/acikkaynak/afet-yardim-twitter-bot) : Belirlenmiş olan Twit ID 'lerine RT atmak için yazılacak bot 45 | - Go 46 | - Twitter API 47 | - github.com/dghubble/go-twitter/twitter 48 | - github.com/dghubble/oauth1 49 | - net/http 50 | - [depremadres AI](https://github.com/acikkaynak/depremadres-intent-classification-v0) 51 | - Python 52 | - Güncellenecek.. 53 | - [Twitter veri çekme için Keyword (Anahtar Kelime) Listesi](https://docs.google.com/spreadsheets/d/1_w1akARJIKzCxMQnlv9ZObM7m-yXu_XJn-_SvjR6j74/edit) 54 | - [Yardım edebilecek olanların iletişim ve skill bilgileri](https://docs.google.com/spreadsheets/d/1bZ49eLf2ymisuvPwdOFPmcbasnOVJr5-swLGvhySIHI) 55 | - [Workflow](https://excalidraw.com/#room=0571f83dc3c3d9eb9fb8,IdGc97dCxjdYsVsZ2NTEiQ) 56 | - Veriler 57 | - [Bazı çekilen Tweetler](https://docs.google.com/spreadsheets/d/1GX_37xMMvU-lcMz4XI0uLYPUV6LiZtn9EZOGSwqPuZA) 58 | - [depremyardim.com-json-data](https://www.depremyardim.com/json.php) 59 | - [Veri Toplayıcılar](https://docs.google.com/spreadsheets/d/11oiJTFlDLKd7Ykuib4q4J9UCZ3QvB3SgCTrrXISz484/edit) (Google Spreadsheets) 60 | 61 | ### Kullanılan Teknoloji ve Sistemler 62 | 63 | - **Frontend:** 64 | - Next.js 65 | - React / Deployment: Vercel 66 | - **Backend:** 67 | - Python 68 | - Django, 69 | - AWS(Elastic Load Balancer, ECS, AWS Fargate), 70 | - OpenAI (Görsellerin metine çevirilmesi), 71 | - Go 72 | - **Database:** 73 | - Postgres (PostgreSQL) 74 | - Redis 75 | - **Map Source:** 76 | - Leaflet 77 | - **Data Scraping:** 78 | - Twitter 79 | - Whatsapp 80 | - Telegram 81 | - depremyardim.com 82 | 83 | ## Ben İyiyim Projesi 84 | Bu proje basit bir şekilde ad,soyad adres alarak yardım istemenizi veya ben iyiyim demenizi sağlar. Şuan kullanımda. 85 | 86 | ### Yayına alınan adresler 87 | 88 | - http://beniyiyim.com/ 89 | - https://isaozler.grafana.net/dashboard/snapshot/OGMLNdBOFO0pVuUhqRUDkaTe4TyVDL09?orgId=1&refresh=1h&kiosk=tv 90 | - live-updates (1 saate ayarlı) 91 | - filtrelenmiş veri (is_resolved=false 92 | 93 | __Not: dashboard'u kendi hesabım altında açtığım için, link `isaozler.grafana.net` olarak link atanıyor. `/project/grafana-dashboard.json` dosyasını kullanarak bu dashboard'u istediğiniz hesap altında import yapabilirsiniz.__ 94 | 95 | ### Genel bilgilendirme ve bağlantılar 96 | 97 | - [Trello](https://trello.com/b/nSajc3v7/ben-i%CC%87yiyim-app) 98 | 99 | ### Kullanılan Teknoloji ve Sistemler 100 | 101 | - Google Form, Google Docs (Basit inputlardan oluşan durum bildirimi için form) 102 | 103 | ## Yardım Ağı Projesi 104 | 105 | Bu proje alt projelerden(servislerden) oluşmakta, amacı yardıma ihtiyacı olanların verilerini botlar ile çekmek ve ai aracılığı ile adres bilgilerini belirleyip haritada işaretlemek. 106 | 107 | ### Yayına alınan adresler 108 | 109 | - Henüz belirlenmedi! 110 | 111 | ### Genel bilgilendirme ve bağlantılar 112 | 113 | - [Workflow](https://excalidraw.com/#room=b09286c9041a10c59719,JnU6aU-5IAvXhmTEkYW2IA) 114 | - [Tasarım süreci](https://www.figma.com/file/ggMF14osmhGOvKvS0VKuvQ/Yard%C4%B1m-A%C4%9F%C4%B1-App?node-id=0%3A1&t=lnWdXzRpwUmBurZd-1) (Figma) 115 | - [Trello Davet](https://trello.com/invite/b/cU4C34JQ/ATTI6f42a0a0396fdb62e570d423d8fc3e930962B558/deprem-yardim-agis) 116 | - [Trello](https://trello.com/b/RzM8Tia3/yard%C4%B1m-agi-app) 117 | - Github 118 | - [yardim-agi-flutter](https://github.com/acikkaynak/yardim-agi-flutter) 119 | - [yardim-agi-firebase](https://github.com/acikkaynak/yardim-agi-firebase) 120 | 121 | ### Kullanılan Teknoloji ve Sistemler 122 | 123 | - Flutter (Web) 124 | - Google Firebase & Lambda (Cloud Function) & Firestore 125 | 126 | ## 3.Parti geliştirmeler 127 | 128 | ### Image to Text Adres OCR 129 | 130 | Resimde yer alan adres bilgilerini yazıya çevirme kütüphanesi 131 | 132 | - Kullanılan Teknolojiler: Python 133 | - [Github Repo](https://github.com/cobanov/deprem-ocr) [(Canlı)](https://huggingface.co/spaces/mertcobanov/deprem-ocr) 134 | -------------------------------------------------------------------------------- /project/grafana-dashboard.json: -------------------------------------------------------------------------------- 1 | { 2 | "annotations": { 3 | "list": [ 4 | { 5 | "builtIn": 1, 6 | "datasource": { 7 | "type": "grafana", 8 | "uid": "-- Grafana --" 9 | }, 10 | "enable": true, 11 | "hide": true, 12 | "iconColor": "rgba(0, 211, 255, 1)", 13 | "name": "Annotations & Alerts", 14 | "target": { 15 | "limit": 100, 16 | "matchAny": false, 17 | "tags": [], 18 | "type": "dashboard" 19 | }, 20 | "type": "dashboard" 21 | } 22 | ] 23 | }, 24 | "description": "\"acikkaynak/deprem-yardim-projesi\" verileri kullanilarak hazirlanmis bir arayuz.", 25 | "editable": true, 26 | "fiscalYearStartMonth": 0, 27 | "graphTooltip": 1, 28 | "id": 3, 29 | "links": [], 30 | "liveNow": true, 31 | "panels": [ 32 | { 33 | "datasource": { 34 | "type": "marcusolsson-json-datasource", 35 | "uid": "Qm03z_AVk" 36 | }, 37 | "description": "", 38 | "fieldConfig": { 39 | "defaults": { 40 | "color": { 41 | "mode": "palette-classic" 42 | }, 43 | "custom": { 44 | "hideFrom": { 45 | "legend": false, 46 | "tooltip": false, 47 | "viz": false 48 | } 49 | }, 50 | "mappings": [], 51 | "thresholds": { 52 | "mode": "percentage", 53 | "steps": [ 54 | { 55 | "color": "green", 56 | "value": null 57 | } 58 | ] 59 | } 60 | }, 61 | "overrides": [] 62 | }, 63 | "gridPos": { 64 | "h": 34, 65 | "w": 24, 66 | "x": 0, 67 | "y": 0 68 | }, 69 | "id": 2, 70 | "options": { 71 | "basemap": { 72 | "config": { 73 | "server": "streets" 74 | }, 75 | "name": "Layer 0", 76 | "type": "esri-xyz" 77 | }, 78 | "controls": { 79 | "mouseWheelZoom": true, 80 | "showAttribution": false, 81 | "showDebug": false, 82 | "showMeasure": false, 83 | "showScale": true, 84 | "showZoom": true 85 | }, 86 | "layers": [ 87 | { 88 | "config": { 89 | "blur": 15, 90 | "radius": 10, 91 | "weight": { 92 | "fixed": 1, 93 | "max": 1, 94 | "min": 0 95 | } 96 | }, 97 | "location": { 98 | "latitude": "lat (lastNotNull)", 99 | "longitude": "lng (lastNotNull)", 100 | "mode": "auto" 101 | }, 102 | "name": "Isı haritası", 103 | "tooltip": false, 104 | "type": "heatmap" 105 | }, 106 | { 107 | "config": { 108 | "showLegend": false, 109 | "style": { 110 | "color": { 111 | "fixed": "text" 112 | }, 113 | "opacity": 0.2, 114 | "rotation": { 115 | "fixed": 0, 116 | "max": 360, 117 | "min": -360, 118 | "mode": "clamped" 119 | }, 120 | "size": { 121 | "fixed": 5, 122 | "max": 20, 123 | "min": 5 124 | }, 125 | "symbol": { 126 | "fixed": "img/icons/marker/circle.svg", 127 | "mode": "fixed" 128 | }, 129 | "text": { 130 | "field": "Count (sum)", 131 | "fixed": "", 132 | "mode": "fixed" 133 | }, 134 | "textConfig": { 135 | "fontSize": 24, 136 | "offsetX": 0, 137 | "offsetY": 0, 138 | "textAlign": "center", 139 | "textBaseline": "middle" 140 | } 141 | } 142 | }, 143 | "location": { 144 | "latitude": "lat (lastNotNull)", 145 | "longitude": "lng (lastNotNull)", 146 | "mode": "auto" 147 | }, 148 | "name": "Çağrılar", 149 | "tooltip": true, 150 | "type": "markers" 151 | } 152 | ], 153 | "tooltip": { 154 | "mode": "details" 155 | }, 156 | "view": { 157 | "allLayers": true, 158 | "id": "fit", 159 | "lat": 0, 160 | "lon": 0, 161 | "zoom": 15 162 | } 163 | }, 164 | "pluginVersion": "9.3.6", 165 | "targets": [ 166 | { 167 | "cacheDurationSeconds": 300, 168 | "datasource": { 169 | "type": "marcusolsson-json-datasource", 170 | "uid": "Qm03z_AVk" 171 | }, 172 | "fields": [ 173 | { 174 | "jsonPath": "$.results[*].raw.full_text", 175 | "language": "jsonpath", 176 | "name": "Tweet" 177 | }, 178 | { 179 | "jsonPath": "$.results[*].loc[0]", 180 | "language": "jsonpath", 181 | "name": "lat", 182 | "type": "number" 183 | }, 184 | { 185 | "jsonPath": "$.results[*].loc[1]", 186 | "language": "jsonpath", 187 | "name": "lng", 188 | "type": "number" 189 | }, 190 | { 191 | "jsonPath": "$.results[*].raw.is_resolved", 192 | "language": "jsonata", 193 | "name": "Ulaşıldı", 194 | "type": "boolean" 195 | } 196 | ], 197 | "method": "GET", 198 | "queryParams": "", 199 | "refId": "A", 200 | "urlPath": "" 201 | } 202 | ], 203 | "transformations": [ 204 | { 205 | "id": "filterByValue", 206 | "options": { 207 | "filters": [ 208 | { 209 | "config": { 210 | "id": "equal", 211 | "options": { 212 | "value": true 213 | } 214 | }, 215 | "fieldName": "Ulaşıldı" 216 | } 217 | ], 218 | "match": "any", 219 | "type": "exclude" 220 | } 221 | } 222 | ], 223 | "transparent": true, 224 | "type": "geomap" 225 | } 226 | ], 227 | "refresh": "15m", 228 | "schemaVersion": 37, 229 | "style": "dark", 230 | "tags": [], 231 | "templating": { 232 | "list": [] 233 | }, 234 | "time": { 235 | "from": "now-6h", 236 | "to": "now" 237 | }, 238 | "timepicker": { 239 | "hidden": true, 240 | "refresh_intervals": [ 241 | "1h" 242 | ] 243 | }, 244 | "timezone": "", 245 | "title": "Afet Haritası (Public)", 246 | "uid": "CK9Hi_AV1", 247 | "version": 10, 248 | "weekStart": "" 249 | } -------------------------------------------------------------------------------- /src/style.css: -------------------------------------------------------------------------------- 1 | *{ 2 | margin: 0; 3 | padding: 0; 4 | } 5 | 6 | :root { 7 | --dark-color: #292c35; 8 | } 9 | 10 | body{ 11 | font-family: Archivo, system-ui; 12 | transition: background-color 0.5s; 13 | } 14 | 15 | .logo{ 16 | width: 50%; 17 | } 18 | 19 | .filter-light{ 20 | width: 50%; 21 | filter: invert(12%) sepia(9%) saturate(1330%) hue-rotate(187deg) brightness(96%) contrast(85%); 22 | } 23 | 24 | .filter-dark { 25 | filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(138deg) brightness(103%) contrast(101%); 26 | } 27 | 28 | header{ 29 | width: 100%; 30 | text-align: center; 31 | /* margin: 2em 0; */ 32 | } 33 | 34 | footer{ 35 | width: 100%; 36 | text-align: center; 37 | } 38 | 39 | .container{ 40 | width: 50%; 41 | margin: auto; 42 | display: flex; 43 | flex-direction: column; 44 | gap:2em; 45 | margin-bottom: 5em; 46 | } 47 | 48 | .field{ 49 | display: grid; 50 | grid-gap: 50px; 51 | grid-template-columns: 20% 80%; 52 | margin-bottom: 20px; 53 | } 54 | 55 | .title { 56 | font-style: italic; 57 | font-family: Newsreader, Georgia, Times, Times New Roman, serif; 58 | } 59 | 60 | .button{ 61 | text-decoration: none; 62 | display: inline-block; 63 | color: white; 64 | border: 1px white solid; 65 | padding: 10px 15px; 66 | margin-bottom: 5px; 67 | border-radius: 2em; 68 | background-color: var(--dark-color); 69 | transition: color 0.3s, background-color 0.3s, border-color 0.5s; 70 | } 71 | 72 | .button:hover{ 73 | color: black; 74 | background-color: white; 75 | border-color: var(--dark-color); 76 | } 77 | 78 | .content{ 79 | text-align: justify; 80 | } 81 | 82 | ul { 83 | list-style-type: none; 84 | } 85 | 86 | .link { 87 | text-decoration: none; 88 | color: gray; 89 | } 90 | 91 | .link:hover { 92 | color: var(--dark-color); 93 | } 94 | 95 | /* Dark Mode */ 96 | 97 | .body-dark-mode{ 98 | background-color: var(--dark-color); 99 | color: white; 100 | } 101 | 102 | .button-dark-mode{ 103 | background-color: white; 104 | color: black; 105 | border-color: var(--dark-color); 106 | } 107 | 108 | .button-dark-mode:hover { 109 | background-color: var(--dark-color); 110 | border-color: white; 111 | color: white; 112 | } 113 | 114 | /* Color theme button */ 115 | 116 | .toggle-checkbox { 117 | position: absolute; 118 | opacity: 0; 119 | cursor: pointer; 120 | height: 0; 121 | width: 0; 122 | } 123 | 124 | .toggle-slot { 125 | position: relative; 126 | height: 10em; 127 | width: 20em; 128 | border: 5px solid #e4e7ec; 129 | border-radius: 10em; 130 | background-color: white; 131 | transition: background-color 250ms; 132 | } 133 | 134 | .toggle-checkbox:checked~.toggle-slot { 135 | background-color: var(--dark-color); 136 | } 137 | 138 | .toggle-button { 139 | transform: translate(11.75em, 1.75em); 140 | position: absolute; 141 | height: 6.5em; 142 | width: 6.5em; 143 | border-radius: 50%; 144 | background-color: white; 145 | box-shadow: inset 0px 0px 0px 0.75em var(--dark-color); 146 | transition: background-color 250ms, border-color 250ms, transform 500ms cubic-bezier(.26, 2, .46, .71); 147 | } 148 | 149 | .toggle-checkbox:checked~.toggle-slot .toggle-button { 150 | background-color: var(--dark-color); 151 | box-shadow: inset 0px 0px 0px 0.75em white; 152 | transform: translate(1.75em, 1.75em); 153 | } 154 | 155 | .sun-icon { 156 | position: absolute; 157 | height: 6em; 158 | width: 6em; 159 | color: var(--dark-color); 160 | } 161 | 162 | .sun-icon-wrapper { 163 | position: absolute; 164 | height: 6em; 165 | width: 6em; 166 | opacity: 1; 167 | transform: translate(2em, 2em); 168 | transform-origin: 50% 50%; 169 | transition: opacity 150ms, transform 500ms cubic-bezier(.26, 2, .46, .71); 170 | } 171 | 172 | .toggle-checkbox:checked~.toggle-slot .sun-icon-wrapper { 173 | opacity: 0; 174 | transform: translate(3em, 2em); 175 | } 176 | 177 | .moon-icon { 178 | position: absolute; 179 | height: 6em; 180 | width: 6em; 181 | color: white; 182 | } 183 | 184 | .moon-icon-wrapper { 185 | position: absolute; 186 | height: 6em; 187 | width: 6em; 188 | opacity: 0; 189 | transform: translate(11em, 2em); 190 | transform-origin: 50% 50%; 191 | transition: opacity 150ms, transform 500ms cubic-bezier(.26, 2.5, .46, .71); 192 | } 193 | 194 | .toggle-checkbox:checked~.toggle-slot .moon-icon-wrapper { 195 | opacity: 1; 196 | transform: translate(12em, 2em); 197 | } 198 | 199 | .light-modes{ 200 | font-size: 3px; 201 | float: right; 202 | } 203 | 204 | .light-modes-container{ 205 | width: 100%; 206 | margin-top: 15px; 207 | display: block; 208 | } 209 | 210 | /* Dark Mode */ 211 | 212 | .body-dark-mode{ 213 | background-color: var(--dark-color); 214 | color: white; 215 | } 216 | 217 | .button-dark-mode{ 218 | background-color: white; 219 | color: black; 220 | border-color: var(--dark-color); 221 | } 222 | 223 | .button-dark-mode:hover { 224 | background-color: var(--dark-color); 225 | border-color: white; 226 | color: white; 227 | } 228 | 229 | .link-dark-mode:hover{ 230 | color: white; 231 | } 232 | 233 | /* Color theme button */ 234 | 235 | .toggle-checkbox { 236 | position: absolute; 237 | opacity: 0; 238 | cursor: pointer; 239 | height: 0; 240 | width: 0; 241 | } 242 | 243 | .toggle-slot { 244 | position: relative; 245 | height: 10em; 246 | width: 20em; 247 | border: 5px solid #e4e7ec; 248 | border-radius: 10em; 249 | background-color: white; 250 | transition: background-color 250ms; 251 | } 252 | 253 | .toggle-checkbox:checked~.toggle-slot { 254 | background-color: var(--dark-color); 255 | } 256 | 257 | .toggle-button { 258 | transform: translate(11.75em, 1.75em); 259 | position: absolute; 260 | height: 6.5em; 261 | width: 6.5em; 262 | border-radius: 50%; 263 | background-color: white; 264 | box-shadow: inset 0px 0px 0px 0.75em var(--dark-color); 265 | transition: background-color 250ms, border-color 250ms, transform 500ms cubic-bezier(.26, 2, .46, .71); 266 | } 267 | 268 | .toggle-checkbox:checked~.toggle-slot .toggle-button { 269 | background-color: var(--dark-color); 270 | box-shadow: inset 0px 0px 0px 0.75em white; 271 | transform: translate(1.75em, 1.75em); 272 | } 273 | 274 | .sun-icon { 275 | position: absolute; 276 | height: 6em; 277 | width: 6em; 278 | color: var(--dark-color); 279 | } 280 | 281 | .sun-icon-wrapper { 282 | position: absolute; 283 | height: 6em; 284 | width: 6em; 285 | opacity: 1; 286 | transform: translate(2em, 2em); 287 | transform-origin: 50% 50%; 288 | transition: opacity 150ms, transform 500ms cubic-bezier(.26, 2, .46, .71); 289 | } 290 | 291 | .toggle-checkbox:checked~.toggle-slot .sun-icon-wrapper { 292 | opacity: 0; 293 | transform: translate(3em, 2em); 294 | } 295 | 296 | .moon-icon { 297 | position: absolute; 298 | height: 6em; 299 | width: 6em; 300 | color: white; 301 | } 302 | 303 | .moon-icon-wrapper { 304 | position: absolute; 305 | height: 6em; 306 | width: 6em; 307 | opacity: 0; 308 | transform: translate(11em, 2em); 309 | transform-origin: 50% 50%; 310 | transition: opacity 150ms, transform 500ms cubic-bezier(.26, 2.5, .46, .71); 311 | } 312 | 313 | .toggle-checkbox:checked~.toggle-slot .moon-icon-wrapper { 314 | opacity: 1; 315 | transform: translate(12em, 2em); 316 | } 317 | 318 | .light-modes{ 319 | font-size: 3px; 320 | float: right; 321 | } 322 | 323 | .light-modes-container{ 324 | width: 100%; 325 | margin-top: 15px; 326 | display: block; 327 | } 328 | 329 | /* Media Queries */ 330 | 331 | @media only screen and (max-width: 1130px) { 332 | .container { 333 | width: 90%; 334 | gap: 0; 335 | } 336 | 337 | .field { 338 | grid-template-columns: auto; 339 | margin-bottom: 3em; 340 | } 341 | 342 | .content { 343 | text-align: left; 344 | } 345 | 346 | .button { 347 | width: 100%; 348 | display: block; 349 | font-size: 2.5em; 350 | text-align: center; 351 | margin-bottom: 20px; 352 | padding: 20px 0px; 353 | } 354 | 355 | .title { 356 | font-size: 2em; 357 | font-weight: 600; 358 | font-family: Archivo, system-ui; 359 | font-style: normal; 360 | } 361 | 362 | .light-modes { 363 | font-size: 8px; 364 | } 365 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |
33 | Afet anında, öncesinde ve sonrasında kullanılmak üzere bağımsız gönüllüler ile açık kaynak olarak 86 | geliştirilen teknolojiler resmi kurumların ve sivil toplum kuruluşların erişimi için afet.org'da. 87 |
88 |