Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the naming #58

Merged
merged 3 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div align="center">

**🪪 Turn your smartphone into a name card**
**📇 Turn your smartphone into a name card**

[![GitHub Release](https://img.shields.io/github/v/release/5ouma/mobicard?style=flat-square)](https://github.com/5ouma/mobicard/releases)
<br />
Expand Down Expand Up @@ -49,7 +49,7 @@
1. Clone this repository

```sh
git clone https://github.com/5ouma/reproxy.git
git clone https://github.com/5ouma/mobicard.git
```

2. Copy the [`meta.tmpl.json`] to `meta.json` and edit as you prefer
Expand Down
2 changes: 1 addition & 1 deletion src/components/Access/Access.stories.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Access from "./Access.astro";
import * as stories from "./story.ts";
import * as stories from "./stories.ts";

export default {
title: "Homepage and Email",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Access/Access.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { describe, expect, test } from "vitest";

import Access from "./Access.astro";
import type { Props } from "./Access.astro";
import * as stories from "./story.ts";
import * as stories from "./stories.ts";

describe("Access", () => {
describe("Valid URL", () => {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/Bio/Bio.stories.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Bio from "./Bio.astro";
import * as stories from "./story.ts";
import * as stories from "./stories.ts";

export default {
title: "Bio",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Bio/Bio.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { experimental_AstroContainer as AstroContainer } from "astro/container";
import { describe, expect, test } from "vitest";

import Bio from "./Bio.astro";
import * as stories from "./story.ts";
import * as stories from "./stories.ts";

describe("Bio", () => {
for (const [name, props] of Object.entries(stories)) {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/Card/Card.stories.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Card from "./Card.astro";
import * as stories from "./story.ts";
import * as stories from "./stories.ts";

export default {
title: "Card",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Card/Card.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { describe, expect, test } from "vitest";

import Card from "./Card.astro";
import type { Props } from "./Card.astro";
import * as stories from "./story.ts";
import * as stories from "./stories.ts";

describe("Card", () => {
describe("Valid URL", () => {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/SNS/SNS.stories.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SNS from "./SNS.astro";
import * as stories from "./story.ts";
import * as stories from "./stories.ts";

export default {
title: "SNS Links",
Expand Down
2 changes: 1 addition & 1 deletion src/components/SNS/SNS.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { experimental_AstroContainer as AstroContainer } from "astro/container";
import { describe, expect, test } from "vitest";

import SNS from "./SNS.astro";
import * as stories from "./story.ts";
import * as stories from "./stories.ts";

describe("SNS", () => {
describe("Valid service and ID", () => {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const { title, description, icon } = Astro.props;
<!doctype html>
<!---

Mobicard created by @5ouma
📇 Mobicard created by @5ouma
https://github.com/5ouma/mobicard

- 🚀 Built with Astro
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`Index 1`] = `
"<!---

Mobicard created by @5ouma
📇 Mobicard created by @5ouma
https://github.com/5ouma/mobicard

- 🚀 Built with Astro
Expand Down
2 changes: 1 addition & 1 deletion src/test/index.test.ts → tests/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { experimental_AstroContainer as AstroContainer } from "astro/container";
import { expect, test } from "vitest";

import Index from "../pages/index.astro";
import Index from "../src/pages/index.astro";

test("Index", async () => {
const container: AstroContainer = await AstroContainer.create();
Expand Down