Skip to content

Commit

Permalink
migrate to a different domain
Browse files Browse the repository at this point in the history
  • Loading branch information
omrilotan committed Nov 3, 2021
1 parent 037103c commit 038eb92
Show file tree
Hide file tree
Showing 19 changed files with 35 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/activity.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ labels: activity, good first issue
assignees: omrilotan
---

I've been doing this with my kid and we've had lots of fun 🤪! Why don't you add it to doowat 🤩?
I've been doing this with my kid and we've had lots of fun 🤪! Why don't you add it to גם 🤩?

> I try to add activities that are short, easy, entertaining, and require little to no preparation.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Existing activities
url: https://github.com/doowat/doowat.github.io/tree/build/src/activities
url: https://github.com/omrilotan/do/tree/build/src/activities
about: Take a look at the list of all existing activities
- name: How to contribute
url: https://github.com/doowat/doowat.github.io/tree/build/CONTRIBUTING.md
url: https://github.com/omrilotan/do/tree/build/CONTRIBUTING.md
about: A really short explenation on contributing to this project
4 changes: 2 additions & 2 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repository:
name: doowat
name: do
description: 😜 On the go activities for you and your child that require no preparations
homepage: https://doowat.net
homepage: https://do.omrilotan.com
topics: pwa, progressive-web-app, activities, on-the-go, parenting
private: false
has_issues: true
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Yay! Contribute to doowat 🎉
# Yay! Contribute to do 🎉

First off, thank you for taking the time to contribute! I appreciate it 🤩

## Make a Suggestion, Relay an Insight, Complain, Open an Issue

Anything you want to say is welcome - as long as you are considerate of other people and express yourself with dignity.

Please try and use one of the [issue templates](https://github.com/doowat/doowat.github.io/issues/new/choose) - Issues help me keep track of tasks, allow an open discussion, and allow me to provide updates.
Please try and use one of the [issue templates](https://github.com/omrilotan/do/issues/new/choose) - Issues help me keep track of tasks, allow an open discussion, and allow me to provide updates.

## Contribute an activity, Contribute code, Open a pull request

### Add an Activity
Activities are stored in a [plain text file](https://github.com/doowat/doowat.github.io/blob/main/src/activities/) - one activity per line. Adding an activity is as simple as adding a line.
Activities are stored in a [plain text file](https://github.com/omrilotan/do/blob/main/src/activities/) - one activity per line. Adding an activity is as simple as adding a line.

Activities are targeted at moments outside the house - when you don't necessarily have any toys or materials on you. The activities require no preparations and can be accomplished in a short time.

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# [doowat](https://doowat.net) [![](https://img.shields.io/github/workflow/status/doowat/doowat.github.io/Publish/build?logo=github&style=flat-square)](https://github.com/doowat/doowat.github.io/actions?query=workflow%3APublish+branch%3Abuild) [![](https://img.shields.io/github/workflow/status/doowat/doowat.github.io/Publish/main?label=pages&logo=github&style=flat-square)](https://github.com/doowat/doowat.github.io/actions?query=workflow%3APublish+branch%3Amain) ![](https://img.shields.io/github/commit-activity/w/doowat/doowat.github.io?style=flat-square&1) ![](https://img.shields.io/uptimerobot/ratio/7/m783966646-c77ee5ccd11a66fe751807af?style=flat-square) ![](https://img.shields.io/github/contributors/doowat/doowat.github.io?style=flat-square)
# [do](https://do.omrilotan.com) [![](https://img.shields.io/github/workflow/status/omrilotan/do/Publish/build?logo=github&style=flat-square)](https://github.com/omrilotan/do/actions?query=workflow%3APublish+branch%3Abuild) [![](https://img.shields.io/github/workflow/status/omrilotan/do/Publish/main?label=pages&logo=github&style=flat-square)](https://github.com/omrilotan/do/actions?query=workflow%3APublish+branch%3Amain) ![](https://img.shields.io/github/commit-activity/w/omrilotan/do?style=flat-square&1) ![](https://img.shields.io/uptimerobot/ratio/7/m783966646-c77ee5ccd11a66fe751807af?style=flat-square) ![](https://img.shields.io/github/contributors/omrilotan/do?style=flat-square)
## do something fun

On the go activities to do with kids that require no preparations. Draw a [random activity](https://doowat.net/random/) 🤪. Save and share your favourites. [Suggest your own 🤩](https://github.com/doowat/doowat.github.io/issues/new/choose).
On the go activities to do with kids that require no preparations. Draw a [random activity](https://do.omrilotan.com/random/) 🤪. Save and share your favourites. [Suggest your own 🤩](https://github.com/omrilotan/do/issues/new/choose).

<p align="center">
<a href="https://doowat.net/random/?ckv={{ cacheKeyVersion }}"><img src="https://user-images.githubusercontent.com/516342/75481509-d4a3b680-59ab-11ea-8262-a76554aff322.png" width="360"></a>
<a href="https://do.omrilotan.com/random/?ckv={{ cacheKeyVersion }}"><img src="https://user-images.githubusercontent.com/516342/75481509-d4a3b680-59ab-11ea-8262-a76554aff322.png" width="360"></a>
</p>
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "doowat",
"name": "do",
"version": "0.0.0",
"private": true,
"description": "entertaining time fillers with kids",
"author": "omrilotan",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/doowat/doowat.github.io.git"
"url": "git+https://github.com/omrilotan/do.git"
},
"homepage": "https://doowat.net",
"homepage": "https://do.omrilotan.com",
"scripts": {
"build": "node lib/build",
"clean": "rimraf docs",
Expand Down
2 changes: 1 addition & 1 deletion scripts/manual-build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
rm -rf docs
git clone -b main --single-branch [email protected]:doowat/doowat.github.io.git docs
git clone -b main --single-branch [email protected]:omrilotan/do.git docs
cd docs
ls -a | grep -v .git | egrep -vU "\.$" | xargs rm -rf
cd ../
Expand Down
4 changes: 2 additions & 2 deletions src/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
<link rel="apple-touch-startup-image" href="/images/splash-1242-2208.png" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="/images/splash-750-1334.png" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="/images/splash-640-1136.png" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="author" href="https://github.com/doowat/doowat.github.io">
<link rel="license" href="https://raw.githubusercontent.com/doowat/doowat.github.io/main/LICENSE">
<link rel="author" href="https://github.com/omrilotan/do">
<link rel="license" href="https://raw.githubusercontent.com/omrilotan/do/main/LICENSE">
<meta name="cache-key-version" content="{{ cacheKeyVersion }}">
2 changes: 1 addition & 1 deletion src/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<a href="/outdoors/">Outdoors</a>
<a href="/indoors/">Indoors</a>
<span>Community</span>
<a href="https://github.com/doowat/doowat.github.io" rel="noreferrer noopener" target="_blank">Source Code</a>
<a href="https://github.com/omrilotan/do" rel="noreferrer noopener" target="_blank">Source Code</a>
<a href="https://discord.gg/qVmJCGe" rel="noreferrer noopener" target="_blank">Chat</a>
</nav>
</template>
2 changes: 1 addition & 1 deletion src/sames/CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
doowat.net
do.omrilotan.com
5 changes: 2 additions & 3 deletions src/sames/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@
</head>
<body>
<main>
<h1><img class="site-title" alt="doowat" src="/images/doowat.svg"></h1>
<header>{{ tagline }}</header>
<h1>{{ tagline }}</h1>
<p>
Draw a <a name="draw" class="link" href="/random/?ckv={{ cacheKeyVersion }}">random activity</a>, out of these {{ size }} "on the go" time fillers, to liven up dead moments. <mark>No preparation required!</mark> Share your favourites. <a href="/suggest/" class="link">Suggest your own</a>.
</p>
{{ play-button }}
<p>
doowat is an <a href="https://github.com/doowat/doowat.github.io" class="link" rel="noreferrer noopener" target="_blank">open source</a> project.
do is an <a href="https://github.com/omrilotan/do" class="link" rel="noreferrer noopener" target="_blank">open source</a> project.
</p>
</main>
{{ nav }}
Expand Down
4 changes: 2 additions & 2 deletions src/sames/glossary/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
</head>
<body>
<main>
<header>
<h1>
{{ size }} Activities
</header>
</h1>
<div class="cards">
{{ cards }}
</div>
Expand Down
3 changes: 1 addition & 2 deletions src/sames/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
</head>
<body>
<article class="web-only">
<h1><img class="site-title" alt="doowat" src="/images/doowat.svg"></h1>
do something fun
<h1>do something fun</h1>
<p>{{ tagline }}</p>
<img class="clickthis" style="width: 3em; height: 3em;" loading="lazy" src="/images/clickthis.png">
{{ play-button }}
Expand Down
2 changes: 1 addition & 1 deletion src/sames/offline/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<article>
<h1>Offline</h1>
<h2>😭</h2>
Try and think of something new to do. <a href="/suggest" class="link">Add it to doowat</a> if it works out!
Try and think of something new to do. <a href="/suggest" class="link">Add it to do</a> if it works out!
{{ play-button }}
</article>
<script src="/scripts.js?ckv={{ cacheKeyVersion }}"></script>
Expand Down
3 changes: 1 addition & 2 deletions src/sames/splash/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
</head>
<body>
<main style="text-align:center">
<h1><img class="site-title" alt="doowat" src="/images/doowat.svg"></h1>
{{ tagline }}
<h1>{{ tagline }}</h1>
{{ play-button }}
</main>
<script src="/scripts.js?ckv={{ cacheKeyVersion }}"></script>
Expand Down
7 changes: 2 additions & 5 deletions src/sames/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,18 +147,15 @@ main {
article {
padding: 2em var(--margin-unit) var(--margin-unit);
}
header {
font-size: 1em;
margin-bottom: var(--margin-unit);
}
.site-title {
width: 80vw;
max-width: 4em;
}
h1 {
width: 90vw;
font-size: 2.1em;
font-size: 1em;
text-align: center;
margin-bottom: var(--margin-unit);
}
p {
font-size: .6em;
Expand Down
4 changes: 0 additions & 4 deletions src/sames/styles/suggest.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
--transition-suggest-form-elements: none;
}
}
header {
width: 100%;
text-align: center;
}
div {
width: 100%;
overflow: hidden;
Expand Down
10 changes: 5 additions & 5 deletions src/sames/suggest/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
</head>
<body>
<main>
<header>
<h1>
Make a suggestion
</header>
</h1>
<div>
<form>
<textarea name="Suggest a new activity" placeholder="Think of new activities together" aria-required="true"></textarea>
Expand All @@ -25,14 +25,14 @@
{{ play-button }}
<p>
Other ways to contribute include
<a href="https://github.com/doowat/doowat.github.io/issues/new/choose" class="link" rel="noreferrer noopener" target="_blank">Opening an issue</a>. <a href="https://discord.gg/qVmJCGe" class="link" rel="noreferrer noopener" target="_blank">Participating in the discussion</a>. <a href="https://github.com/doowat/doowat.github.io" class="link" rel="noreferrer noopener" target="_blank">Following this project's progress</a>.
<a href="https://github.com/omrilotan/do/issues/new/choose" class="link" rel="noreferrer noopener" target="_blank">Opening an issue</a>. <a href="https://discord.gg/qVmJCGe" class="link" rel="noreferrer noopener" target="_blank">Participating in the discussion</a>. <a href="https://github.com/omrilotan/do" class="link" rel="noreferrer noopener" target="_blank">Following this project's progress</a>.
</p>
</main>
{{ nav }}
<template name="thanks">
<header>
<h1>
Thanks
</header>
</h1>
</template>
<script src="/scripts.js?ckv={{ cacheKeyVersion }}"></script>
<script src="/scripts/suggest.js?ckv={{ cacheKeyVersion }}"></script>
Expand Down
4 changes: 2 additions & 2 deletions src/scripts/suggest.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ import random from './random/index.js';
const div = document.querySelector('div');
div.style.height = div.offsetHeight + 'px';
setTimeout(() => { div.style.height = '0px'; }, 200);
const header = document.querySelector('header');
header.parentNode.replaceChild(document.querySelector('template[name="thanks"]').content, header);
const h1 = document.querySelector('h1');
h1.parentNode.replaceChild(document.querySelector('template[name="thanks"]').content, h1);
}

const username = () => [ random(adjectives), random(animals) ].join(' ');
Expand Down

0 comments on commit 038eb92

Please sign in to comment.