Skip to content

Commit

Permalink
🪙 KDAO sayfası ekle
Browse files Browse the repository at this point in the history
  • Loading branch information
KimlikDAO-bot committed Jan 11, 2025
1 parent e929291 commit b01cc1f
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 2 deletions.
1 change: 1 addition & 0 deletions crate.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const Page = {
YeniAl: { [LangCode.EN]: "newmint", [LangCode.TR]: "yenial" },
İptal: { [LangCode.EN]: "revoke", [LangCode.TR]: "iptal" },
Oyla: { [LangCode.EN]: "vote", [LangCode.TR]: "oyla" },
KDAO: { [LangCode.EN]: "KDAO", [LangCode.TR]: "kdao" },
KPassim: { [LangCode.EN]: "kpass", [LangCode.TR]: "kpassim" }
};

Expand Down
24 changes: 24 additions & 0 deletions kdao/sayfa.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#kd {
display: flex;
}

/**
* KDAO hero
* @name {Hero}
*/
#kdh {
max-width: 1080px;
padding: 40px 60px;
border-radius: 22px;
margin: 30px auto;
/**
* #8e2de2 -> rgb(142, 45, 226)
*/
background:
radial-gradient(circle at 20% 20%, rgba(144, 205, 244, 0.1) 0%, rgba(255, 255, 255, 0) 40%),
radial-gradient(circle at 70% 10%, rgba(99, 179, 237, 0.1) 0%, rgba(255, 255, 255, 0) 60%),
radial-gradient(circle at 60% 90%, rgba(49, 130, 206, 0.4) 0%, rgba(255, 255, 255, 0) 40%),
radial-gradient(circle at 10% 80%, rgba(66, 153, 225, 0.1) 0%, rgba(255, 255, 255, 0) 40%),
radial-gradient(circle at 0% 55%, rgba(163, 109, 211, 0.2) 0%, rgba(255, 255, 255, 0) 50%),
radial-gradient(circle at 75% 60%, rgba(99, 55, 186, 0.3) 0%, rgba(255, 255, 255, 0) 40%);
}
3 changes: 3 additions & 0 deletions kdao/sayfa.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import Cüzdan from "/birim/cüzdan/birim";
import "/birim/dil/birim";

43 changes: 43 additions & 0 deletions kdao/sayfa.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import Script from "kastro:./sayfa.js";
import Css from "./sayfa.css";
import Başlık from "/birim/başlık/birim";
import Favicon from "/birim/icon.svg";
import Lato400 from "/birim/lato/l400.ttf";
import Lato700 from "/birim/lato/l700.ttf";
import OrtakCss from "/birim/ortakcss/birim";
import { ChainId } from "/lib/crosschain/chains";

/** @const {!Array<ChainId>} */
const Chains = [
ChainId.x1,
];

/** @const {!Object<ChainId, I18nString>} */
const ChainNotes = {
[ChainId.x1]: { tr: "Ana ağ", en: "Treasury chain" },
};

/** @const {ChainId} */
const DefaultChain = ChainId.x1;

const KDAO = ({ Lang }) => (
<html lang={Lang}>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<Lato400 shared />
<Lato700 shared />
<title>KimlikDAO | KDAO</title>
<Favicon raster={32} rel="icon" />
<OrtakCss />
<Css />
<Script Chains={Chains} DefaultChain={DefaultChain} />
</head>
<body>
<Başlık href="/" DefaultChain={DefaultChain} Chains={Chains} ChainNotes={ChainNotes} />
<div id={Css.Hero}>Graph</div>
</body>
</html >
);

export default KDAO;
8 changes: 6 additions & 2 deletions yenial/sayfa.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ import Lato400 from "/birim/lato/l400.ttf";
import Lato700 from "/birim/lato/l700.ttf";
import OrtakCss from "/birim/ortakcss/birim";
import { ChainId } from "/lib/crosschain/chains";
import dom from "/lib/util/dom";

/** @const {!HtmlDivElement} */
export const GalleryGrid = dom.div(Css.GalleryGrid);

/** @const {!Array<ChainId>} */
const Chains = [
Expand Down Expand Up @@ -36,14 +40,14 @@ const Gallery = () => (
id={Css.GallerySearch}
placeholder={{ en: "Type country, state, or source", tr: "Ülke veya kaynak gir" }}
/>
<div id={Css.GalleryGrid}>
<GalleryGrid>
<div class={Css.InfoSource}>{{ en: "Passport", tr: "Pasaport" }}</div>
<div class={Css.InfoSource}>{{ en: "Population registry", tr: "Nüfus kayıt örneği" }}</div>
<div class={Css.InfoSource}>ID.me</div>
<div class={Css.InfoSource}>{{ en: "National ID card", tr: "Kimlik Kartı" }}</div>
<div class={Css.InfoSource}>REAL ID</div>
<div class={Css.InfoSource}>login.gov</div>
</div>
</GalleryGrid>
</div>
<div style="display:none">
<button>
Expand Down

0 comments on commit b01cc1f

Please sign in to comment.