Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
shiro committed Apr 3, 2024
1 parent 2ed91ca commit 9c9c486
Show file tree
Hide file tree
Showing 16 changed files with 157 additions and 1,307 deletions.
14 changes: 3 additions & 11 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ const SSRMapPlugin = (): PluginOption => {
importPath += ".tsx";
return { ...acc, [importName]: importPath };
},
{},
{}
);

for (const [importName, importPath] of Object.entries(importMap)) {
exportCode = exportCode.replaceAll(
new RegExp(`${importName}(?=[^a-zA-Z0-9])`, "g"),
`"${importPath}"`,
`"${importPath}"`
);
}

Expand Down Expand Up @@ -108,10 +108,6 @@ export default defineConfig({
// autoname: true,
// locator: {
// key: "Shift",
// targetIDE: (s: any) => {
// console.log("GOT", s);
// return "http://google.com";
// },
// componentLocation: true,
// jsxLocation: true,
// } as any,
Expand Down Expand Up @@ -152,11 +148,7 @@ export default defineConfig({
],
}),
linariaVitePlugin({
include: [
/\/src\//,
// /\/core\//,
// /\/packages\/server\/pdf\//,
],
include: [/\/src\//],
exclude: [
/solid-refresh/,
/\/@babel\/runtime\//,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"babel-plugin-transform-remove-imports": "1.7.1",
"classnames": "2.5.1",
"cssnano": "6.1.2",
"postcss-preset-env": "9.5.3",
"postcss-preset-env": "9.5.4",
"postcss-pxtorem": "6.1.0",
"rehype-raw": "7.0.0",
"remark-shiki-twoslash": "^3.1.3",
Expand Down
1 change: 0 additions & 1 deletion src/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ interface Props {

const Header: Component<Props> = (props) => {
const location = useLocation();
console.log(location.pathname);

const activeSection = $derefMemo(
createMemo(() => {
Expand Down
3 changes: 2 additions & 1 deletion src/about/AboutSite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const AboutSite: Component<Props> = (props) => {
</div>
</div>
<LabeledBox label="general" style={{ "grid-area": "general" }}>
<ul class="flex min-h-full flex-col justify-center gap-1">
<ul class="flex min-h-full flex-col gap-1">
<li class="flex gap-2 text-nowrap xs:text-h3 s:text-body">
<IconText icon="github" />
<a href="https://github.com/shiro">github.com/shiro</a>
Expand Down Expand Up @@ -123,6 +123,7 @@ const _AboutSite = css`
}
${breakpointUntil("s")} {
justify-items: stretch;
column-gap: 32px !important;
grid-template:
"name name" auto
"picture title" auto
Expand Down
Loading

0 comments on commit 9c9c486

Please sign in to comment.