Skip to content

Commit

Permalink
bump: v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cnguu committed Sep 14, 2021
1 parent 9e122c5 commit 10e071c
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 22 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021-present, cnguu, activity-page
Copyright (c) 2021-present, cnguu, static-page-template

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<h1 align="center">Activity Page</h1>
<h1 align="center">Static Page Template</h1>

<div align="center">

[![MIT](https://img.shields.io/github/license/spider-nest/activity-page)](https://cdn.jsdelivr.net/gh/spider-nest/activity-page@main/LICENSE)
[![Release](https://img.shields.io/github/v/release/spider-nest/activity-page)](https://github.com/spider-nest/activity-page/releases/latest)
[![MIT](https://img.shields.io/github/license/spider-nest/static-page-template)](https://cdn.jsdelivr.net/gh/spider-nest/static-page-template@main/LICENSE)
[![Release](https://img.shields.io/github/v/release/spider-nest/static-page-template)](https://github.com/spider-nest/static-page-template/releases/latest)

</div>
1 change: 0 additions & 1 deletion globals.d.ts

This file was deleted.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "activity-page",
"version": "0.0.3",
"description": "Activity page template for svelte",
"name": "static-page-template",
"version": "1.0.0",
"description": "Static web page generation template for svelte",
"keywords": [
"svelte",
"template",
"kit",
"svelte-template",
"svelte-kit",
"activity-page"
"static-page"
],
"author": {
"name": "cnguu",
Expand All @@ -29,10 +29,10 @@
"reload": "rimraf yarn.lock && rimraf package.lock.json && yarn clean:lib && yarn",
"prepare": "husky install"
},
"repository": "https://github.com/spider-nest/activity-page.git",
"homepage": "https://github.com/spider-nest/activity-page",
"repository": "https://github.com/spider-nest/static-page-template.git",
"homepage": "https://github.com/spider-nest/static-page-template",
"bugs": {
"url": "https://github.com/spider-nest/activity-page/issues"
"url": "https://github.com/spider-nest/static-page-template/issues"
},
"license": "MIT",
"type": "module",
Expand Down
2 changes: 2 additions & 0 deletions src/configs/app.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
// eslint-disable-next-line no-undef
export const basePath = __BASE_URL__;

export const appName = "Static Page Template";
11 changes: 8 additions & 3 deletions src/routes/__error.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,24 @@
<script>
import { dev } from "$app/env";
import { appName } from "$configs/app";
export let status;
export let error;
export let title;
</script>

<svelte:head>
<meta name="description" content="Activity page template for svelte" />
<meta
name="description"
content="Static web page generation template for svelte"
/>
<meta
name="keywords"
content="svelte,template,kit,svelte-template,svelte-kit,activity-page"
content="svelte,template,kit,svelte-template,svelte-kit,static-page"
/>
<meta name="author" content="cnguu" />
<title>{title}</title>
<title>{appName} - {title}</title>
</svelte:head>

<h1>{status}</h1>
Expand Down
15 changes: 11 additions & 4 deletions src/routes/about.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
<script>
import { appName } from "$configs/app";
</script>

<svelte:head>
<meta name="description" content="Activity page template for svelte" />
<meta
name="description"
content="Static web page generation template for svelte"
/>
<meta
name="keywords"
content="svelte,template,kit,svelte-template,svelte-kit,activity-page"
content="svelte,template,kit,svelte-template,svelte-kit,static-page"
/>
<meta name="author" content="cnguu" />
<title>About</title>
<title>{appName} - About</title>
</svelte:head>

<div class="content">
Expand All @@ -17,7 +24,7 @@
the prompts:
</p>

<pre>npm init svelte@next</pre>
<pre>yarn && yarn dev</pre>

<p>
The page you're looking at is purely static HTML, with no client-side
Expand Down
11 changes: 8 additions & 3 deletions src/routes/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,22 @@
import Counter from "$components/counter/Counter.svelte";
import { appName } from "$configs/app";
import "$styles/routes/index.less";
</script>

<svelte:head>
<meta name="description" content="Activity page template for svelte" />
<meta
name="description"
content="Static web page generation template for svelte"
/>
<meta
name="keywords"
content="svelte,template,kit,svelte-template,svelte-kit,activity-page"
content="svelte,template,kit,svelte-template,svelte-kit,static-page"
/>
<meta name="author" content="cnguu" />
<title>Activity Page</title>
<title>{appName}</title>
</svelte:head>

<section>
Expand Down
2 changes: 2 additions & 0 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import postcssPxToRem from "postcss-pxtorem";

const ifDev = process.env.NODE_ENV === "development";

// Deploy your site under a sub path
const basePath = ifDev ? "" : "/test";
// Deploy assets under a CDN or other
const assetsPath = ifDev ? "" : "https://res.ijunhai.com";
const appDir = ifDev ? "_app" : "wechat";

Expand Down

0 comments on commit 10e071c

Please sign in to comment.