Move website to separate repo
This commit is contained in:
rodič
3a8190f779
revize
7e6ab191e4
|
@ -1,46 +0,0 @@
|
|||
name: GitHub Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main # Set a branch name to trigger deployment
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
contents: write
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: ./website
|
||||
run: npm ci
|
||||
|
||||
- name: Build
|
||||
working-directory: ./website
|
||||
run: npm run build
|
||||
|
||||
- name: Add custom domain
|
||||
working-directory: ./website
|
||||
run: "touch build/CNAME && echo \"dev.prgblockweek.com\" >> build/CNAME"
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
# If you're changing the branch from main,
|
||||
# also change the `main` in `refs/heads/main`
|
||||
# below accordingly.
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./website/build
|
|
@ -1,6 +1,6 @@
|
|||
# Prague Blockchain Week 2023 (PBW23)
|
||||
# Prague Blockchain Week (PBW)
|
||||
|
||||
A decentralized conference hosted by [UTXO Foundation](https://utxo.foundation/). We are using this GitHub repository and website to coordinate event listings.
|
||||
A decentralized conference hosted by [UTXO Foundation](https://utxo.foundation/). We are using this GitHub repository to coordinate event listings.
|
||||
|
||||
https://prgblockweek.com
|
||||
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
.DS_Store
|
||||
node_modules
|
||||
/build
|
||||
/.svelte-kit
|
||||
/package
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
||||
# Ignore files for PNPM, NPM and YARN
|
||||
pnpm-lock.yaml
|
||||
package-lock.json
|
||||
yarn.lock
|
|
@ -1,15 +0,0 @@
|
|||
module.exports = {
|
||||
root: true,
|
||||
extends: ['eslint:recommended', 'prettier'],
|
||||
plugins: ['svelte3'],
|
||||
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
|
||||
parserOptions: {
|
||||
sourceType: 'module',
|
||||
ecmaVersion: 2020
|
||||
},
|
||||
env: {
|
||||
browser: true,
|
||||
es2017: true,
|
||||
node: true
|
||||
}
|
||||
};
|
|
@ -1,10 +0,0 @@
|
|||
.DS_Store
|
||||
node_modules
|
||||
/build
|
||||
/.svelte-kit
|
||||
/package
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
vite.config.js.timestamp-*
|
||||
vite.config.ts.timestamp-*
|
|
@ -1 +0,0 @@
|
|||
engine-strict=true
|
|
@ -1,13 +0,0 @@
|
|||
.DS_Store
|
||||
node_modules
|
||||
/build
|
||||
/.svelte-kit
|
||||
/package
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
||||
# Ignore files for PNPM, NPM and YARN
|
||||
pnpm-lock.yaml
|
||||
package-lock.json
|
||||
yarn.lock
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
"useTabs": true,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "none",
|
||||
"printWidth": 100,
|
||||
"plugins": ["prettier-plugin-svelte"],
|
||||
"pluginSearchDirs": ["."],
|
||||
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
# PBW23 Website
|
||||
|
||||
Website for [Prague Blockchain Week 2023](https://prgblockweek.com/) created with [SvelteKit](https://kit.svelte.dev/).
|
Rozdílový obsah nebyl zobrazen, protože je příliš veliký
Načíst rozdílové porovnání
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
"name": "website",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"test": "playwright test",
|
||||
"lint": "prettier --plugin-search-dir . --check . && eslint .",
|
||||
"format": "prettier --plugin-search-dir . --write ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.28.1",
|
||||
"@sveltejs/adapter-auto": "^1.0.0",
|
||||
"@sveltejs/adapter-static": "^1.0.1",
|
||||
"@sveltejs/kit": "^1.0.0",
|
||||
"autoprefixer": "^10.4.13",
|
||||
"eslint": "^8.28.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-svelte3": "^4.0.0",
|
||||
"postcss": "^8.4.21",
|
||||
"prettier": "^2.8.0",
|
||||
"prettier-plugin-svelte": "^2.8.1",
|
||||
"svelte": "^3.54.0",
|
||||
"tailwindcss": "^3.2.4",
|
||||
"vite": "^4.0.0"
|
||||
},
|
||||
"type": "module"
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
/** @type {import('@playwright/test').PlaywrightTestConfig} */
|
||||
const config = {
|
||||
webServer: {
|
||||
command: 'npm run build && npm run preview',
|
||||
port: 4173
|
||||
},
|
||||
testDir: 'tests'
|
||||
};
|
||||
|
||||
export default config;
|
|
@ -1,6 +0,0 @@
|
|||
module.exports = {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;500;800&display=swap');
|
||||
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@layer components {
|
||||
.text a {
|
||||
@apply underline hover:no-underline hover:text-red-200;
|
||||
}
|
||||
#footer a {
|
||||
@apply underline hover:no-underline hover:text-pbw-white;
|
||||
}
|
||||
.separator {
|
||||
@apply inline-block mx-3;
|
||||
}
|
||||
.button {
|
||||
@apply border border-pbw-yellow py-3 px-4 rounded hover:bg-pbw-yellow hover:text-pbw-red;
|
||||
}
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
%sveltekit.head%
|
||||
</head>
|
||||
<body data-sveltekit-preload-data="hover">
|
||||
<div style="display: contents">%sveltekit.body%</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1 +0,0 @@
|
|||
export const prerender = true;
|
|
@ -1,5 +0,0 @@
|
|||
<script>
|
||||
import "../app.css";
|
||||
</script>
|
||||
|
||||
<slot />
|
|
@ -1,48 +0,0 @@
|
|||
<svelte:head>
|
||||
<title>Prague Blockchain Week 2023 | June 2-11, 2023</title>
|
||||
<meta name="description" content="A decentralized gathering of all people interested in cryptocurrencies and related topics. It consists of many independent events across Jun 2 - 11, including conferences, hackathons, workshops, community meetups, as well as various parties and happy hours.">
|
||||
<meta name="keywords" content="Conference, Hackathon, Cryptocurrency, Bitcoin, Ethereum, Polkadot, Cosmos, DeFi, Web3, DAO, NFT">
|
||||
<meta name="author" content="UTXO Foundation">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:site" content="@PrgBlockWeek">
|
||||
<meta name="twitter:title" content=" Prague Blockchain Week | June 2-11, 2023">
|
||||
<meta name="twitter:description" content="A decentralized gathering of all people interested in cryptocurrencies and related topics. It consists of many independent events across Jun 2 - 11, including conferences, hackathons and others.">
|
||||
<meta name="twitter:image" content="https://prgblockweek.com/img/pbw23-banner-square.png">
|
||||
</svelte:head>
|
||||
|
||||
<div class="w-full bg-pbw-red text-pbw-white text-xl relative">
|
||||
<div class="max-w-5xl mx-auto flex pt-5 md:pt-10 pb-16 sm:pb-24 md:pb-40" style="background: url(/bg-prg.png) bottom repeat-x; background-size: 100%;">
|
||||
<div class="flex-grow"></div>
|
||||
<div class="text-right items-end p-10">
|
||||
<div class="uppercase">
|
||||
<div class="text-5xl md:text-6xl lg:text-7xl font-bold">Prague Blockchain Week</div>
|
||||
<div class="text-4xl md:text-4xl lg:text-5xl font-medium text-pbw-yellow">June 2-11, 2023</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-full min-h-screen bg-gradient-to-b from-pbw-red to-red-900 text-pbw-white text-xl">
|
||||
<div class="max-w-5xl mx-auto pt-2 md:pt-7">
|
||||
<div class="p-7 text">
|
||||
<p>A decentralized gathering of all people interested in cryptocurrencies and related topics. It consists of <a href="https://guide.prgblockweek.com/events">many independent events</a> across Jun 2 - 11, including conferences, hackathons, workshops, community meetups, as well as various parties and happy hours. </p>
|
||||
<p class="mt-5">These events will focus on a variety of different cryptocurrency ecosystems and topics such as hard money, payments, DeFi, Web3, DAOs, CryptoEconomics, NFTs, DeSci, mining, and many more.</p>
|
||||
<p class="mt-5">It is a chain agnostic and neutral <a href="https://guide.prgblockweek.com/our-mission-and-team">community-led initiative</a>. Our goal is not to promote one single blockchain, but rather to stimulate discussion between proponents of different solutions. The common theme is financial freedom, decentralization and privacy.</p>
|
||||
<!--p class="mt-5 text-3xl text-center text-pbw-yellow">💛 #PBW23</p-->
|
||||
</div>
|
||||
<div class="flex flex-wrap gap-10 items-center text-center text-xl md:text-2xl uppercase mt-2 md:mt-7 pb-16 md:pb-24 text-pbw-yellow p-7">
|
||||
<div class="flex-grow"><a href="https://guide.prgblockweek.com" class="button">Read documentation</a></div>
|
||||
<div class="flex-grow"><a href="https://twitter.com/PrgBlockWeek" target="_blank" class="button">Follow us on Twitter</a></div>
|
||||
<div class="flex-grow"><a href="https://t.me/PrgBlockWeek" target="_blank" class="button">Join Telegram group</a></div>
|
||||
</div>
|
||||
<div id="footer" class="text-center text-red-300 pb-16 md:pb-24 mx-7 md:mx-0">
|
||||
<a class="" href="https://guide.prgblockweek.com/event-host-guide">Host your event!</a>
|
||||
<span class="separator">⎯</span>
|
||||
<a class="" href="https://guide.prgblockweek.com/faq">FAQ</a>
|
||||
<span class="separator">⎯</span>
|
||||
<a class="" href="https://guide.prgblockweek.com/contact-us">Contact Us</a>
|
||||
<span class="separator">⎯</span>
|
||||
<a class="" href="https://guide.prgblockweek.com/impressum">Impressum</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
binární
website/static/bg-prg.png
binární
website/static/bg-prg.png
Binární soubor nebyl zobrazen.
Před Šířka: | Výška: | Velikost: 35 KiB |
binární
website/static/favicon.png
binární
website/static/favicon.png
Binární soubor nebyl zobrazen.
Před Šířka: | Výška: | Velikost: 13 KiB |
Binární soubor nebyl zobrazen.
Před Šířka: | Výška: | Velikost: 93 KiB |
Binární soubor nebyl zobrazen.
Před Šířka: | Výška: | Velikost: 49 KiB |
binární
website/static/preview.jpg
binární
website/static/preview.jpg
Binární soubor nebyl zobrazen.
Před Šířka: | Výška: | Velikost: 286 KiB |
|
@ -1,12 +0,0 @@
|
|||
import adapter from '@sveltejs/adapter-static';
|
||||
import { vitePreprocess } from '@sveltejs/kit/vite';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
kit: {
|
||||
adapter: adapter()
|
||||
},
|
||||
preprocess: vitePreprocess()
|
||||
};
|
||||
|
||||
export default config;
|
|
@ -1,22 +0,0 @@
|
|||
/** @type {import('tailwindcss').Config} */
|
||||
|
||||
const defaultTheme = require('tailwindcss/defaultTheme')
|
||||
|
||||
module.exports = {
|
||||
content: ['./src/**/*.{html,js,svelte,ts}'],
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
'sans': ['Barlow Semi Condensed', ...defaultTheme.fontFamily.sans]
|
||||
},
|
||||
colors: {
|
||||
'pbw': {
|
||||
'red': '#ff1616',
|
||||
'yellow': '#ffde59',
|
||||
'white': '#ffffff'
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [],
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
import { expect, test } from '@playwright/test';
|
||||
|
||||
test('index page has expected h1', async ({ page }) => {
|
||||
await page.goto('/');
|
||||
expect(await page.textContent('h1')).toBe('Welcome to SvelteKit');
|
||||
});
|
|
@ -1,7 +0,0 @@
|
|||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
|
||||
const config = {
|
||||
plugins: [sveltekit()]
|
||||
};
|
||||
|
||||
export default config;
|
Načítá se…
Odkázat v novém úkolu