edge-city

#react#js#ssr

git clone https://git.pyrossh.dev/edge-city

edge-city is a next level meta-framework for react that runs only on edge runtimes


example/src/pages/todos/Todo.css
.todo {
  display: flex;
  border-bottom-width: 1px;
  border-color: #d1d5db;
  align-items: center;
  height: 4rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;

  & .text {
    display: flex;
    flex: 1;
    flex-direction: column;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    margin-left: 0.5rem;
  }

  & form {
    display: flex;
    flex: 1;

    & .text-input {
      display: flex;
      flex: 1;
      margin-right: 0.5rem;
    }
  }

  & .timestamp {
    line-height: 2;
    opacity: 0.5;
    font-size: 0.75rem;
  }

  & .edit-button {
    padding: 0.5rem;
    margin-right: 0.5rem;
  }

  & .delete-button {
    padding: 0.5rem;
  }
}