This commit is contained in:
ritz078 committed 2019-07-19 01:55:54 +05:30
1 parent 221f41486b
commit a263f3387a
4 files changed
+11 -5

No files matched your search

+5 -2
View File
@@ -77,7 +77,11 @@ export const SvgConverter: React.FunctionComponent<SvgConverterProps> = ({
<Pane display="flex" flexDirection="row" flex={1}>
<Pane display={"flex"} flex={1} position="relative">
<img
style={{ flex: 1, width: "100%" }}
style={{
flex: 1,
width: "100%",
borderRight: "1px solid #eee"
}}
src={svgToDataUrl(value)}
alt="original"
/>
@@ -97,7 +101,6 @@ export const SvgConverter: React.FunctionComponent<SvgConverterProps> = ({
<img
style={{
flex: 1,
borderLeft: "1px solid #eee",
width: "100%"
}}
src={svgToDataUrl(optimizedValue)}
+1 -1
View File
@@ -1,7 +1,7 @@
{
"version": 2,
"name": "transform",
"alias": "https://transform.tools",
"alias": "transform.tools",
"builds": [{ "src": "package.json", "use": "@now/static-build" }],
"routes": [
{
+3 -1
View File
@@ -85,7 +85,9 @@ export default function App({ Component, pageProps }) {
return (
<Container>
<title>{activeRoute && activeRoute.searchTerm}</title>
<title>
{activeRoute && (activeRoute.title || activeRoute.searchTerm)}
</title>
<meta name="description" content={activeRoute && activeRoute.desc} />
<Pane
display="flex"
+2 -1
View File
@@ -10,7 +10,8 @@ export const categorizedRoutes = [
label: "to JSX",
path: "/",
packageName: "@svgr/core",
packageUrl: "https://github.com/smooth-code/svgr"
packageUrl: "https://github.com/smooth-code/svgr",
title: "Transform | A polyglot web converter."
},
{
label: "to React Native",